Warning System Changes (polish) Redo (#4009)
* Restores the branch to the old status from old branch Signed-off-by: aaguilea <aaguilea@amazon.com> * Changes that didnt make it from merge manually fixed Signed-off-by: aaguilea <aaguilea@amazon.com> * forgot one Signed-off-by: aaguilea <aaguilea@amazon.com> * Added Ebus in order to remove rigidbody's dependencies Signed-off-by: aaguilea <aaguilea@amazon.com> * answering some of the comments in the PR Signed-off-by: aaguilea <aaguilea@amazon.com> * Small typo changed Signed-off-by: aaguilea <aaguilea@amazon.com>
This commit is contained in:
committed by
GitHub
parent
c28bc7c6d8
commit
4167bb6cde
@@ -58,8 +58,8 @@ namespace PhysX
|
||||
//! Proxy container for only displaying a specific shape configuration depending on the shapeType selected.
|
||||
struct EditorProxyShapeConfig
|
||||
{
|
||||
AZ_CLASS_ALLOCATOR(PhysX::EditorProxyShapeConfig, AZ::SystemAllocator, 0);
|
||||
AZ_RTTI(PhysX::EditorProxyShapeConfig, "{531FB42A-42A9-4234-89BA-FD349EF83D0C}");
|
||||
AZ_CLASS_ALLOCATOR(EditorProxyShapeConfig, AZ::SystemAllocator, 0);
|
||||
AZ_RTTI(EditorProxyShapeConfig, "{531FB42A-42A9-4234-89BA-FD349EF83D0C}");
|
||||
static void Reflect(AZ::ReflectContext* context);
|
||||
|
||||
EditorProxyShapeConfig() = default;
|
||||
@@ -106,6 +106,7 @@ namespace PhysX
|
||||
, private PhysX::ColliderShapeRequestBus::Handler
|
||||
, private AZ::Render::MeshComponentNotificationBus::Handler
|
||||
, private PhysX::EditorColliderComponentRequestBus::Handler
|
||||
, private PhysX::EditorColliderValidationRequestBus::Handler
|
||||
, private AzPhysics::SimulatedBodyComponentRequestsBus::Handler
|
||||
{
|
||||
public:
|
||||
@@ -197,6 +198,9 @@ namespace PhysX
|
||||
void SetAssetScale(const AZ::Vector3& scale) override;
|
||||
AZ::Vector3 GetAssetScale() override;
|
||||
|
||||
// PhysX::EditorColliderValidationRequestBus overrides ...
|
||||
void ValidateRigidBodyMeshGeometryType() override;
|
||||
|
||||
AZ::Transform GetColliderLocalTransform() const;
|
||||
|
||||
EditorProxyShapeConfig m_shapeConfiguration;
|
||||
@@ -223,8 +227,6 @@ namespace PhysX
|
||||
|
||||
void BuildDebugDrawMesh() const;
|
||||
|
||||
void ValidateRigidBodyMeshGeometryType();
|
||||
|
||||
AZ::ComponentDescriptor::StringWarningArray GetComponentWarnings() const { return m_componentWarnings; };
|
||||
|
||||
using ComponentModeDelegate = AzToolsFramework::ComponentModeFramework::ComponentModeDelegate;
|
||||
|
||||
Reference in New Issue
Block a user