Fix cloth editor component logic to keep the last known mesh node and restore it later.

- Fix cloth editor component logic to keep the last known mesh node and restore it later.
- Fix cloth assets slices, materials were missing.
This commit is contained in:
Aaron Ruiz Mora
2021-04-26 15:49:44 +01:00
committed by GitHub
parent 3f32cc929c
commit fbfc2e4968
8 changed files with 53 additions and 48 deletions
@@ -70,7 +70,7 @@ namespace NvCloth
// This list is not serialized, it's compiled when the asset has been received via MeshComponentNotificationBus.
MeshNodeList m_meshNodeList;
AZStd::string m_previousMeshNode;
AZStd::string m_lastKnownMeshNode;
AZStd::unordered_set<AZStd::string> m_meshNodesWithBackstopData;