diff --git a/Assets/Editor/Icons/Components/Disabled/HttpClientComponent_white.png b/Assets/Editor/Icons/Components/Disabled/HttpClientComponent_white.png
deleted file mode 100644
index 12b5be2ccc..0000000000
--- a/Assets/Editor/Icons/Components/Disabled/HttpClientComponent_white.png
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bfc2ef8c6dbf2fba078e27e4e94384099e090468e679327dd826a5cbf22b04ed
-size 1019
diff --git a/Assets/Editor/Icons/Components/HttpClientComponent.png b/Assets/Editor/Icons/Components/HttpClientComponent.png
deleted file mode 100644
index 7a619a5a59..0000000000
--- a/Assets/Editor/Icons/Components/HttpClientComponent.png
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:708b12d41229afab78e0f7d59097ae3de855fea8525a920c5c214fc0ce79f1bd
-size 1209
diff --git a/Assets/Editor/Icons/Components/Viewport/HttpClientComponent.png b/Assets/Editor/Icons/Components/Viewport/HttpClientComponent.png
deleted file mode 100644
index 16e4917180..0000000000
--- a/Assets/Editor/Icons/Components/Viewport/HttpClientComponent.png
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:fab63af9b50790dca25330058e70517987ea8bf11c00f9353dd951ebdbd1dbe5
-size 5008
diff --git a/Assets/Editor/Translation/scriptcanvas_en_us.ts b/Assets/Editor/Translation/scriptcanvas_en_us.ts
index 6d436b7caf..5af338426c 100644
--- a/Assets/Editor/Translation/scriptcanvas_en_us.ts
+++ b/Assets/Editor/Translation/scriptcanvas_en_us.ts
@@ -49513,106 +49513,6 @@ An Entity can be selected by using the pick button, or by dragging an Entity fro
-
- Handler: HttpClientComponentNotificationBus
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_NAME
- HttpClientComponentNotificationBus
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_CATEGORY
- Networking
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_NAME
- Class/Bus: HttpClientComponentNotificationBus Event/Method: OnHttpRequestSuccess
- OnHttpRequestSuccess
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_CATEGORY
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUT_NAME
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUT_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_IN_NAME
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_IN_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUTPUT0_NAME
- Simple Type: Number C++ Type: int
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUTPUT0_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUTPUT1_NAME
- Simple Type: String C++ Type: AZStd::basic_string<char, AZStd::char_traits<char>, allocator>
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTSUCCESS_OUTPUT1_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_NAME
- Class/Bus: HttpClientComponentNotificationBus Event/Method: OnHttpRequestFailure
- OnHttpRequestFailure
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_CATEGORY
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_OUT_NAME
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_OUT_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_IN_NAME
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_IN_TOOLTIP
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_OUTPUT0_NAME
- Simple Type: Number C++ Type: int
-
-
-
- HANDLER_HTTPCLIENTCOMPONENTNOTIFICATIONBUS_ONHTTPREQUESTFAILURE_OUTPUT0_TOOLTIP
-
-
-
Handler: InputEventNotificationBus
@@ -69850,477 +69750,6 @@ The element is removed from its current parent and added as a child of the new p
The name of the action triggered when the interactive element is released
-
- EBus: ForceVolumeRequestBus
-
- FORCEVOLUMEREQUESTBUS_NAME
- ForceVolumeRequestBus
-
-
- FORCEVOLUMEREQUESTBUS_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_CATEGORY
- Physics
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetAirDensity
- SetAirDensity
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRDENSITY_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetAirResistance
- GetAirResistance
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUTPUT0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetForceMassDependent
- GetForceMassDependent
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_OUTPUT0_NAME
- C++ Type: bool
- Boolean
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMASSDEPENDENT_OUTPUT0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetAirResistance
- SetAirResistance
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- FORCEVOLUMEREQUESTBUS_SETAIRRESISTANCE_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetAirDensity
- GetAirDensity
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- FORCEVOLUMEREQUESTBUS_GETAIRDENSITY_OUTPUT0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetForceMode
- GetForceMode
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_OUTPUT0_NAME
- C++ Type: int
- Number
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMODE_OUTPUT0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetForceMagnitude
- GetForceMagnitude
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEMAGNITUDE_OUTPUT0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetForceMode
- SetForceMode
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_PARAM0_NAME
- Simple Type: Number C++ Type: int
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMODE_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetForceMagnitude
- SetForceMagnitude
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMAGNITUDE_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetForceMassDependent
- SetForceMassDependent
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_PARAM0_NAME
- Simple Type: Boolean C++ Type: bool
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEMASSDEPENDENT_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: SetForceDirection
- SetForceDirection
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_PARAM0_NAME
- Simple Type: Vector3 C++ Type: const Vector3&
-
-
-
- FORCEVOLUMEREQUESTBUS_SETFORCEDIRECTION_PARAM0_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_NAME
- Class/Bus: ForceVolumeRequestBus Event/Method: GetForceDirection
- GetForceDirection
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_CATEGORY
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_OUT_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_OUT_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_IN_NAME
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_IN_TOOLTIP
-
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_OUTPUT0_NAME
- C++ Type: const Vector3&
- Vector3
-
-
- FORCEVOLUMEREQUESTBUS_GETFORCEDIRECTION_OUTPUT0_TOOLTIP
-
-
-
Handler: UiDraggableNotificationBus
@@ -73360,553 +72789,6 @@ The element is removed from its current parent and added as a child of the new p
The absolute position where the entity should spawn
-
- EBus: WindVolumeRequestBus
-
- WINDVOLUMEREQUESTBUS_NAME
- Wind Volume
-
-
- WINDVOLUMEREQUESTBUS_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_CATEGORY
- Physics (Legacy)
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetVolumeSize
- Get Volume Size
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_OUTPUT0_NAME
- C++ Type: const Vector3&
- Vector3
-
-
- WINDVOLUMEREQUESTBUS_GETVOLUMESIZE_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetAirResistance
- Get Air Resistance
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- WINDVOLUMEREQUESTBUS_GETAIRRESISTANCE_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetAirResistance
- Set Air Resistance
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRRESISTANCE_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetAirDensity
- Get Air Density
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- WINDVOLUMEREQUESTBUS_GETAIRDENSITY_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetSpeed
- Get Speed
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- WINDVOLUMEREQUESTBUS_GETSPEED_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetWindDirection
- Set Wind Direction
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_PARAM0_NAME
- Simple Type: Vector3 C++ Type: const Vector3&
-
-
-
- WINDVOLUMEREQUESTBUS_SETWINDDIRECTION_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetWindDirection
- Get Wind Direction
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_OUTPUT0_NAME
- C++ Type: const Vector3&
- Vector3
-
-
- WINDVOLUMEREQUESTBUS_GETWINDDIRECTION_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetSpeed
- Set Speed
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- WINDVOLUMEREQUESTBUS_SETSPEED_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetVolumeSize
- Set Volume Size
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_PARAM0_NAME
- Simple Type: Vector3 C++ Type: const Vector3&
-
-
-
- WINDVOLUMEREQUESTBUS_SETVOLUMESIZE_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetEllipsoidal
- Get Ellipsoidal
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_OUTPUT0_NAME
- C++ Type: bool
- Boolean
-
-
- WINDVOLUMEREQUESTBUS_GETELLIPSOIDAL_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: GetFalloffInner
- Get Falloff Inner
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_OUTPUT0_NAME
- C++ Type: float
- Number
-
-
- WINDVOLUMEREQUESTBUS_GETFALLOFFINNER_OUTPUT0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetEllipsoidal
- Set Ellipsoidal
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_PARAM0_NAME
- Simple Type: Boolean C++ Type: bool
-
-
-
- WINDVOLUMEREQUESTBUS_SETELLIPSOIDAL_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetFalloffInner
- Set Falloff Inner
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- WINDVOLUMEREQUESTBUS_SETFALLOFFINNER_PARAM0_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_NAME
- Class/Bus: WindVolumeRequestBus Event/Method: SetAirDensity
- Set Air Density
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_CATEGORY
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_OUT_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_OUT_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_IN_NAME
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_IN_TOOLTIP
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_PARAM0_NAME
- Simple Type: Number C++ Type: float
-
-
-
- WINDVOLUMEREQUESTBUS_SETAIRDENSITY_PARAM0_TOOLTIP
-
-
-
EBus: ActorComponentNotificationBus
@@ -79046,77 +77928,6 @@ The element is removed from its current parent and added as a child of the new p
-
- EBus: HttpClientComponentRequestBus
-
- HTTPCLIENTCOMPONENTREQUESTBUS_NAME
- HttpClientComponentRequestBus
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_CATEGORY
- Networking
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_NAME
- Class/Bus: HttpClientComponentRequestBus Event/Method: MakeHttpRequest
- MakeHttpRequest
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_CATEGORY
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_OUT_NAME
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_OUT_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_IN_NAME
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_IN_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM0_NAME
- Simple Type: String C++ Type: AZStd::basic_string<char, AZStd::char_traits<char>, allocator>
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM0_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM1_NAME
- Simple Type: String C++ Type: AZStd::basic_string<char, AZStd::char_traits<char>, allocator>
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM1_TOOLTIP
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM2_NAME
- Simple Type: String C++ Type: AZStd::basic_string<char, AZStd::char_traits<char>, allocator>
-
-
-
- HTTPCLIENTCOMPONENTREQUESTBUS_MAKEHTTPREQUEST_PARAM2_TOOLTIP
-
-
-
Handler: AWSBehaviorURLNotificationsBus
diff --git a/CMakeLists.txt b/CMakeLists.txt
index efcc866195..3f9f56a606 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,51 +44,11 @@ include(cmake/SettingsRegistry.cmake)
include(cmake/TestImpactFramework/LYTestImpactFramework.cmake)
include(cmake/CMakeFiles.cmake)
include(cmake/O3DEJson.cmake)
+include(cmake/Subdirectories.cmake)
-################################################################################
-# Subdirectory processing
-################################################################################
-
-# this function is building up the LY_EXTERNAL_SUBDIRS global property
-function(add_engine_gem_json_external_subdirectories gem_path)
- set(gem_json_path ${gem_path}/gem.json)
- if(EXISTS ${gem_json_path})
- read_json_external_subdirs(gem_external_subdirs ${gem_path}/gem.json)
- foreach(gem_external_subdir ${gem_external_subdirs})
- file(REAL_PATH ${gem_external_subdir} real_external_subdir BASE_DIRECTORY ${gem_path})
- set_property(GLOBAL APPEND PROPERTY LY_EXTERNAL_SUBDIRS ${real_external_subdir})
- add_engine_gem_json_external_subdirectories(${real_external_subdir})
- endforeach()
- endif()
-endfunction()
-
-function(add_engine_json_external_subdirectories)
- read_json_external_subdirs(engine_external_subdirs ${LY_ROOT_FOLDER}/engine.json)
- foreach(engine_external_subdir ${engine_external_subdirs})
- file(REAL_PATH ${engine_external_subdir} real_external_subdir BASE_DIRECTORY ${LY_ROOT_FOLDER})
- set_property(GLOBAL APPEND PROPERTY LY_EXTERNAL_SUBDIRS ${real_external_subdir})
- add_engine_gem_json_external_subdirectories(${real_external_subdir})
- endforeach()
-endfunction()
-
-function(add_subdirectory_on_externalsubdirs)
- get_property(external_subdirs GLOBAL PROPERTY LY_EXTERNAL_SUBDIRS)
- list(APPEND LY_EXTERNAL_SUBDIRS ${external_subdirs})
- # Loop over the additional external subdirectories and invoke add_subdirectory on them
- foreach(external_directory ${LY_EXTERNAL_SUBDIRS})
- # Hash the external_directory name and append it to the Binary Directory section of add_subdirectory
- # This is to deal with potential situations where multiple external directories has the same last directory name
- # For example if D:/Company1/RayTracingGem and F:/Company2/Path/RayTracingGem were both added as a subdirectory
- file(REAL_PATH ${external_directory} full_directory_path)
- string(SHA256 full_directory_hash ${full_directory_path})
- # Truncate the full_directory_hash down to 8 characters to avoid hitting the Windows 260 character path limit
- # when the external subdirectory contains relative paths of significant length
- string(SUBSTRING ${full_directory_hash} 0 8 full_directory_hash)
- # Use the last directory as the suffix path to use for the Binary Directory
- get_filename_component(directory_name ${external_directory} NAME)
- add_subdirectory(${external_directory} ${CMAKE_BINARY_DIR}/External/${directory_name}-${full_directory_hash})
- endforeach()
-endfunction()
+# Gather the list of o3de_manifest external Subdirectories
+# into the LY_EXTERNAL_SUBDIRS_O3DE_MANIFEST_PROPERTY
+add_o3de_manifest_json_external_subdirectories()
# Add the projects first so the Launcher can find them
include(cmake/Projects.cmake)
@@ -99,9 +59,11 @@ endif()
if(NOT INSTALLED_ENGINE)
# Add external subdirectories listed in the engine.json. LY_EXTERNAL_SUBDIRS is a cache variable so the user can add extra
- # external subdirectories. This should go before adding the rest of the targets so the targets are availbe to the launcher.
+ # external subdirectories. This should go before adding the rest of the targets so the targets are available to the launcher.
add_engine_json_external_subdirectories()
- add_subdirectory_on_externalsubdirs()
+
+ # Invoke add_subdirectory on external subdirectories that should be used a this point
+ add_subdirectory_on_external_subdirs()
# Add the rest of the targets
add_subdirectory(Assets)
@@ -114,7 +76,7 @@ if(NOT INSTALLED_ENGINE)
else()
ly_find_o3de_packages()
- add_subdirectory_on_externalsubdirs()
+ add_subdirectory_on_external_subdirs()
endif()
################################################################################
diff --git a/Code/Editor/AzAssetBrowser/AssetBrowserWindow.cpp b/Code/Editor/AzAssetBrowser/AssetBrowserWindow.cpp
deleted file mode 100644
index 1a45d1e391..0000000000
--- a/Code/Editor/AzAssetBrowser/AssetBrowserWindow.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-#include "AzAssetBrowserWindow.h"
-#include "AzAssetBrowser/ui_AssetBrowserWindow.h"
-
-#include
-#include
-#include
-#include
-#include
-
-const char* ASSET_BROWSER_PREVIEW_NAME = "Asset Browser (PREVIEW)";
-
-AzAssetBrowserWindow::AzAssetBrowserWindow(const QString& name, QWidget* parent)
- : QDialog(parent)
- , m_ui(new Ui::AssetBrowserWindowClass())
- , m_assetDatabaseSortFilterProxyModel(new AssetBrowser::UI::SortFilterProxyModel(parent))
- , m_name(name)
- , m_assetBrowser(new AssetBrowser::UI::AssetTreeView(name, this))
- {
- EBUS_EVENT_RESULT(m_assetBrowserModel, AssetBrowser::AssetCache::AssetCacheRequestsBus, GetAssetBrowserModel);
- AZ_Assert(m_assetBrowserModel, "Failed to get filebrowser model");
- m_assetDatabaseSortFilterProxyModel->setSourceModel(m_assetBrowserModel);
-
- m_ui->setupUi(this);
-
- connect(m_ui->searchCriteriaWidget,
- &AzToolsFramework::SearchCriteriaWidget::SearchCriteriaChanged,
- m_assetDatabaseSortFilterProxyModel.data(),
- &AssetBrowser::UI::SortFilterProxyModel::OnSearchCriteriaChanged);
-
- connect(m_assetBrowser, &QTreeView::customContextMenuRequested, this, &AzAssetBrowserWindow::OnContextMenu);
- }
-
- AzAssetBrowserWindow::~AzAssetBrowserWindow()
- {
- m_assetBrowser->SaveState();
- }
-
- //////////////////////////////////////////////////////////////////////////
- const AZ::Uuid& AzAssetBrowserWindow::GetClassID()
- {
- return AZ::AzTypeInfo::Uuid();
- }
-
- void AzAssetBrowserWindow::OnContextMenu(const QPoint& point)
- {
- (void)point;
- //get the selected entries
- QModelIndexList sourceIndexes;
- for (const auto& index : m_assetBrowser->selectedIndexes())
- {
- sourceIndexes.push_back(m_assetDatabaseSortFilterProxyModel->mapToSource(index));
- }
- AZStd::vector entries;
- m_assetBrowserModel->SourceIndexesToAssetDatabaseEntries(sourceIndexes, entries);
-
- if (entries.empty() || entries.size() > 1)
- {
- return;
- }
- auto entry = entries.front();
-
- EBUS_EVENT(AssetBrowser::AssetBrowserRequestBus::Bus, OnItemContextMenu, this, entry);
- }
-
-#include
-
diff --git a/Code/Editor/AzAssetBrowser/AssetBrowserWindow.h b/Code/Editor/AzAssetBrowser/AssetBrowserWindow.h
deleted file mode 100644
index a16cc4b494..0000000000
--- a/Code/Editor/AzAssetBrowser/AssetBrowserWindow.h
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-#pragma once
-
-#if !defined(Q_MOC_RUN)
-#include
-#include
-
-#include
-#endif
-
-namespace Ui
-{
- class AssetBrowserWindowClass;
-}
-
-namespace AssetBrowser
-{
- namespace UI
- {
- class AssetTreeView;
- class SortFilterProxyModel;
- class AssetBrowserModel;
- }
-}
-
-class AzAssetBrowserWindow
- : public QDialog
-{
- Q_OBJECT
-public:
- AZ_CLASS_ALLOCATOR(AzAssetBrowserWindow, AZ::SystemAllocator, 0);
- AZ_TYPE_INFO(AzAssetBrowserWindow, "{20238D23-2670-44BC-9110-A51374C18B5A}");
-
- explicit AzAssetBrowserWindow(const QString& name = "default", QWidget* parent = nullptr);
- virtual ~AzAssetBrowserWindow();
-
- static const AZ::Uuid& GetClassID();
-
-protected Q_SLOTS:
- void OnContextMenu(const QPoint& point);
-
-private:
- QScopedPointer m_ui;
- QScopedPointer m_assetDatabaseModel;
- QScopedPointer m_assetDatabaseSortFilterProxyModel;
- QString m_name;
- AssetBrowser::UI::AssetTreeView* m_assetBrowser;
- AssetBrowser::UI::AssetBrowserModel* m_assetBrowserModel;
-};
-
-extern const char* ASSET_BROWSER_PREVIEW_NAME;
diff --git a/Code/Editor/CVarMenu.cpp b/Code/Editor/CVarMenu.cpp
deleted file mode 100644
index 6449be9b3c..0000000000
--- a/Code/Editor/CVarMenu.cpp
+++ /dev/null
@@ -1,186 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#include "EditorDefs.h"
-
-#include "CVarMenu.h"
-
-CVarMenu::CVarMenu(QWidget* parent)
- : QMenu(parent)
-{
-}
-
-void CVarMenu::AddCVarToggleItem(CVarToggle cVarToggle)
-{
- // Add CVar toggle action
- QAction* action = addAction(cVarToggle.m_displayName);
- connect(action, &QAction::triggered, [this, cVarToggle](bool checked)
- {
- // Update the CVar's value based on the action's new checked state
- ICVar* cVar = gEnv->pConsole->GetCVar(cVarToggle.m_cVarName.toUtf8().data());
- if (cVar)
- {
- SetCVar(cVar, checked ? cVarToggle.m_onValue : cVarToggle.m_offValue);
- }
- });
- action->setCheckable(true);
-
- // Initialize the action's checked state based on the associated CVar's value
- ICVar* cVar = gEnv->pConsole->GetCVar(cVarToggle.m_cVarName.toUtf8().data());
- bool checked = (cVar && cVar->GetFVal() == cVarToggle.m_onValue);
- action->setChecked(checked);
-}
-
-void CVarMenu::AddCVarValuesItem(QString cVarName,
- QString displayName,
- CVarDisplayNameValuePairs availableCVarValues,
- float offValue)
-{
- // Add a submenu offering multiple values for one CVar
- QMenu* menu = addMenu(displayName);
- QActionGroup* group = new QActionGroup(menu);
- group->setExclusive(true);
-
- ICVar* cVar = gEnv->pConsole->GetCVar(cVarName.toUtf8().data());
- float cVarValue = cVar ? cVar->GetFVal() : 0.0f;
- for (const auto& availableCVarValue : availableCVarValues)
- {
- QAction* action = menu->addAction(availableCVarValue.first);
- action->setCheckable(true);
- group->addAction(action);
-
- float availableOnValue = availableCVarValue.second;
- connect(action, &QAction::triggered, [this, action, cVarName, availableOnValue, offValue](bool checked)
- {
- ICVar* cVar = gEnv->pConsole->GetCVar(cVarName.toUtf8().data());
- if (cVar)
- {
- if (!checked)
- {
- SetCVar(cVar, offValue);
- }
- else
- {
- // Toggle the CVar and update the action's checked state to
- // allow none of the items to be checked in the exclusive group.
- // Otherwise we could have just used the action's currently checked
- // state and updated the CVar's value only
- bool cVarOn = (cVar->GetFVal() == availableOnValue);
- checked = !cVarOn;
- SetCVar(cVar, checked ? availableOnValue : offValue);
- action->setChecked(checked);
- }
- }
- });
-
- // Initialize the action's checked state based on the CVar's current value
- bool checked = (cVarValue == availableOnValue);
- action->setChecked(checked);
- }
-}
-
-void CVarMenu::AddUniqueCVarsItem(QString displayName,
- AZStd::vector availableCVars)
-{
- // Add a submenu of actions offering values for unique CVars
- QMenu* menu = addMenu(displayName);
- QActionGroup* group = new QActionGroup(menu);
- group->setExclusive(true);
-
- for (const CVarToggle& availableCVar : availableCVars)
- {
- QAction* action = menu->addAction(availableCVar.m_displayName);
- action->setCheckable(true);
- group->addAction(action);
-
- connect(action, &QAction::triggered, [this, action, availableCVar, availableCVars](bool checked)
- {
- ICVar* cVar = gEnv->pConsole->GetCVar(availableCVar.m_cVarName.toUtf8().data());
- if (cVar)
- {
- if (!checked)
- {
- SetCVar(cVar, availableCVar.m_offValue);
- }
- else
- {
- // Toggle the CVar and update the action's checked state to
- // allow none of the items to be checked in the exclusive group.
- // Otherwise we could have just used the action's currently checked
- // state and updated the CVar's value only
- bool cVarOn = (cVar->GetFVal() == availableCVar.m_onValue);
- bool cVarChecked = !cVarOn;
- SetCVar(cVar, cVarChecked ? availableCVar.m_onValue : availableCVar.m_offValue);
- action->setChecked(cVarChecked);
- if (cVarChecked)
- {
- // Set the rest of the CVars in the group to their off values
- SetCVarsToOffValue(availableCVars, availableCVar);
- }
- }
- }
- });
-
- // Initialize the action's checked state based on its associated CVar's current value
- ICVar* cVar = gEnv->pConsole->GetCVar(availableCVar.m_cVarName.toUtf8().data());
- bool cVarChecked = (cVar && cVar->GetFVal() == availableCVar.m_onValue);
- action->setChecked(cVarChecked);
- if (cVarChecked)
- {
- // Set the rest of the CVars in the group to their off values
- SetCVarsToOffValue(availableCVars, availableCVar);
- }
- }
-}
-
-void CVarMenu::AddResetCVarsItem()
-{
- QAction* action = addAction(tr("Reset to Default"));
- connect(action, &QAction::triggered, this, [this]()
- {
- for (auto it : m_originalCVarValues)
- {
- ICVar* cVar = gEnv->pConsole->GetCVar(it.first.c_str());
- if (cVar)
- {
- cVar->Set(it.second);
- }
- }
- });
-}
-
-void CVarMenu::SetCVarsToOffValue(const AZStd::vector& cVarToggles, const CVarToggle& excludeCVarToggle)
-{
- // Set all but the specified CVars to their off values
- for (const CVarToggle& cVarToggle : cVarToggles)
- {
- if (cVarToggle.m_cVarName != excludeCVarToggle.m_cVarName
- || cVarToggle.m_onValue != excludeCVarToggle.m_onValue)
- {
- ICVar* cVar = gEnv->pConsole->GetCVar(cVarToggle.m_cVarName.toUtf8().data());
- if (cVar)
- {
- SetCVar(cVar, cVarToggle.m_offValue);
- }
- }
- }
-}
-
-void CVarMenu::SetCVar(ICVar* cVar, float newValue)
-{
- float oldValue = cVar->GetFVal();
- cVar->Set(newValue);
-
- // Store original value for CVar if not already in the list
- m_originalCVarValues.emplace(AZStd::string(cVar->GetName()), oldValue);
-}
-
-void CVarMenu::AddSeparator()
-{
- addSeparator();
-}
diff --git a/Code/Editor/CVarMenu.h b/Code/Editor/CVarMenu.h
deleted file mode 100644
index 5195bd99d7..0000000000
--- a/Code/Editor/CVarMenu.h
+++ /dev/null
@@ -1,65 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#pragma once
-
-#include
-#include
-
-#include
-#include
-#include
-#include
-
-struct ICVar;
-
-class CVarMenu
- : public QMenu
-{
- Q_OBJECT
-public:
- // CVar that can be toggled on and off
- struct CVarToggle
- {
- QString m_cVarName;
- QString m_displayName;
- float m_onValue;
- float m_offValue;
- };
-
- // List of a CVar's available values and their descriptions
- using CVarDisplayNameValuePairs = AZStd::vector>;
-
- CVarMenu(QWidget* parent = nullptr);
-
- // Add an action that turns a CVar on/off
- void AddCVarToggleItem(CVarToggle cVarToggle);
-
- // Add a submenu of actions for a CVar that offers multiple values for exclusive selection
- void AddCVarValuesItem(QString cVarName,
- QString displayName,
- CVarDisplayNameValuePairs availableCVarValues,
- float offValue);
-
- // Add a submenu of actions for exclusively turning unique CVars on/off
- void AddUniqueCVarsItem(QString displayName,
- AZStd::vector availableCVars);
-
- // Add an action to reset all CVars to their original values before they
- // were modified by this menu
- void AddResetCVarsItem();
-
- void AddSeparator();
-
-private:
- void SetCVarsToOffValue(const AZStd::vector& cVarToggles, const CVarToggle& excludeCVarToggle);
- void SetCVar(ICVar* cVar, float newValue);
-
- // Original CVar values before they were modified by this menu
- AZStd::unordered_map m_originalCVarValues;
-};
diff --git a/Code/Editor/Commands/CommandManagerBus.h b/Code/Editor/Commands/CommandManagerBus.h
deleted file mode 100644
index a5edceaee8..0000000000
--- a/Code/Editor/Commands/CommandManagerBus.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#pragma once
-
-#include
-
-class CommandManagerRequests : public AZ::EBusTraits
-{
-public:
-
- struct CommandDetails
- {
- AZStd::string m_name;
- AZStd::vector m_arguments;
- };
-
- virtual AZStd::vector GetCommands() const = 0;
- virtual void ExecuteCommand(const AZStd::string& commandLine) {}
-
- virtual void GetCommandDetails(AZStd::string commandName, CommandDetails& outArguments) const = 0;
-
-};
-
-using CommandManagerRequestBus = AZ::EBus;
diff --git a/Code/Editor/ConfigGroup.cpp b/Code/Editor/ConfigGroup.cpp
deleted file mode 100644
index 42236e43dd..0000000000
--- a/Code/Editor/ConfigGroup.cpp
+++ /dev/null
@@ -1,195 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-
-#include "EditorDefs.h"
-
-#include "ConfigGroup.h"
-
-namespace Config
-{
- CConfigGroup::CConfigGroup()
- {
- }
-
- CConfigGroup::~CConfigGroup()
- {
- for (IConfigVar* var : m_vars)
- {
- delete var;
- }
- }
-
- void CConfigGroup::AddVar(IConfigVar* var)
- {
- m_vars.push_back(var);
- }
-
- AZ::u32 CConfigGroup::GetVarCount()
- {
- return aznumeric_cast(m_vars.size());
- }
-
- IConfigVar* CConfigGroup::GetVar(const char* szName)
- {
- for (IConfigVar* var : m_vars)
- {
- if (0 == _stricmp(szName, var->GetName().c_str()))
- {
- return var;
- }
- }
-
- return nullptr;
- }
-
- const IConfigVar* CConfigGroup::GetVar(const char* szName) const
- {
- for (const IConfigVar* var : m_vars)
- {
- if (0 == _stricmp(szName, var->GetName().c_str()))
- {
- return var;
- }
-
- }
-
- return nullptr;
- }
-
- IConfigVar* CConfigGroup::GetVar(AZ::u32 index)
- {
- if (index < m_vars.size())
- {
- return m_vars[index];
- }
-
- return nullptr;
- }
-
- const IConfigVar* CConfigGroup::GetVar(AZ::u32 index) const
- {
- if (index < m_vars.size())
- {
- return m_vars[index];
- }
-
- return nullptr;
- }
-
- void CConfigGroup::SaveToXML(XmlNodeRef node)
- {
- // save only values that don't have default values
- for (const IConfigVar* var : m_vars)
- {
- if (var->IsFlagSet(IConfigVar::eFlag_DoNotSave) || var->IsDefault())
- {
- continue;
- }
-
- const char* szName = var->GetName().c_str();
-
- switch (var->GetType())
- {
- case IConfigVar::eType_BOOL:
- {
- bool currentValue = false;
- var->Get(¤tValue);
- node->setAttr(szName, currentValue);
- break;
- }
-
- case IConfigVar::eType_INT:
- {
- int currentValue = 0;
- var->Get(¤tValue);
- node->setAttr(szName, currentValue);
- break;
- }
-
- case IConfigVar::eType_FLOAT:
- {
- float currentValue = 0;
- var->Get(¤tValue);
- node->setAttr(szName, currentValue);
- break;
- }
-
- case IConfigVar::eType_STRING:
- {
- AZStd::string currentValue;
- var->Get(¤tValue);
- node->setAttr(szName, currentValue.c_str());
- break;
- }
- }
- }
- }
-
- void CConfigGroup::LoadFromXML(XmlNodeRef node)
- {
- // load values that are save-able
- for (IConfigVar* var : m_vars)
- {
- if (var->IsFlagSet(IConfigVar::eFlag_DoNotSave))
- {
- continue;
- }
- const char* szName = var->GetName().c_str();
-
- switch (var->GetType())
- {
- case IConfigVar::eType_BOOL:
- {
- bool currentValue = false;
- var->GetDefault(¤tValue);
- if (node->getAttr(szName, currentValue))
- {
- var->Set(¤tValue);
- }
- break;
- }
-
- case IConfigVar::eType_INT:
- {
- int currentValue = 0;
- var->GetDefault(¤tValue);
- if (node->getAttr(szName, currentValue))
- {
- var->Set(¤tValue);
- }
- break;
- }
-
- case IConfigVar::eType_FLOAT:
- {
- float currentValue = 0;
- var->GetDefault(¤tValue);
- if (node->getAttr(szName, currentValue))
- {
- var->Set(¤tValue);
- }
- break;
- }
-
- case IConfigVar::eType_STRING:
- {
- AZStd::string currentValue;
- var->GetDefault(¤tValue);
- QString readValue(currentValue.c_str());
- if (node->getAttr(szName, readValue))
- {
- currentValue = readValue.toUtf8().data();
- var->Set(¤tValue);
- }
- break;
- }
- }
- }
- }
-}
diff --git a/Code/Editor/ConfigGroup.h b/Code/Editor/ConfigGroup.h
deleted file mode 100644
index 004725e32c..0000000000
--- a/Code/Editor/ConfigGroup.h
+++ /dev/null
@@ -1,113 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-
-#pragma once
-#include
-#include
-#include
-
-struct ICVar;
-class XmlNodeRef;
-
-namespace Config
-{
- // Abstract configurable variable
- struct IConfigVar
- {
- public:
- enum EType
- {
- eType_BOOL,
- eType_INT,
- eType_FLOAT,
- eType_STRING,
- };
-
- enum EFlags
- {
- eFlag_NoUI = 1 << 0,
- eFlag_NoCVar = 1 << 1,
- eFlag_DoNotSave = 1 << 2,
- };
-
- IConfigVar(const char* szName, const char* szDescription, EType varType, AZ::u8 flags)
- : m_name(szName)
- , m_description(szDescription)
- , m_type(varType)
- , m_flags(flags)
- , m_ptr(nullptr)
- {};
-
- virtual ~IConfigVar() = default;
-
- AZ_FORCE_INLINE EType GetType() const
- {
- return m_type;
- }
-
- AZ_FORCE_INLINE const AZStd::string& GetName() const
- {
- return m_name;
- }
-
- AZ_FORCE_INLINE const AZStd::string& GetDescription() const
- {
- return m_description;
- }
-
- AZ_FORCE_INLINE bool IsFlagSet(EFlags flag) const
- {
- return 0 != (m_flags & flag);
- }
-
- virtual void Get(void* outPtr) const = 0;
- virtual void Set(const void* ptr) = 0;
- virtual bool IsDefault() const = 0;
- virtual void GetDefault(void* outPtr) const = 0;
- virtual void Reset() = 0;
-
- static constexpr EType TranslateType(const bool&) { return eType_BOOL; }
- static constexpr EType TranslateType(const int&) { return eType_INT; }
- static constexpr EType TranslateType(const float&) { return eType_FLOAT; }
- static constexpr EType TranslateType(const AZStd::string&) { return eType_STRING; }
-
- protected:
- EType m_type;
- AZ::u8 m_flags;
- AZStd::string m_name;
- AZStd::string m_description;
- void* m_ptr;
- ICVar* m_pCVar;
- };
-
- // Group of configuration variables with optional mapping to CVars
- class CConfigGroup
- {
- private:
- using TConfigVariables = AZStd::vector ;
- TConfigVariables m_vars;
-
- using TConsoleVariables = AZStd::vector;
- TConsoleVariables m_consoleVars;
-
- public:
- CConfigGroup();
- virtual ~CConfigGroup();
-
- void AddVar(IConfigVar* var);
- AZ::u32 GetVarCount();
- IConfigVar* GetVar(const char* szName);
- IConfigVar* GetVar(AZ::u32 index);
- const IConfigVar* GetVar(const char* szName) const;
- const IConfigVar* GetVar(AZ::u32 index) const;
-
- void SaveToXML(XmlNodeRef node);
- void LoadFromXML(XmlNodeRef node);
- };
-};
diff --git a/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.cpp b/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.cpp
deleted file mode 100644
index 4fb18e438c..0000000000
--- a/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#include "EditorDefs.h"
-
-#include "PropertyAnimationCtrl.h"
-
-// Qt
-#include
-#include
-#include
-
-// Editor
-#include "Util/UIEnumerations.h"
-#include "IResourceSelectorHost.h"
-
-AnimationPropertyCtrl::AnimationPropertyCtrl(QWidget *pParent)
- : QWidget(pParent)
-{
- m_animationLabel = new QLabel;
-
- m_pApplyButton = new QToolButton;
- m_pApplyButton->setIcon(QIcon(":/reflectedPropertyCtrl/img/apply.png"));
-
- m_pApplyButton->setFocusPolicy(Qt::StrongFocus);
-
- QHBoxLayout *pLayout = new QHBoxLayout(this);
- pLayout->setContentsMargins(0, 0, 0, 0);
- pLayout->addWidget(m_animationLabel, 1);
- pLayout->addWidget(m_pApplyButton);
-
- connect(m_pApplyButton, &QAbstractButton::clicked, this, &AnimationPropertyCtrl::OnApplyClicked);
-};
-
-AnimationPropertyCtrl::~AnimationPropertyCtrl()
-{
-}
-
-
-void AnimationPropertyCtrl::SetValue(const CReflectedVarAnimation &animation)
-{
- m_animation = animation;
- m_animationLabel->setText(animation.m_animation.c_str());
-}
-
-CReflectedVarAnimation AnimationPropertyCtrl::value() const
-{
- return m_animation;
-}
-
-void AnimationPropertyCtrl::OnApplyClicked()
-{
- QStringList cSelectedAnimations;
- int nTotalAnimations(0);
- int nCurrentAnimation(0);
-
- QString combinedString = GetIEditor()->GetResourceSelectorHost()->GetGlobalSelection("animation");
- SplitString(combinedString, cSelectedAnimations, ',');
-
- nTotalAnimations = cSelectedAnimations.size();
- for (nCurrentAnimation = 0; nCurrentAnimation < nTotalAnimations; ++nCurrentAnimation)
- {
- QString& rstrCurrentAnimAction = cSelectedAnimations[nCurrentAnimation];
- if (!rstrCurrentAnimAction.isEmpty())
- {
- m_animation.m_animation = rstrCurrentAnimAction.toUtf8().data();
- m_animationLabel->setText(m_animation.m_animation.c_str());
- emit ValueChanged(m_animation);
- }
- }
-}
-
-QWidget* AnimationPropertyCtrl::GetFirstInTabOrder()
-{
- return m_pApplyButton;
-}
-QWidget* AnimationPropertyCtrl::GetLastInTabOrder()
-{
- return m_pApplyButton;
-}
-
-void AnimationPropertyCtrl::UpdateTabOrder()
-{
- setTabOrder(m_pApplyButton, m_pApplyButton);
-}
-
-
-QWidget* AnimationPropertyWidgetHandler::CreateGUI(QWidget *pParent)
-{
- AnimationPropertyCtrl* newCtrl = aznew AnimationPropertyCtrl(pParent);
- connect(newCtrl, &AnimationPropertyCtrl::ValueChanged, newCtrl, [newCtrl]()
- {
- EBUS_EVENT(AzToolsFramework::PropertyEditorGUIMessages::Bus, RequestWrite, newCtrl);
- });
- return newCtrl;
-}
-
-
-void AnimationPropertyWidgetHandler::ConsumeAttribute(AnimationPropertyCtrl* GUI, AZ::u32 attrib, AzToolsFramework::PropertyAttributeReader* attrValue, const char* debugName)
-{
- Q_UNUSED(GUI);
- Q_UNUSED(attrib);
- Q_UNUSED(attrValue);
- Q_UNUSED(debugName);
-}
-
-void AnimationPropertyWidgetHandler::WriteGUIValuesIntoProperty(size_t index, AnimationPropertyCtrl* GUI, property_t& instance, AzToolsFramework::InstanceDataNode* node)
-{
- Q_UNUSED(index);
- Q_UNUSED(node);
- CReflectedVarAnimation val = GUI->value();
- instance = static_cast(val);
-}
-
-bool AnimationPropertyWidgetHandler::ReadValuesIntoGUI(size_t index, AnimationPropertyCtrl* GUI, const property_t& instance, AzToolsFramework::InstanceDataNode* node)
-{
- Q_UNUSED(index);
- Q_UNUSED(node);
- CReflectedVarAnimation val = instance;
- GUI->SetValue(val);
- return false;
-}
-
-
-#include
-
diff --git a/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.h b/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.h
deleted file mode 100644
index 6f3e5b44f3..0000000000
--- a/Code/Editor/Controls/ReflectedPropertyControl/PropertyAnimationCtrl.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#ifndef CRYINCLUDE_EDITOR_UTILS_PROPERTYANIMATIONCTRL_H
-#define CRYINCLUDE_EDITOR_UTILS_PROPERTYANIMATIONCTRL_H
-#pragma once
-
-#if !defined(Q_MOC_RUN)
-#include
-#include
-#include
-#include "ReflectedVar.h"
-#include
-#include
-#endif
-
-class QToolButton;
-class QLabel;
-class QHBoxLayout;
-
-class AnimationPropertyCtrl
- : public QWidget
-{
- Q_OBJECT
-public:
- AZ_CLASS_ALLOCATOR(AnimationPropertyCtrl, AZ::SystemAllocator, 0);
-
- AnimationPropertyCtrl(QWidget* pParent = nullptr);
- virtual ~AnimationPropertyCtrl();
-
- CReflectedVarAnimation value() const;
-
- QWidget* GetFirstInTabOrder();
- QWidget* GetLastInTabOrder();
- void UpdateTabOrder();
-
-signals:
- void ValueChanged(CReflectedVarAnimation value);
-
-public slots:
- void SetValue(const CReflectedVarAnimation& animation);
-
-protected slots:
- void OnApplyClicked();
-
-private:
- QToolButton* m_pApplyButton;
- QLabel* m_animationLabel;
-
- CReflectedVarAnimation m_animation;
-};
-
-class AnimationPropertyWidgetHandler
- : QObject
- , public AzToolsFramework::PropertyHandler < CReflectedVarAnimation, AnimationPropertyCtrl >
-{
-public:
- AZ_CLASS_ALLOCATOR(AnimationPropertyWidgetHandler, AZ::SystemAllocator, 0);
-
- virtual AZ::u32 GetHandlerName(void) const override { return AZ_CRC("Animation", 0x8d5284dc); }
- virtual bool IsDefaultHandler() const override { return true; }
- virtual QWidget* GetFirstInTabOrder(AnimationPropertyCtrl* widget) override { return widget->GetFirstInTabOrder(); }
- virtual QWidget* GetLastInTabOrder(AnimationPropertyCtrl* widget) override { return widget->GetLastInTabOrder(); }
- virtual void UpdateWidgetInternalTabbing(AnimationPropertyCtrl* widget) override { widget->UpdateTabOrder(); }
-
- virtual QWidget* CreateGUI(QWidget* pParent) override;
- virtual void ConsumeAttribute(AnimationPropertyCtrl* GUI, AZ::u32 attrib, AzToolsFramework::PropertyAttributeReader* attrValue, const char* debugName) override;
- virtual void WriteGUIValuesIntoProperty(size_t index, AnimationPropertyCtrl* GUI, property_t& instance, AzToolsFramework::InstanceDataNode* node) override;
- virtual bool ReadValuesIntoGUI(size_t index, AnimationPropertyCtrl* GUI, const property_t& instance, AzToolsFramework::InstanceDataNode* node) override;
-};
-
-
-#endif // CRYINCLUDE_EDITOR_UTILS_PROPERTYANIMATIONCTRL_H
diff --git a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyItem.cpp b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyItem.cpp
index af418c6e0d..0fcbac3204 100644
--- a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyItem.cpp
+++ b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedPropertyItem.cpp
@@ -229,28 +229,16 @@ void ReflectedPropertyItem::SetVariable(IVariable *var)
break;
case ePropertyFloat:
case ePropertyAngle:
- //if the Description has a valid global enumDB lookup, edit as an enum, otherwise use normal float editor
- if (desc.m_pEnumDBItem)
- m_reflectedVarAdapter = new ReflectedVarDBEnumAdapter;
- else
- m_reflectedVarAdapter = new ReflectedVarFloatAdapter;
+ m_reflectedVarAdapter = new ReflectedVarFloatAdapter;
break;
case ePropertyInt:
- //if the Description has a valid global enumDB lookup, edit as an enum, otherwise use normal int editor
- if (desc.m_pEnumDBItem)
- m_reflectedVarAdapter = new ReflectedVarDBEnumAdapter;
- else
- m_reflectedVarAdapter = new ReflectedVarIntAdapter;
+ m_reflectedVarAdapter = new ReflectedVarIntAdapter;
break;
case ePropertyBool:
m_reflectedVarAdapter = new ReflectedVarBoolAdapter;
break;
case ePropertyString:
- //if the Description has a valid global enumDB lookup, edit as an enum, otherwise use normal string editor
- if (desc.m_pEnumDBItem)
- m_reflectedVarAdapter = new ReflectedVarDBEnumAdapter;
- else
- m_reflectedVarAdapter = new ReflectedVarStringAdapter;
+ m_reflectedVarAdapter = new ReflectedVarStringAdapter;
break;
case ePropertySelection:
m_reflectedVarAdapter = new ReflectedVarEnumAdapter;
diff --git a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp
index 2320938f08..8eefbbc8eb 100644
--- a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp
+++ b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.cpp
@@ -15,7 +15,6 @@
// Editor
#include "ReflectedPropertyCtrl.h"
-#include "UIEnumsDatabase.h"
namespace {
@@ -254,41 +253,6 @@ void ReflectedVarEnumAdapter::OnVariableChange([[maybe_unused]] IVariable* pVari
}
}
-void ReflectedVarDBEnumAdapter::SetVariable(IVariable *pVariable)
-{
- Prop::Description desc(pVariable);
- m_pEnumDBItem = desc.m_pEnumDBItem;
- m_reflectedVar.reset(new CReflectedVarEnum(pVariable->GetHumanName().toUtf8().data()));
- if (m_pEnumDBItem)
- {
- for (int i = 0; i < m_pEnumDBItem->strings.size(); i++)
- {
- QString name = m_pEnumDBItem->strings[i];
- m_reflectedVar->addEnum( m_pEnumDBItem->NameToValue(name).toUtf8().data(), name.toUtf8().data() );
- }
- }
-}
-
-void ReflectedVarDBEnumAdapter::SyncReflectedVarToIVar(IVariable *pVariable)
-{
- const AZStd::string valueStr = pVariable->GetDisplayValue().toUtf8().data();
- const AZStd::string value = m_pEnumDBItem ? AZStd::string(m_pEnumDBItem->ValueToName(valueStr.c_str()).toUtf8().data()) : valueStr;
- m_reflectedVar->setEnumByName(value);
-
-}
-
-void ReflectedVarDBEnumAdapter::SyncIVarToReflectedVar(IVariable *pVariable)
-{
- QString iVarVal = m_reflectedVar->m_selectedEnumName.c_str();
- if (m_pEnumDBItem)
- {
- iVarVal = m_pEnumDBItem->NameToValue(iVarVal);
- }
- pVariable->SetDisplayValue(iVarVal);
-}
-
-
-
void ReflectedVarVector2Adapter::SetVariable(IVariable *pVariable)
{
m_reflectedVar.reset(new CReflectedVarVector2(pVariable->GetHumanName().toUtf8().data()));
diff --git a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.h b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.h
index 4bcd6dcaa3..807413226c 100644
--- a/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.h
+++ b/Code/Editor/Controls/ReflectedPropertyControl/ReflectedVarWrapper.h
@@ -16,7 +16,6 @@
#include
-struct CUIEnumsDatabase_SEnum;
class ReflectedPropertyItem;
// Class to wrap the CReflectedVars and sync them with corresponding IVariable.
@@ -145,22 +144,6 @@ AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
bool m_updatingEnums;
};
-class EDITOR_CORE_API ReflectedVarDBEnumAdapter
- : public ReflectedVarAdapter
-{
-public:
- void SetVariable(IVariable* pVariable) override;
- void SyncReflectedVarToIVar(IVariable* pVariable) override;
- void SyncIVarToReflectedVar(IVariable* pVariable) override;
- CReflectedVar* GetReflectedVar() override { return m_reflectedVar.data(); }
-private:
-AZ_PUSH_DISABLE_DLL_EXPORT_MEMBER_WARNING
- QScopedPointer > m_reflectedVar;
-AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
-
- CUIEnumsDatabase_SEnum* m_pEnumDBItem;
-};
-
class EDITOR_CORE_API ReflectedVarVector2Adapter
: public ReflectedVarAdapter
{
diff --git a/Code/Editor/CryEdit.cpp b/Code/Editor/CryEdit.cpp
index 805a22e880..982f8ba411 100644
--- a/Code/Editor/CryEdit.cpp
+++ b/Code/Editor/CryEdit.cpp
@@ -1709,7 +1709,6 @@ bool CCryEditApp::InitInstance()
mainWindow->Initialize();
GetIEditor()->GetCommandManager()->RegisterAutoCommands();
- GetIEditor()->AddUIEnums();
mainWindowWrapper->enableSaveRestoreGeometry("O3DE", "O3DE", "mainWindowGeometry");
m_pDocManager->OnFileNew();
@@ -1820,10 +1819,7 @@ bool CCryEditApp::InitInstance()
if (GetIEditor()->GetCommandManager()->IsRegistered("editor.open_lnm_editor"))
{
CCommand0::SUIInfo uiInfo;
-#if !defined(NDEBUG)
- bool ok =
-#endif
- GetIEditor()->GetCommandManager()->GetUIInfo("editor.open_lnm_editor", uiInfo);
+ [[maybe_unused]] bool ok = GetIEditor()->GetCommandManager()->GetUIInfo("editor.open_lnm_editor", uiInfo);
assert(ok);
}
diff --git a/Code/Editor/CryEditDoc.cpp b/Code/Editor/CryEditDoc.cpp
index 9d93fd5f5b..c7d719184d 100644
--- a/Code/Editor/CryEditDoc.cpp
+++ b/Code/Editor/CryEditDoc.cpp
@@ -57,7 +57,6 @@
// LmbrCentral
#include
-#include // for LmbrCentral::EditorLightComponentRequestBus
static const char* kAutoBackupFolder = "_autobackup";
static const char* kHoldFolder = "$tmp_hold"; // conform to the ignored file types $tmp[0-9]*_ regex
@@ -2130,52 +2129,13 @@ void CCryEditDoc::ReleaseXmlArchiveArray(TDocMultiArchive& arrXmlAr)
//////////////////////////////////////////////////////////////////////////
// AzToolsFramework::EditorEntityContextNotificationBus interface implementation
-void CCryEditDoc::OnSliceInstantiated(const AZ::Data::AssetId& sliceAssetId, AZ::SliceComponent::SliceInstanceAddress& sliceAddress, const AzFramework::SliceInstantiationTicket& /*ticket*/)
+void CCryEditDoc::OnSliceInstantiated([[maybe_unused]] const AZ::Data::AssetId& sliceAssetId, [[maybe_unused]] AZ::SliceComponent::SliceInstanceAddress& sliceAddress, [[maybe_unused]] const AzFramework::SliceInstantiationTicket& ticket)
{
- if (m_envProbeSliceAssetId == sliceAssetId)
- {
- const AZ::SliceComponent::EntityList& entities = sliceAddress.GetInstance()->GetInstantiated()->m_entities;
- const AZ::Uuid editorEnvProbeComponentId("{8DBD6035-583E-409F-AFD9-F36829A0655D}");
- AzToolsFramework::EntityIdList entityIds;
- entityIds.reserve(entities.size());
- for (const AZ::Entity* entity : entities)
- {
- if (entity->FindComponent(editorEnvProbeComponentId))
- {
- // Update Probe Area size to cover the whole terrain
- LmbrCentral::EditorLightComponentRequestBus::Event(entity->GetId(), &LmbrCentral::EditorLightComponentRequests::SetProbeAreaDimensions, AZ::Vector3(m_terrainSize, m_terrainSize, m_envProbeHeight));
-
- // Force update the light to apply cubemap
- LmbrCentral::EditorLightComponentRequestBus::Event(entity->GetId(), &LmbrCentral::EditorLightComponentRequests::RefreshLight);
- }
- entityIds.push_back(entity->GetId());
- }
-
- //Detach instantiated env probe entities from engine slice
- AzToolsFramework::SliceEditorEntityOwnershipServiceRequestBus::Broadcast(
- &AzToolsFramework::SliceEditorEntityOwnershipServiceRequests::DetachSliceEntities, entityIds);
-
- sliceAddress.SetInstance(nullptr);
- sliceAddress.SetReference(nullptr);
- SetModifiedFlag(true);
- SetModifiedModules(eModifiedEntities);
-
- AzToolsFramework::SliceEditorEntityOwnershipServiceNotificationBus::Handler::BusDisconnect();
-
- //save after level default slice fully instantiated
- Save();
- }
GetIEditor()->ResumeUndo();
}
-
-void CCryEditDoc::OnSliceInstantiationFailed(const AZ::Data::AssetId& sliceAssetId, const AzFramework::SliceInstantiationTicket& /*ticket*/)
+void CCryEditDoc::OnSliceInstantiationFailed([[maybe_unused]] const AZ::Data::AssetId& sliceAssetId, [[maybe_unused]] const AzFramework::SliceInstantiationTicket& ticket)
{
- if (m_envProbeSliceAssetId == sliceAssetId)
- {
- AzToolsFramework::SliceEditorEntityOwnershipServiceNotificationBus::Handler::BusDisconnect();
- AZ_Warning("Editor", false, "Failed to instantiate default environment probe slice.");
- }
GetIEditor()->ResumeUndo();
}
//////////////////////////////////////////////////////////////////////////
diff --git a/Code/Editor/CryEditDoc.h b/Code/Editor/CryEditDoc.h
index 5d20bddf45..3874914396 100644
--- a/Code/Editor/CryEditDoc.h
+++ b/Code/Editor/CryEditDoc.h
@@ -200,7 +200,6 @@ protected:
QString m_pathName;
QString m_slicePathName;
QString m_title;
- AZ::Data::AssetId m_envProbeSliceAssetId;
float m_terrainSize;
const char* m_envProbeSliceRelativePath = "EngineAssets/Slices/DefaultLevelSetup.slice";
const float m_envProbeHeight = 200.0f;
diff --git a/Code/Editor/CryEditPy.cpp b/Code/Editor/CryEditPy.cpp
index a25a497a4e..5dea57c1ed 100644
--- a/Code/Editor/CryEditPy.cpp
+++ b/Code/Editor/CryEditPy.cpp
@@ -26,7 +26,6 @@
#include "Core/QtEditorApplication.h"
#include "CheckOutDialog.h"
#include "GameEngine.h"
-#include "UndoConfigSpec.h"
#include "ViewManager.h"
#include "EditorViewportCamera.h"
@@ -369,21 +368,6 @@ namespace
inline namespace Commands
{
- void PySetConfigSpec(int spec, int platform)
- {
- CUndo undo("Set Config Spec");
- if (CUndo::IsRecording())
- {
- CUndo::Record(new CUndoConficSpec());
- }
- GetIEditor()->SetEditorConfigSpec((ESystemConfigSpec)spec, (ESystemConfigPlatform)platform);
- }
-
- int PyGetConfigSpec()
- {
- return static_cast(GetIEditor()->GetEditorConfigSpec());
- }
-
int PyGetConfigPlatform()
{
return static_cast(GetIEditor()->GetEditorConfigPlatform());
@@ -434,9 +418,7 @@ namespace AzToolsFramework
addLegacyGeneral(behaviorContext->Method("set_current_view_rotation", PySetCurrentViewRotation, nullptr, "Sets the rotation of the current view as given x, y, z Euler angles in degrees."));
addLegacyGeneral(behaviorContext->Method("export_to_engine", CCryEditApp::Command_ExportToEngine, nullptr, "Exports the current level to the engine."));
- addLegacyGeneral(behaviorContext->Method("set_config_spec", PySetConfigSpec, nullptr, "Sets the system config spec and platform."));
addLegacyGeneral(behaviorContext->Method("get_config_platform", PyGetConfigPlatform, nullptr, "Gets the system config platform."));
- addLegacyGeneral(behaviorContext->Method("get_config_spec", PyGetConfigSpec, nullptr, "Gets the system config spec."));
addLegacyGeneral(behaviorContext->Method("set_result_to_success", PySetResultToSuccess, nullptr, "Sets the result of a script execution to success. Used only for Sandbox AutoTests."));
addLegacyGeneral(behaviorContext->Method("set_result_to_failure", PySetResultToFailure, nullptr, "Sets the result of a script execution to failure. Used only for Sandbox AutoTests."));
@@ -464,17 +446,6 @@ namespace AzToolsFramework
};
addCheckoutDialog(behaviorContext->Method("enable_for_all", PyCheckOutDialogEnableForAll, nullptr, "Enables the 'Apply to all' button in the checkout dialog; useful for allowing the user to apply a decision to check out files to multiple, related operations."));
- behaviorContext->EnumProperty("SystemConfigSpec_Auto")
- ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
- behaviorContext->EnumProperty("SystemConfigSpec_Low")
- ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
- behaviorContext->EnumProperty("SystemConfigSpec_Medium")
- ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
- behaviorContext->EnumProperty("SystemConfigSpec_High")
- ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
- behaviorContext->EnumProperty("SystemConfigSpec_VeryHigh")
- ->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
-
behaviorContext->EnumProperty("SystemConfigPlatform_InvalidPlatform")
->Attribute(AZ::Script::Attributes::Scope, AZ::Script::Attributes::ScopeFlags::Automation);
behaviorContext->EnumProperty("SystemConfigPlatform_Pc")
diff --git a/Code/Editor/EditorDefs.h b/Code/Editor/EditorDefs.h
index 97c03b2b45..e86f007604 100644
--- a/Code/Editor/EditorDefs.h
+++ b/Code/Editor/EditorDefs.h
@@ -123,9 +123,7 @@
#include "Util/XmlTemplate.h"
// Utility classes.
-#include "Util/bitarray.h"
#include "Util/RefCountBase.h"
-#include "Util/TRefCountBase.h"
#include "Util/MemoryBlock.h"
#include "Util/PathUtil.h"
@@ -168,18 +166,3 @@
#ifdef LoadCursor
#undef LoadCursor
#endif
-
-
-#ifdef _DEBUG
-#if !defined(AZ_PLATFORM_LINUX)
-#ifdef assert
-#undef assert
-#if defined(USE_AZ_ASSERT)
-#define assert(condition) AZ_Assert(condition, "")
-#else
-#define assert CRY_ASSERT
-#endif
-#endif // !defined(AZ_PLATFORM_LINUX)
-#endif
-#endif
-
diff --git a/Code/Editor/EditorPreferencesBus.h b/Code/Editor/EditorPreferencesBus.h
deleted file mode 100644
index d6c9e3ed55..0000000000
--- a/Code/Editor/EditorPreferencesBus.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#pragma once
-
-#include
-
-//! Allows handlers to be notified when settings are changed to refresh accordingly
-class EditorPreferencesNotifications
- : public AZ::EBusTraits
-{
-public:
- static const AZ::EBusHandlerPolicy HandlerPolicy = AZ::EBusHandlerPolicy::Multiple;
- static const AZ::EBusAddressPolicy AddressPolicy = AZ::EBusAddressPolicy::Single;
-
- //! Notifies about changes in the Editor Preferences
- virtual void OnEditorPreferencesChanged() {}
-};
-using EditorPreferencesNotificationBus = AZ::EBus;
diff --git a/Code/Editor/EditorPreferencesPageGeneral.cpp b/Code/Editor/EditorPreferencesPageGeneral.cpp
index 95b3bc4c50..642b9c37e7 100644
--- a/Code/Editor/EditorPreferencesPageGeneral.cpp
+++ b/Code/Editor/EditorPreferencesPageGeneral.cpp
@@ -30,7 +30,6 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
serialize.Class()
->Version(3)
->Field("PreviewPanel", &GeneralSettings::m_previewPanel)
- ->Field("ApplyConfigSpec", &GeneralSettings::m_applyConfigSpec)
->Field("EnableSourceControl", &GeneralSettings::m_enableSourceControl)
->Field("ClearConsole", &GeneralSettings::m_clearConsoleOnGameModeStart)
->Field("ConsoleBackgroundColorTheme", &GeneralSettings::m_consoleBackgroundColorTheme)
@@ -81,7 +80,6 @@ void CEditorPreferencesPage_General::Reflect(AZ::SerializeContext& serialize)
{
editContext->Class("General Settings", "General Editor Preferences")
->DataElement(AZ::Edit::UIHandlers::CheckBox, &GeneralSettings::m_previewPanel, "Show Geometry Preview Panel", "Show Geometry Preview Panel")
- ->DataElement(AZ::Edit::UIHandlers::CheckBox, &GeneralSettings::m_applyConfigSpec, "Hide objects by config spec", "Hide objects by config spec")
->DataElement(AZ::Edit::UIHandlers::CheckBox, &GeneralSettings::m_enableSourceControl, "Enable Source Control", "Enable Source Control")
->DataElement(
AZ::Edit::UIHandlers::CheckBox, &GeneralSettings::m_clearConsoleOnGameModeStart, "Clear Console at game startup", "Clear Console when game mode starts")
@@ -157,7 +155,6 @@ void CEditorPreferencesPage_General::OnApply()
{
//general settings
gSettings.bPreviewGeometryWindow = m_generalSettings.m_previewPanel;
- gSettings.bApplyConfigSpecInEditor = m_generalSettings.m_applyConfigSpec;
gSettings.enableSourceControl = m_generalSettings.m_enableSourceControl;
gSettings.clearConsoleOnGameModeStart = m_generalSettings.m_clearConsoleOnGameModeStart;
gSettings.consoleBackgroundColorTheme = m_generalSettings.m_consoleBackgroundColorTheme;
@@ -195,7 +192,6 @@ void CEditorPreferencesPage_General::InitializeSettings()
{
//general settings
m_generalSettings.m_previewPanel = gSettings.bPreviewGeometryWindow;
- m_generalSettings.m_applyConfigSpec = gSettings.bApplyConfigSpecInEditor;
m_generalSettings.m_enableSourceControl = gSettings.enableSourceControl;
m_generalSettings.m_clearConsoleOnGameModeStart = gSettings.clearConsoleOnGameModeStart;
m_generalSettings.m_consoleBackgroundColorTheme = gSettings.consoleBackgroundColorTheme;
diff --git a/Code/Editor/EditorPreferencesPageGeneral.h b/Code/Editor/EditorPreferencesPageGeneral.h
index 01700dea88..ff2ebf79f8 100644
--- a/Code/Editor/EditorPreferencesPageGeneral.h
+++ b/Code/Editor/EditorPreferencesPageGeneral.h
@@ -45,7 +45,6 @@ private:
AZ_TYPE_INFO(GeneralSettings, "{C2AE8F6D-7AA6-499E-A3E8-ECCD0AC6F3D2}")
bool m_previewPanel;
- bool m_applyConfigSpec;
bool m_enableSourceControl;
bool m_clearConsoleOnGameModeStart;
AzToolsFramework::ConsoleColorTheme m_consoleBackgroundColorTheme;
diff --git a/Code/Editor/EditorViewportWidget.cpp b/Code/Editor/EditorViewportWidget.cpp
index a8180bcace..9a9e9f5ad3 100644
--- a/Code/Editor/EditorViewportWidget.cpp
+++ b/Code/Editor/EditorViewportWidget.cpp
@@ -89,6 +89,7 @@
#include
// Atom
+#include
#include
#include
#include
@@ -584,7 +585,7 @@ void EditorViewportWidget::OnEditorNotifyEvent(EEditorNotifyEvent event)
m_renderViewport->SetScene(nullptr);
break;
- case eNotify_OnEndSceneOpen:
+ case eNotify_OnEndLoad:
UpdateScene();
SetDefaultCamera();
break;
@@ -2324,7 +2325,26 @@ void EditorViewportWidget::UpdateScene()
{
AZ::RPI::SceneNotificationBus::Handler::BusDisconnect();
m_renderViewport->SetScene(mainScene);
- AZ::RPI::SceneNotificationBus::Handler::BusConnect(m_renderViewport->GetViewportContext()->GetRenderScene()->GetId());
+ auto viewportContext = m_renderViewport->GetViewportContext();
+ AZ::RPI::SceneNotificationBus::Handler::BusConnect(viewportContext->GetRenderScene()->GetId());
+
+ // Don't enable the render pipeline until a level has been loaded
+ // Also show/hide the RenderViewportWidget accordingly so that we get the
+ // expected gradient background when no level is loaded
+ auto renderPipeline = viewportContext->GetCurrentPipeline();
+ if (renderPipeline)
+ {
+ if (GetIEditor()->IsLevelLoaded())
+ {
+ m_renderViewport->show();
+ renderPipeline->AddToRenderTick();
+ }
+ else
+ {
+ m_renderViewport->hide();
+ renderPipeline->RemoveFromRenderTick();
+ }
+ }
}
}
}
diff --git a/Code/Editor/ErrorRecorder.h b/Code/Editor/ErrorRecorder.h
index beacc3f0e5..9a0bad7d91 100644
--- a/Code/Editor/ErrorRecorder.h
+++ b/Code/Editor/ErrorRecorder.h
@@ -14,7 +14,7 @@
#define CRYINCLUDE_EDITOR_CORE_ERRORRECORDER_H
#pragma once
-#include "Include/EditorCoreAPI.h"
+#include
//////////////////////////////////////////////////////////////////////////
//! Automatic class to record and display error.
diff --git a/Code/Editor/ErrorReport.h b/Code/Editor/ErrorReport.h
index 98d230e383..a80bb36404 100644
--- a/Code/Editor/ErrorReport.h
+++ b/Code/Editor/ErrorReport.h
@@ -17,9 +17,6 @@
// forward declarations.
class CParticleItem;
-#include
-#include
-
#include "Objects/BaseObject.h"
#include "Include/EditorCoreAPI.h"
#include "Include/IErrorReport.h"
diff --git a/Code/Editor/IEditor.h b/Code/Editor/IEditor.h
index 90f1b63f55..da29b00f2d 100644
--- a/Code/Editor/IEditor.h
+++ b/Code/Editor/IEditor.h
@@ -19,8 +19,6 @@
#include "Util/UndoUtil.h"
#include
-#include
-
#include
#include
@@ -48,7 +46,6 @@ class ICommandManager;
class CEditorCommandManager;
class CHyperGraphManager;
class CConsoleSynchronization;
-class CUIEnumsDatabase;
struct ISourceControl;
struct IEditorClassFactory;
struct ITransformManipulator;
@@ -66,11 +63,6 @@ struct SEditorSettings;
class CGameExporter;
class IAWSResourceManager;
-namespace WinWidget
-{
- class WinWidgetManager;
-}
-
struct ISystem;
struct IRenderer;
struct AABB;
@@ -323,17 +315,6 @@ enum MouseCallbackFlags
MK_CALLBACK_FLAGS = 0x100
};
-//! Types of database items
-enum EDataBaseItemType
-{
- EDB_TYPE_MATERIAL,
- EDB_TYPE_PARTICLE,
- EDB_TYPE_MUSIC,
- EDB_TYPE_EAXPRESET,
- EDB_TYPE_SOUNDMOOD,
- EDB_TYPE_FLARE
-};
-
enum EEditorPathName
{
EDITOR_PATH_OBJECTS,
@@ -597,10 +578,6 @@ struct IEditor
virtual bool SetViewFocus(const char* sViewClassName) = 0;
virtual void CloseView(const GUID& classId) = 0; // close ALL panels related to classId, used when unloading plugins.
- // We want to open a view object but not wrap it in a view pane)
- virtual QWidget* OpenWinWidget(WinWidgetId openId) = 0;
- virtual WinWidget::WinWidgetManager* GetWinWidgetManager() const = 0;
-
//! Opens standard color selection dialog.
//! Initialized with the color specified in color parameter.
//! Returns true if selection is made and false if selection is canceled.
@@ -682,15 +659,10 @@ struct IEditor
//! Only returns true if source control is both available AND currently connected and functioning
virtual bool IsSourceControlConnected() = 0;
- virtual CUIEnumsDatabase* GetUIEnumsDatabase() = 0;
- virtual void AddUIEnums() = 0;
virtual void ReduceMemory() = 0;
//! Export manager for exporting objects and a terrain from the game to DCC tools
virtual IExportManager* GetExportManager() = 0;
- //! Set current configuration spec of the editor.
- virtual void SetEditorConfigSpec(ESystemConfigSpec spec, ESystemConfigPlatform platform) = 0;
- virtual ESystemConfigSpec GetEditorConfigSpec() const = 0;
virtual ESystemConfigPlatform GetEditorConfigPlatform() const = 0;
virtual void ReloadTemplates() = 0;
virtual void ShowStatusText(bool bEnable) = 0;
diff --git a/Code/Editor/IEditorImpl.cpp b/Code/Editor/IEditorImpl.cpp
index a2712b653d..05b74f3b05 100644
--- a/Code/Editor/IEditorImpl.cpp
+++ b/Code/Editor/IEditorImpl.cpp
@@ -12,6 +12,7 @@
#include "EditorDefs.h"
#include "IEditorImpl.h"
+#include
// Qt
#include
@@ -50,7 +51,6 @@
#include "GameEngine.h"
#include "ToolBox.h"
#include "MainWindow.h"
-#include "UIEnumsDatabase.h"
#include "RenderHelpers/AxisHelper.h"
#include "Settings.h"
#include "Include/IObjectManager.h"
@@ -69,9 +69,6 @@
#include "Editor/AzAssetBrowser/AzAssetBrowserRequestHandler.h"
#include "Editor/AssetEditor/AssetEditorRequestsHandler.h"
-// EditorCommon
-#include
-
#include "Core/QtEditorApplication.h" // for Editor::EditorQtApplication
static CCryEditDoc * theDocument;
@@ -118,7 +115,6 @@ CEditorImpl::CEditorImpl()
, m_pErrorsDlg(nullptr)
, m_pSourceControl(nullptr)
, m_pSelectionTreeManager(nullptr)
- , m_pUIEnumsDatabase(nullptr)
, m_pConsoleSync(nullptr)
, m_pSettingsManager(nullptr)
, m_pLevelIndependentFileMan(nullptr)
@@ -148,7 +144,6 @@ CEditorImpl::CEditorImpl()
regCtx.pCommandManager = m_pCommandManager;
regCtx.pClassFactory = m_pClassFactory;
m_pEditorFileMonitor.reset(new CEditorFileMonitor());
- m_pUIEnumsDatabase = new CUIEnumsDatabase;
m_pDisplaySettings = new CDisplaySettings;
m_pDisplaySettings->LoadRegistry();
m_pPluginManager = new CPluginManager;
@@ -167,8 +162,6 @@ CEditorImpl::CEditorImpl()
DetectVersion();
RegisterTools();
- m_winWidgetManager.reset(new WinWidget::WinWidgetManager);
-
m_pAssetDatabaseLocationListener = nullptr;
m_pAssetBrowserRequestHandler = nullptr;
m_assetEditorRequestsHandler = nullptr;
@@ -302,7 +295,6 @@ CEditorImpl::~CEditorImpl()
SAFE_DELETE(m_pCommandManager)
SAFE_DELETE(m_pClassFactory)
SAFE_DELETE(m_pLasLoadedLevelErrorReport)
- SAFE_DELETE(m_pUIEnumsDatabase)
SAFE_DELETE(m_pSettingsManager);
@@ -837,20 +829,6 @@ const QtViewPane* CEditorImpl::OpenView(QString sViewClassName, bool reuseOpened
return QtViewPaneManager::instance()->OpenPane(sViewClassName, openMode);
}
-QWidget* CEditorImpl::OpenWinWidget(WinWidgetId openId)
-{
- if (m_winWidgetManager)
- {
- return m_winWidgetManager->OpenWinWidget(openId);
- }
- return nullptr;
-}
-
-WinWidget::WinWidgetManager* CEditorImpl::GetWinWidgetManager() const
-{
- return m_winWidgetManager.get();
-}
-
QWidget* CEditorImpl::FindView(QString viewClassName)
{
return QtViewPaneManager::instance()->GetView(viewClassName);
@@ -1491,48 +1469,6 @@ IExportManager* CEditorImpl::GetExportManager()
return m_pExportManager;
}
-void CEditorImpl::AddUIEnums()
-{
- // Spec settings for shadow casting lights
- AZStd::string SpecString[4];
- QStringList types;
- types.push_back("Never=0");
- SpecString[0] = AZStd::string::format("VeryHigh Spec=%d", CONFIG_VERYHIGH_SPEC);
- types.push_back(SpecString[0].c_str());
- SpecString[1] = AZStd::string::format("High Spec=%d", CONFIG_HIGH_SPEC);
- types.push_back(SpecString[1].c_str());
- SpecString[2] = AZStd::string::format("Medium Spec=%d", CONFIG_MEDIUM_SPEC);
- types.push_back(SpecString[2].c_str());
- SpecString[3] = AZStd::string::format("Low Spec=%d", CONFIG_LOW_SPEC);
- types.push_back(SpecString[3].c_str());
- m_pUIEnumsDatabase->SetEnumStrings("CastShadows", types);
-
- // Power-of-two percentages
- AZStd::string percentStringPOT[5];
- types.clear();
- percentStringPOT[0] = AZStd::string::format("Default=%d", 0);
- types.push_back(percentStringPOT[0].c_str());
- percentStringPOT[1] = AZStd::string::format("12.5=%d", 1);
- types.push_back(percentStringPOT[1].c_str());
- percentStringPOT[2] = AZStd::string::format("25=%d", 2);
- types.push_back(percentStringPOT[2].c_str());
- percentStringPOT[3] = AZStd::string::format("50=%d", 3);
- types.push_back(percentStringPOT[3].c_str());
- percentStringPOT[4] = AZStd::string::format("100=%d", 4);
- types.push_back(percentStringPOT[4].c_str());
- m_pUIEnumsDatabase->SetEnumStrings("ShadowMinResPercent", types);
-}
-
-void CEditorImpl::SetEditorConfigSpec(ESystemConfigSpec spec, [[maybe_unused]]ESystemConfigPlatform platform)
-{
- gSettings.editorConfigSpec = spec;
-}
-
-ESystemConfigSpec CEditorImpl::GetEditorConfigSpec() const
-{
- return (ESystemConfigSpec)gSettings.editorConfigSpec;
-}
-
ESystemConfigPlatform CEditorImpl::GetEditorConfigPlatform() const
{
return m_pSystem->GetConfigPlatform();
diff --git a/Code/Editor/IEditorImpl.h b/Code/Editor/IEditorImpl.h
index 354f631507..5e47a76802 100644
--- a/Code/Editor/IEditorImpl.h
+++ b/Code/Editor/IEditorImpl.h
@@ -53,11 +53,6 @@ namespace Editor
class EditorQtApplication;
}
-namespace WinWidget
-{
- class WinWidgetManager;
-}
-
namespace AssetDatabase
{
class AssetDatabaseLocationListener;
@@ -221,9 +216,6 @@ public:
bool CloseView(const char* sViewClassName) override;
bool SetViewFocus(const char* sViewClassName) override;
- QWidget* OpenWinWidget(WinWidgetId openId) override;
- WinWidget::WinWidgetManager* GetWinWidgetManager() const override;
-
// close ALL panels related to classId, used when unloading plugins.
void CloseView(const GUID& classId) override;
bool SelectColor(QColor &color, QWidget *parent = 0) override;
@@ -276,14 +268,9 @@ public:
bool IsSourceControlConnected() override;
//! Setup Material Editor mode
void SetMatEditMode(bool bIsMatEditMode);
- CUIEnumsDatabase* GetUIEnumsDatabase() override { return m_pUIEnumsDatabase; };
- void AddUIEnums() override;
void ReduceMemory() override;
// Get Export manager
IExportManager* GetExportManager() override;
- // Set current configuration spec of the editor.
- void SetEditorConfigSpec(ESystemConfigSpec spec, ESystemConfigPlatform platform) override;
- ESystemConfigSpec GetEditorConfigSpec() const override;
ESystemConfigPlatform GetEditorConfigPlatform() const override;
void ReloadTemplates() override;
void AddErrorMessage(const QString& text, const QString& caption);
@@ -355,7 +342,6 @@ protected:
CSelectionTreeManager* m_pSelectionTreeManager;
- CUIEnumsDatabase* m_pUIEnumsDatabase;
//! CConsole Synchronization
CConsoleSynchronization* m_pConsoleSync;
//! Editor Settings Manager
@@ -369,7 +355,6 @@ protected:
QString m_selectFileBuffer;
QString m_levelNameBuffer;
- std::unique_ptr m_winWidgetManager;
//! True if the editor is in material edit mode. Fast preview of materials.
//! In this mode only very limited functionality is available.
diff --git a/Code/Editor/IObservable.h b/Code/Editor/IObservable.h
deleted file mode 100644
index 9de78a7bc1..0000000000
--- a/Code/Editor/IObservable.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-
-#ifndef CRYINCLUDE_EDITOR_IOBSERVABLE_H
-#define CRYINCLUDE_EDITOR_IOBSERVABLE_H
-#pragma once
-
-//! Observable macro to be used in pure interfaces
-#define DEFINE_OBSERVABLE_PURE_METHODS(observerClassName) \
- virtual bool RegisterObserver(observerClassName * pObserver) = 0; \
- virtual bool UnregisterObserver(observerClassName * pObserver) = 0; \
- virtual void UnregisterAllObservers() = 0;
-
-#endif // CRYINCLUDE_EDITOR_IOBSERVABLE_H
diff --git a/Code/Editor/Launcher/editor_launcher.rc b/Code/Editor/Launcher/editor_launcher.rc
deleted file mode 100644
index 26dad7a3da..0000000000
--- a/Code/Editor/Launcher/editor_launcher.rc
+++ /dev/null
@@ -1,2 +0,0 @@
-IDI_ICON1 ICON DISCARDABLE "..\\res\\lyeditor.ico"
-
diff --git a/Code/Editor/Launcher/resource.h b/Code/Editor/Launcher/resource.h
deleted file mode 100644
index 1be83bd298..0000000000
--- a/Code/Editor/Launcher/resource.h
+++ /dev/null
@@ -1,9 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-#define IDI_ICON1 2
diff --git a/Code/Editor/Lib/Tests/IEditorMock.h b/Code/Editor/Lib/Tests/IEditorMock.h
index aaee34c2c6..99c05c7f4d 100644
--- a/Code/Editor/Lib/Tests/IEditorMock.h
+++ b/Code/Editor/Lib/Tests/IEditorMock.h
@@ -128,8 +128,6 @@ public:
MOCK_METHOD1(CloseView, bool(const char* ));
MOCK_METHOD1(SetViewFocus, bool(const char* ));
MOCK_METHOD1(CloseView, void(const GUID& ));
- MOCK_METHOD1(OpenWinWidget, QWidget* (WinWidgetId ));
- MOCK_CONST_METHOD0(GetWinWidgetManager, WinWidget::WinWidgetManager* ());
MOCK_METHOD2(SelectColor, bool(QColor &, QWidget *));
MOCK_METHOD0(GetUndoManager, class CUndoManager* ());
MOCK_METHOD0(BeginUndo, void());
@@ -167,12 +165,8 @@ public:
MOCK_METHOD0(GetSourceControl, ISourceControl* ());
MOCK_METHOD0(IsSourceControlAvailable, bool());
MOCK_METHOD0(IsSourceControlConnected, bool());
- MOCK_METHOD0(GetUIEnumsDatabase, CUIEnumsDatabase* ());
- MOCK_METHOD0(AddUIEnums, void());
MOCK_METHOD0(ReduceMemory, void());
MOCK_METHOD0(GetExportManager, IExportManager* ());
- MOCK_METHOD2(SetEditorConfigSpec, void(ESystemConfigSpec , ESystemConfigPlatform ));
- MOCK_CONST_METHOD0(GetEditorConfigSpec, ESystemConfigSpec());
MOCK_CONST_METHOD0(GetEditorConfigPlatform, ESystemConfigPlatform());
MOCK_METHOD0(ReloadTemplates, void());
MOCK_METHOD1(ShowStatusText, void(bool ));
diff --git a/Code/Editor/Lib/Tests/test_CryEditPythonBindings.cpp b/Code/Editor/Lib/Tests/test_CryEditPythonBindings.cpp
index 5246fcdee5..1d9b26dbbc 100644
--- a/Code/Editor/Lib/Tests/test_CryEditPythonBindings.cpp
+++ b/Code/Editor/Lib/Tests/test_CryEditPythonBindings.cpp
@@ -66,9 +66,7 @@ namespace CryEditPythonBindingsUnitTests
EXPECT_TRUE(behaviorContext->m_methods.find("set_current_view_position") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("set_current_view_rotation") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("export_to_engine") != behaviorContext->m_methods.end());
- EXPECT_TRUE(behaviorContext->m_methods.find("set_config_spec") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("get_config_platform") != behaviorContext->m_methods.end());
- EXPECT_TRUE(behaviorContext->m_methods.find("get_config_spec") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("set_result_to_success") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("set_result_to_failure") != behaviorContext->m_methods.end());
EXPECT_TRUE(behaviorContext->m_methods.find("idle_enable") != behaviorContext->m_methods.end());
diff --git a/Code/Editor/Lib/Tests/test_EditorPythonBindings.cpp b/Code/Editor/Lib/Tests/test_EditorPythonBindings.cpp
index 49b65f7ffc..0c5e221d21 100644
--- a/Code/Editor/Lib/Tests/test_EditorPythonBindings.cpp
+++ b/Code/Editor/Lib/Tests/test_EditorPythonBindings.cpp
@@ -25,7 +25,6 @@
#include
#include
#include
-#include
#include
#include "IEditorMock.h"
diff --git a/Code/Editor/MainWindow.cpp b/Code/Editor/MainWindow.cpp
index 63841299be..3a52bb85a1 100644
--- a/Code/Editor/MainWindow.cpp
+++ b/Code/Editor/MainWindow.cpp
@@ -72,7 +72,6 @@
#include "ToolbarManager.h"
#include "Core/QtEditorApplication.h"
#include "UndoDropDown.h"
-#include "CVarMenu.h"
#include "EditorViewportSettings.h"
#include "KeyboardCustomizationSettings.h"
diff --git a/Code/Editor/MainWindow.h b/Code/Editor/MainWindow.h
index 33f3d2d011..9759dadade 100644
--- a/Code/Editor/MainWindow.h
+++ b/Code/Editor/MainWindow.h
@@ -49,7 +49,6 @@ class ToolbarCustomizationDialog;
class QWidgetAction;
class ActionManager;
class ShortcutDispatcher;
-class CVarMenu;
namespace AzQtComponents
{
diff --git a/Code/Editor/Objects/BaseObject.cpp b/Code/Editor/Objects/BaseObject.cpp
index c14547407b..1497f2440a 100644
--- a/Code/Editor/Objects/BaseObject.cpp
+++ b/Code/Editor/Objects/BaseObject.cpp
@@ -62,7 +62,7 @@ protected:
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
-//! Undo object for CBaseObject that only stores its transform, color, area and minSpec
+//! Undo object for CBaseObject that only stores its transform, color, area
class CUndoBaseObjectMinimal
: public IUndoObject
{
@@ -84,7 +84,6 @@ private:
Vec3 scale;
QColor color;
float area;
- int minSpec;
};
void SetTransformsFromState(CBaseObject* pObject, const StateStruct& state, bool bUndo);
@@ -253,7 +252,6 @@ CUndoBaseObjectMinimal::CUndoBaseObjectMinimal(CBaseObject* pObj, [[maybe_unused
m_undoState.scale = pObj->GetScale();
m_undoState.color = pObj->GetColor();
m_undoState.area = pObj->GetArea();
- m_undoState.minSpec = pObj->GetMinSpec();
}
//////////////////////////////////////////////////////////////////////////
@@ -284,14 +282,12 @@ void CUndoBaseObjectMinimal::Undo(bool bUndo)
m_redoState.rotate = pObject->GetRotation();
m_redoState.color = pObject->GetColor();
m_redoState.area = pObject->GetArea();
- m_redoState.minSpec = pObject->GetMinSpec();
}
SetTransformsFromState(pObject, m_undoState, bUndo);
pObject->ChangeColor(m_undoState.color);
pObject->SetArea(m_undoState.area);
- pObject->SetMinSpec(m_undoState.minSpec, false);
using namespace AzToolsFramework;
ComponentEntityObjectRequestBus::Event(pObject, &ComponentEntityObjectRequestBus::Events::UpdatePreemptiveUndoCache);
@@ -310,7 +306,6 @@ void CUndoBaseObjectMinimal::Redo()
pObject->ChangeColor(m_redoState.color);
pObject->SetArea(m_redoState.area);
- pObject->SetMinSpec(m_redoState.minSpec, false);
using namespace AzToolsFramework;
ComponentEntityObjectRequestBus::Event(pObject, &ComponentEntityObjectRequestBus::Events::UpdatePreemptiveUndoCache);
@@ -382,7 +377,6 @@ CBaseObject::CBaseObject()
, m_bMatrixInWorldSpace(false)
, m_bMatrixValid(false)
, m_bWorldBoxValid(false)
- , m_nMinSpec(0)
, m_vDrawIconPos(0, 0, 0)
, m_nIconFlags(0)
{
@@ -413,7 +407,6 @@ bool CBaseObject::Init([[maybe_unused]] IEditor* ie, CBaseObject* prev, [[maybe_
SetLocalTM(prev->GetPos(), prev->GetRotation(), prev->GetScale());
SetArea(prev->GetArea());
SetColor(prev->GetColor());
- SetMinSpec(prev->GetMinSpec(), false);
// Copy all basic variables.
EnableUpdateCallbacks(false);
@@ -1053,17 +1046,6 @@ void CBaseObject::SetSelected(bool bSelect)
}
}
-//////////////////////////////////////////////////////////////////////////
-bool CBaseObject::IsHiddenBySpec() const
-{
- if (!gSettings.bApplyConfigSpecInEditor)
- {
- return false;
- }
-
- return (m_nMinSpec != 0 && gSettings.editorConfigSpec != 0 && m_nMinSpec > static_cast(gSettings.editorConfigSpec));
-}
-
//////////////////////////////////////////////////////////////////////////
//! Returns true if object hidden.
bool CBaseObject::IsHidden() const
@@ -1107,7 +1089,6 @@ void CBaseObject::Serialize(CObjectArchive& ar)
Vec3 scale = m_scale;
Quat quat = m_rotate;
Ang3 angles(0, 0, 0);
- uint32 nMinSpec = m_nMinSpec;
QColor color = m_color;
float flattenArea = m_flattenArea;
@@ -1135,12 +1116,6 @@ void CBaseObject::Serialize(CObjectArchive& ar)
xmlNode->getAttr("Parent", parentId);
xmlNode->getAttr("LookAt", lookatId);
xmlNode->getAttr("Material", mtlName);
- xmlNode->getAttr("MinSpec", nMinSpec);
-
- if (nMinSpec <= CONFIG_VERYHIGH_SPEC) // Ignore invalid values.
- {
- m_nMinSpec = nMinSpec;
- }
bool bHidden = flags & OBJFLAG_HIDDEN;
bool bFrozen = flags & OBJFLAG_FROZEN;
@@ -1245,11 +1220,6 @@ void CBaseObject::Serialize(CObjectArchive& ar)
{
xmlNode->setAttr("Flags", flags);
}
-
- if (m_nMinSpec != 0)
- {
- xmlNode->setAttr("MinSpec", (uint32)m_nMinSpec);
- }
}
// Serialize variables after default entity parameters.
@@ -1300,11 +1270,6 @@ XmlNodeRef CBaseObject::Export([[maybe_unused]] const QString& levelPath, XmlNod
objNode->setAttr("Scale", scale);
}
- if (m_nMinSpec != 0)
- {
- objNode->setAttr("MinSpec", (uint32)m_nMinSpec);
- }
-
// Save variables.
CVarObject::Serialize(objNode, false);
@@ -2134,22 +2099,6 @@ bool CBaseObject::IsSimilarObject(CBaseObject* pObject)
return false;
}
-//////////////////////////////////////////////////////////////////////////
-void CBaseObject::SetMinSpec(uint32 nSpec, bool bSetChildren)
-{
- m_nMinSpec = nSpec;
- UpdateVisibility(!IsHidden());
-
- // Set min spec for all childs.
- if (bSetChildren)
- {
- for (int i = static_cast(m_childs.size()) - 1; i >= 0; --i)
- {
- m_childs[i]->SetMinSpec(nSpec, true);
- }
- }
-}
-
//////////////////////////////////////////////////////////////////////////
EScaleWarningLevel CBaseObject::GetScaleWarningLevel() const
{
diff --git a/Code/Editor/Objects/BaseObject.h b/Code/Editor/Objects/BaseObject.h
index fea248c7f7..aa748bade4 100644
--- a/Code/Editor/Objects/BaseObject.h
+++ b/Code/Editor/Objects/BaseObject.h
@@ -31,7 +31,6 @@ class CUndoBaseObject;
class CObjectManager;
class CGizmo;
class CObjectArchive;
-struct SSubObjSelectionModifyContext;
struct SRayHitInfo;
class CPopupMenuItem;
class QMenu;
@@ -257,8 +256,6 @@ public:
//! Returns true if object hidden.
bool IsHidden() const;
- //! Check against min spec.
- bool IsHiddenBySpec() const;
//! Returns true if object frozen.
virtual bool IsFrozen() const;
//! Returns true if object is shared between missions.
@@ -466,12 +463,6 @@ public:
//! Check if specified object is very similar to this one.
virtual bool IsSimilarObject(CBaseObject* pObject);
- //////////////////////////////////////////////////////////////////////////
- // Object minimal usage spec (All/Low/Medium/High)
- //////////////////////////////////////////////////////////////////////////
- uint32 GetMinSpec() const { return m_nMinSpec; }
- virtual void SetMinSpec(uint32 nSpec, bool bSetChildren = true);
-
//! In This function variables of the object must be initialized.
virtual void InitVariables() {};
@@ -669,7 +660,6 @@ private:
mutable uint32 m_bMatrixValid : 1;
mutable uint32 m_bWorldBoxValid : 1;
uint32 m_bInSelectionBox : 1;
- uint32 m_nMinSpec : 8;
Vec3 m_vDrawIconPos;
AZ_POP_DISABLE_DLL_EXPORT_MEMBER_WARNING
diff --git a/Code/Editor/Objects/EntityObject.cpp b/Code/Editor/Objects/EntityObject.cpp
index 86512377c6..450a15766c 100644
--- a/Code/Editor/Objects/EntityObject.cpp
+++ b/Code/Editor/Objects/EntityObject.cpp
@@ -200,7 +200,6 @@ CEntityObject::CEntityObject()
// Init Variables.
mv_castShadow = true;
- mv_castShadowMinSpec = CONFIG_LOW_SPEC;
mv_outdoor = false;
mv_recvWind = false;
mv_renderNearest = false;
@@ -249,18 +248,10 @@ CEntityObject::~CEntityObject()
//////////////////////////////////////////////////////////////////////////
void CEntityObject::InitVariables()
{
- mv_castShadowMinSpec.AddEnumItem("Never", END_CONFIG_SPEC_ENUM);
- mv_castShadowMinSpec.AddEnumItem("Low", CONFIG_LOW_SPEC);
- mv_castShadowMinSpec.AddEnumItem("Medium", CONFIG_MEDIUM_SPEC);
- mv_castShadowMinSpec.AddEnumItem("High", CONFIG_HIGH_SPEC);
- mv_castShadowMinSpec.AddEnumItem("VeryHigh", CONFIG_VERYHIGH_SPEC);
-
mv_castShadow.SetFlags(mv_castShadow.GetFlags() | IVariable::UI_INVISIBLE);
- mv_castShadowMinSpec->SetFlags(mv_castShadowMinSpec->GetFlags() | IVariable::UI_UNSORTED);
AddVariable(mv_outdoor, "OutdoorOnly", tr("Outdoor Only"));
AddVariable(mv_castShadow, "CastShadow", tr("Cast Shadow"));
- AddVariable(mv_castShadowMinSpec, "CastShadowMinspec", tr("Cast Shadow MinSpec"));
AddVariable(mv_ratioLOD, "LodRatio");
AddVariable(mv_viewDistanceMultiplier, "ViewDistanceMultiplier");
@@ -361,7 +352,6 @@ bool CEntityObject::ConvertFromObject(CBaseObject* object)
CEntityObject* pObject = ( CEntityObject* )object;
mv_outdoor = pObject->mv_outdoor;
- mv_castShadowMinSpec = pObject->mv_castShadowMinSpec;
mv_ratioLOD = pObject->mv_ratioLOD;
mv_viewDistanceMultiplier = pObject->mv_viewDistanceMultiplier;
mv_hiddenInGame = pObject->mv_hiddenInGame;
@@ -521,22 +511,6 @@ void CEntityObject::AdjustLightProperties(CVarBlockPtr& properties, const char*
}
}
- if (IVariable* pCastShadowVar = FindVariableInSubBlock(properties, pSubBlockVar, "nCastShadows"))
- {
- if (bCastShadowLegacy)
- {
- pCastShadowVar->SetDisplayValue("1");
- }
- pCastShadowVar->SetDataType(IVariable::DT_UIENUM);
- pCastShadowVar->SetFlags(pCastShadowVar->GetFlags() | IVariable::UI_UNSORTED);
- }
-
- if (IVariable* pShadowMinRes = FindVariableInSubBlock(properties, pSubBlockVar, "nShadowMinResPercent"))
- {
- pShadowMinRes->SetDataType(IVariable::DT_UIENUM);
- pShadowMinRes->SetFlags(pShadowMinRes->GetFlags() | IVariable::UI_UNSORTED);
- }
-
if (IVariable* pFade = FindVariableInSubBlock(properties, pSubBlockVar, "vFadeDimensionsLeft"))
{
pFade->SetFlags(pFade->GetFlags() | IVariable::UI_INVISIBLE);
@@ -873,12 +847,6 @@ void CEntityObject::Serialize(CObjectArchive& ar)
RemoveAllEntityLinks();
PostLoad(ar);
}
-
- if ((mv_castShadowMinSpec == CONFIG_LOW_SPEC) && !mv_castShadow) // backwards compatibility check
- {
- mv_castShadowMinSpec = END_CONFIG_SPEC_ENUM;
- mv_castShadow = true;
- }
}
else
{
@@ -1033,8 +1001,6 @@ XmlNodeRef CEntityObject::Export([[maybe_unused]] const QString& levelPath, XmlN
objNode->setAttr("ViewDistanceMultiplier", mv_viewDistanceMultiplier);
}
- objNode->setAttr("CastShadowMinSpec", mv_castShadowMinSpec);
-
if (mv_recvWind)
{
objNode->setAttr("RecvWind", true);
@@ -1050,11 +1016,6 @@ XmlNodeRef CEntityObject::Export([[maybe_unused]] const QString& levelPath, XmlN
objNode->setAttr("OutdoorOnly", true);
}
- if (GetMinSpec() != 0)
- {
- objNode->setAttr("MinSpec", ( uint32 )GetMinSpec());
- }
-
if (mv_hiddenInGame)
{
objNode->setAttr("HiddenInGame", true);
@@ -1163,7 +1124,7 @@ void CEntityObject::UpdateVisibility(bool bVisible)
{
CBaseObject::UpdateVisibility(bVisible);
- bool bVisibleWithSpec = bVisible && !IsHiddenBySpec();
+ bool bVisibleWithSpec = bVisible;
if (bVisibleWithSpec != static_cast(m_bVisible))
{
m_bVisible = bVisibleWithSpec;
diff --git a/Code/Editor/Objects/EntityObject.h b/Code/Editor/Objects/EntityObject.h
index c6b7e4ce2d..2e8aeeabc7 100644
--- a/Code/Editor/Objects/EntityObject.h
+++ b/Code/Editor/Objects/EntityObject.h
@@ -174,8 +174,6 @@ public:
//////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////
- int GetCastShadowMinSpec() const { return mv_castShadowMinSpec; }
-
float GetRatioLod() const { return static_cast(mv_ratioLOD); };
float GetViewDistanceMultiplier() const { return mv_viewDistanceMultiplier; }
@@ -306,7 +304,6 @@ protected:
//////////////////////////////////////////////////////////////////////////
CVariable mv_outdoor;
CVariable mv_castShadow; // Legacy, required for backwards compatibility
- CSmartVariableEnum mv_castShadowMinSpec;
CVariable mv_ratioLOD;
CVariable mv_viewDistanceMultiplier;
CVariable mv_hiddenInGame; // Entity is hidden in game (on start).
diff --git a/Code/Editor/Objects/SubObjSelection.cpp b/Code/Editor/Objects/SubObjSelection.cpp
deleted file mode 100644
index 3a67b8dfb7..0000000000
--- a/Code/Editor/Objects/SubObjSelection.cpp
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-
-#include "EditorDefs.h"
-
-#include "SubObjSelection.h"
-
-SSubObjSelOptions g_SubObjSelOptions;
-
-/*
-
-//////////////////////////////////////////////////////////////////////////
-bool CSubObjSelContext::IsEmpty() const
-{
- if (GetCount() == 0)
- return false;
- for (int i = 0; i < GetCount(); i++)
- {
- CSubObjectSelection *pSel = GetSelection(i);
- if (!pSel->IsEmpty())
- return true;
- }
- return false;
-}
-
-//////////////////////////////////////////////////////////////////////////
-void CSubObjSelContext::ModifySelection( SSubObjSelectionModifyContext &modCtx )
-{
- for (int n = 0; n < GetCount(); n++)
- {
- CSubObjectSelection *pSel = GetSelection(n);
- if (pSel->IsEmpty())
- continue;
- modCtx.pSubObjSelection = pSel;
- pSel->pGeometry->SubObjSelectionModify( modCtx );
- }
- if (modCtx.type == SO_MODIFY_MOVE)
- {
- OnSelectionChange();
- }
-}
-
-//////////////////////////////////////////////////////////////////////////
-void CSubObjSelContext::AcceptModifySelection()
-{
- for (int n = 0; n < GetCount(); n++)
- {
- CSubObjectSelection *pSel = GetSelection(n);
- if (pSel->IsEmpty())
- continue;
- if (pSel->pGeometry)
- pSel->pGeometry->Update();
- }
-}
-
-*/
diff --git a/Code/Editor/Objects/SubObjSelection.h b/Code/Editor/Objects/SubObjSelection.h
deleted file mode 100644
index 9e07bdc203..0000000000
--- a/Code/Editor/Objects/SubObjSelection.h
+++ /dev/null
@@ -1,91 +0,0 @@
-/*
- * Copyright (c) Contributors to the Open 3D Engine Project.
- * For complete copyright and license terms please see the LICENSE at the root of this distribution.
- *
- * SPDX-License-Identifier: Apache-2.0 OR MIT
- *
- */
-
-
-#ifndef CRYINCLUDE_EDITOR_OBJECTS_SUBOBJSELECTION_H
-#define CRYINCLUDE_EDITOR_OBJECTS_SUBOBJSELECTION_H
-#pragma once
-
-//////////////////////////////////////////////////////////////////////////
-// Sub Object element type.
-//////////////////////////////////////////////////////////////////////////
-enum ESubObjElementType
-{
- SO_ELEM_NONE = 0,
- SO_ELEM_VERTEX,
- SO_ELEM_EDGE,
- SO_ELEM_FACE,
- SO_ELEM_POLYGON,
- SO_ELEM_UV,
-};
-
-//////////////////////////////////////////////////////////////////////////
-enum ESubObjDisplayType
-{
- SO_DISPLAY_WIREFRAME,
- SO_DISPLAY_FLAT,
- SO_DISPLAY_GEOMETRY,
-};
-
-//////////////////////////////////////////////////////////////////////////
-// Options for sub-object selection.
-//////////////////////////////////////////////////////////////////////////
-struct SSubObjSelOptions
-{
- bool bSelectByVertex;
- bool bIgnoreBackfacing;
- int nMatID;
-
- bool bSoftSelection;
- float fSoftSelFalloff;
-
- // Display options.
- bool bDisplayBackfacing;
- bool bDisplayNormals;
- float fNormalsLength;
- ESubObjDisplayType displayType;
-
- SSubObjSelOptions()
- {
- bSelectByVertex = false;
- bIgnoreBackfacing = false;
- bSoftSelection = false;
- nMatID = 0;
- fSoftSelFalloff = 1;
-
- bDisplayBackfacing = true;
- bDisplayNormals = false;
- displayType = SO_DISPLAY_FLAT;
- fNormalsLength = 0.4f;
- }
-};
-
-extern SSubObjSelOptions g_SubObjSelOptions;
-
-
-//////////////////////////////////////////////////////////////////////////
-enum ESubObjSelectionModifyType
-{
- SO_MODIFY_UNSELECT,
- SO_MODIFY_MOVE,
- SO_MODIFY_ROTATE,
- SO_MODIFY_SCALE,
-};
-
-//////////////////////////////////////////////////////////////////////////
-// This structure is passed when user is dragging sub object selection.
-//////////////////////////////////////////////////////////////////////////
-struct SSubObjSelectionModifyContext
-{
- CViewport* view;
- ESubObjSelectionModifyType type;
- Vec3 vValue;
- Matrix34 worldRefFrame;
-};
-
-#endif // CRYINCLUDE_EDITOR_OBJECTS_SUBOBJSELECTION_H
diff --git a/Code/Editor/Plugin.h b/Code/Editor/Plugin.h
index 5fa45ac140..dd2637f0e9 100644
--- a/Code/Editor/Plugin.h
+++ b/Code/Editor/Plugin.h
@@ -15,45 +15,6 @@
#include "Util/GuidUtil.h"
#include