Files
o3de/Gems/NvCloth/Assets/prefabs/Cloth/cloth_blinds_broken.prefab
moraaar 9a0ea2c4c5 Fixed NvCloth assets, NvCloth automated test scripts, ModelAsset cloning and UI reverse overrides menu crash (#3851)
- Fixed cloth asset, which stopped working due to Updated skeleton logic: #2957 which changes how fbx graph nodes are collected (affecting its names, which is used by cloth modifier).
- Fixed cloth test suite active call to base's run_test function. It stopped working when its signature was changed here: 182d410#diff-3f5d93b0a76c838893693f19f2eacfe3e67040d445d6463c5c425ef5075cb409
- Renamed nvcloth TestSuite_Active.py to TestSuite_Main.py to be consistent with the other test folders.
- Fixed ModelAsset creator clone function. It was missing to copy the material slots, ultimately causing Material Component to show 0 material slots.
- Fixed crash where the revert overrides menu was not created when checking changes for selected component and selected entities.

Signed-off-by: moraaar moraaar@amazon.com
2021-09-02 09:35:12 +01:00

224 lines
9.3 KiB
Plaintext

{
"ContainerEntity": {
"Id": "ContainerEntity",
"Name": "cloth_blinds_broken",
"Components": {
"Component_[10182366347512475253]": {
"$type": "EditorPrefabComponent",
"Id": 10182366347512475253
},
"Component_[12917798267488243668]": {
"$type": "EditorPendingCompositionComponent",
"Id": 12917798267488243668
},
"Component_[3261249813163778338]": {
"$type": "EditorOnlyEntityComponent",
"Id": 3261249813163778338
},
"Component_[3837204912784440039]": {
"$type": "EditorDisabledCompositionComponent",
"Id": 3837204912784440039
},
"Component_[4272963378099646759]": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 4272963378099646759,
"Parent Entity": ""
},
"Component_[4848458548047175816]": {
"$type": "EditorVisibilityComponent",
"Id": 4848458548047175816
},
"Component_[5787060997243919943]": {
"$type": "EditorInspectorComponent",
"Id": 5787060997243919943
},
"Component_[7804170251266531779]": {
"$type": "EditorLockComponent",
"Id": 7804170251266531779
},
"Component_[7874177159288365422]": {
"$type": "EditorEntitySortComponent",
"Id": 7874177159288365422
},
"Component_[8018146290632383969]": {
"$type": "EditorEntityIconComponent",
"Id": 8018146290632383969
},
"Component_[8452360690590857075]": {
"$type": "SelectionComponent",
"Id": 8452360690590857075
}
}
},
"Entities": {
"Entity_[303326914460116]": {
"Id": "Entity_[303326914460116]",
"Name": "cloth_blinds_broken",
"Components": {
"Component_[10786078036233199116]": {
"$type": "EditorClothComponent",
"Id": 10786078036233199116,
"Configuration": {
"Mesh Node": "pPlane1_1",
"Damping": [
0.0,
0.0,
0.0
],
"Linear Drag": [
0.0,
0.0,
0.0
],
"Angular Drag": [
0.0,
0.0,
0.0
],
"Wind Velocity": [
5.0,
0.0,
0.0
],
"Update Normals of Static Particles": true
}
},
"Component_[11765361670726469628]": {
"$type": "AZ::Render::EditorMeshComponent",
"Id": 11765361670726469628,
"Controller": {
"Configuration": {
"ModelAsset": {
"assetId": {
"guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}",
"subId": 270272858
},
"assetHint": "objects/cloth/environment/cloth_blinds_broken.azmodel"
}
}
}
},
"Component_[13771990625644339755]": {
"$type": "EditorEntitySortComponent",
"Id": 13771990625644339755
},
"Component_[14712436598236321787]": {
"$type": "EditorLockComponent",
"Id": 14712436598236321787
},
"Component_[14930554686244012752]": {
"$type": "EditorDisabledCompositionComponent",
"Id": 14930554686244012752
},
"Component_[16955243819980352058]": {
"$type": "EditorPendingCompositionComponent",
"Id": 16955243819980352058
},
"Component_[17396749751570379839]": {
"$type": "EditorVisibilityComponent",
"Id": 17396749751570379839
},
"Component_[2237683366320350918]": {
"$type": "SelectionComponent",
"Id": 2237683366320350918
},
"Component_[4939437553142322315]": {
"$type": "EditorEntityIconComponent",
"Id": 4939437553142322315
},
"Component_[5681411293917950785]": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 5681411293917950785,
"Parent Entity": "ContainerEntity"
},
"Component_[7046686956433693767]": {
"$type": "EditorInspectorComponent",
"Id": 7046686956433693767,
"ComponentOrderEntryArray": [
{
"ComponentId": 5681411293917950785
},
{
"ComponentId": 10786078036233199116,
"SortIndex": 1
},
{
"ComponentId": 11765361670726469628,
"SortIndex": 2
},
{
"ComponentId": 538074694053236341,
"SortIndex": 3
}
]
},
"Component_[7873865615483617838]": {
"$type": "EditorMaterialComponent",
"Id": 7873865615483617838,
"Controller": {
"Configuration": {
"materials": [
{
"Key": {
"materialSlotStableId": 902256226
},
"Value": {
"MaterialAsset": {
"assetId": {
"guid": "{EB6CB909-E4BB-54CB-8CAE-6A4B4F203B1B}"
},
"assetHint": "objects/cloth/environment/cloth_blinds_broken.azmaterial"
}
}
}
]
}
},
"materialSlots": [
{
"id": {
"materialSlotStableId": 902256226
},
"materialAsset": {
"assetId": {
"guid": "{EB6CB909-E4BB-54CB-8CAE-6A4B4F203B1B}"
},
"assetHint": "objects/cloth/environment/cloth_blinds_broken.azmaterial"
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}",
"subId": 902256226
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/environment/cloth_blinds_broken_lambert1_3614897150141879906.azmaterial"
}
}
],
"materialSlotsByLod": [
[
{
"id": {
"lodIndex": 0,
"materialSlotStableId": 902256226
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{A64AD477-5E35-5834-A9A3-580B9D708E0C}",
"subId": 902256226
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/environment/cloth_blinds_broken_lambert1_3614897150141879906.azmaterial"
}
}
]
]
},
"Component_[9565338131843702938]": {
"$type": "EditorOnlyEntityComponent",
"Id": 9565338131843702938
}
}
}
}
}