tidy up NonUniformScaleService compatibility
This commit is contained in:
@@ -47,6 +47,11 @@ namespace NvCloth
|
||||
required.push_back(AZ_CRC("TransformService", 0x8ee22c50));
|
||||
}
|
||||
|
||||
void ClothComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible)
|
||||
{
|
||||
incompatible.push_back(AZ_CRC_CE("NonUniformScaleService"));
|
||||
}
|
||||
|
||||
void ClothComponent::Activate()
|
||||
{
|
||||
// Cloth components do not run on dedicated servers.
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace NvCloth
|
||||
|
||||
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
|
||||
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
|
||||
static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
|
||||
|
||||
const ClothComponentMesh* GetClothComponentMesh() const { return m_clothComponentMesh.get(); }
|
||||
|
||||
|
||||
@@ -415,6 +415,11 @@ namespace NvCloth
|
||||
required.push_back(AZ_CRC("MeshService", 0x71d8a455));
|
||||
}
|
||||
|
||||
void EditorClothComponent::GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible)
|
||||
{
|
||||
incompatible.push_back(AZ_CRC_CE("NonUniformScaleService"));
|
||||
}
|
||||
|
||||
const MeshNodeList& EditorClothComponent::GetMeshNodeList() const
|
||||
{
|
||||
return m_meshNodeList;
|
||||
|
||||
@@ -39,6 +39,7 @@ namespace NvCloth
|
||||
|
||||
static void GetProvidedServices(AZ::ComponentDescriptor::DependencyArrayType& provided);
|
||||
static void GetRequiredServices(AZ::ComponentDescriptor::DependencyArrayType& required);
|
||||
static void GetIncompatibleServices(AZ::ComponentDescriptor::DependencyArrayType& incompatible);
|
||||
|
||||
const MeshNodeList& GetMeshNodeList() const;
|
||||
const AZStd::unordered_set<AZStd::string>& GetMeshNodesWithBackstopData() const;
|
||||
|
||||
Reference in New Issue
Block a user