Files
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

385 lines
17 KiB
Plaintext

{
"ContainerEntity": {
"Id": "ContainerEntity",
"Name": "Chicken_Actor",
"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_[303447173544404]": {
"Id": "Entity_[303447173544404]",
"Name": "Chicken Rigidbody",
"Components": {
"Component_[11254527722826929517]": {
"$type": "EditorLockComponent",
"Id": 11254527722826929517
},
"Component_[11752612383131299817]": {
"$type": "EditorInspectorComponent",
"Id": 11752612383131299817,
"ComponentOrderEntryArray": [
{
"ComponentId": 12470135924384913029
}
]
},
"Component_[12004522441155896281]": {
"$type": "EditorPendingCompositionComponent",
"Id": 12004522441155896281
},
"Component_[12327847693349375221]": {
"$type": "EditorVisibilityComponent",
"Id": 12327847693349375221
},
"Component_[12470135924384913029]": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 12470135924384913029,
"Parent Entity": "ContainerEntity"
},
"Component_[14919455666821657531]": {
"$type": "EditorEntitySortComponent",
"Id": 14919455666821657531,
"ChildEntityOrderEntryArray": [
{
"EntityId": "Entity_[303451468511700]"
}
]
},
"Component_[16643225638363527013]": {
"$type": "EditorOnlyEntityComponent",
"Id": 16643225638363527013
},
"Component_[17083722249682325420]": {
"$type": "EditorEntityIconComponent",
"Id": 17083722249682325420
},
"Component_[4274252334406790321]": {
"$type": "EditorDisabledCompositionComponent",
"Id": 4274252334406790321
},
"Component_[786957291078135994]": {
"$type": "SelectionComponent",
"Id": 786957291078135994
}
}
},
"Entity_[303451468511700]": {
"Id": "Entity_[303451468511700]",
"Name": "Chicken_Actor",
"Components": {
"Component_[10153184769011204037]": {
"$type": "SelectionComponent",
"Id": 10153184769011204037
},
"Component_[12307288056972997582]": {
"$type": "EditorLockComponent",
"Id": 12307288056972997582
},
"Component_[16388291370935886976]": {
"$type": "EditorEntityIconComponent",
"Id": 16388291370935886976
},
"Component_[17273633015317842366]": {
"$type": "EditorPendingCompositionComponent",
"Id": 17273633015317842366
},
"Component_[18385928157765337756]": {
"$type": "EditorActorComponent",
"Id": 18385928157765337756,
"ActorAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 166954688
},
"assetHint": "objects/cloth/chicken/actor/chicken.actor"
},
"MaterialPerLOD": [
{
"AssetPath": "objects/cloth/chicken/actor/chicken.mtl"
}
],
"MaterialPerActor": {
"AssetPath": "objects/cloth/chicken/actor/chicken.mtl"
},
"AttachmentTarget": ""
},
"Component_[2933618168100824891]": {
"$type": "EditorSimpleMotionComponent",
"Id": 2933618168100824891,
"Configuration": {
"MotionAsset": {
"assetId": {
"guid": "{37045429-A151-5646-97CF-BE931A35C0FC}",
"subId": 2264735902
},
"assetHint": "objects/cloth/chicken/motions/chickenidle.motion"
},
"Loop": true,
"PlaySpeed": 1.2000000476837158
}
},
"Component_[3482722103355682975]": {
"$type": "EditorDisabledCompositionComponent",
"Id": 3482722103355682975
},
"Component_[4826327274018205895]": {
"$type": "EditorOnlyEntityComponent",
"Id": 4826327274018205895
},
"Component_[5939417605550024797]": {
"$type": "EditorVisibilityComponent",
"Id": 5939417605550024797
},
"Component_[7236637452394054627]": {
"$type": "EditorClothComponent",
"Id": 7236637452394054627,
"Configuration": {
"Mesh Node": "chicken_mohawk_1",
"Mass": 4.0,
"Remove Static Triangles": false
}
},
"Component_[868427789695884987]": {
"$type": "EditorEntitySortComponent",
"Id": 868427789695884987
},
"Component_[9845606399230319505]": {
"$type": "{27F1E1A1-8D9D-4C3B-BD3A-AFB9762449C0} TransformComponent",
"Id": 9845606399230319505,
"Parent Entity": "Entity_[303447173544404]",
"Transform Data": {
"Rotate": [
0.0,
0.0,
-0.00006830000347690657
]
}
},
"Component_[9927411050130082647]": {
"$type": "EditorMaterialComponent",
"Id": 9927411050130082647,
"Controller": {
"Configuration": {
"materials": [
{
"Key": {
"materialSlotStableId": 668669130
},
"Value": {
"MaterialAsset": {
"assetId": {
"guid": "{FB34D8F7-E8CA-542D-92A3-F0E04F3A3EC3}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat.azmaterial"
}
}
},
{
"Key": {
"materialSlotStableId": 1541321207
},
"Value": {
"MaterialAsset": {
"assetId": {
"guid": "{6114C408-26EE-51DC-8733-A07800BF4991}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat.azmaterial"
}
}
},
{
"Key": {
"materialSlotStableId": 2608524672
},
"Value": {
"MaterialAsset": {
"assetId": {
"guid": "{80F92051-203E-52CE-B4D6-E3AED21795C9}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat.azmaterial"
}
}
}
]
}
},
"materialSlots": [
{
"id": {
"materialSlotStableId": 668669130
},
"materialAsset": {
"assetId": {
"guid": "{FB34D8F7-E8CA-542D-92A3-F0E04F3A3EC3}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat.azmaterial"
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 668669130
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat_4404500000782619850.azmaterial"
}
},
{
"id": {
"materialSlotStableId": 1541321207
},
"materialAsset": {
"assetId": {
"guid": "{6114C408-26EE-51DC-8733-A07800BF4991}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat.azmaterial"
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 1541321207
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat_10184937185004663287.azmaterial"
}
},
{
"id": {
"materialSlotStableId": 2608524672
},
"materialAsset": {
"assetId": {
"guid": "{80F92051-203E-52CE-B4D6-E3AED21795C9}"
},
"assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat.azmaterial"
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 2608524672
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat_13891540077583723904.azmaterial"
}
}
],
"materialSlotsByLod": [
[
{
"id": {
"lodIndex": 0,
"materialSlotStableId": 668669130
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 668669130
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_body_mat_4404500000782619850.azmaterial"
}
},
{
"id": {
"lodIndex": 0,
"materialSlotStableId": 1541321207
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 1541321207
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_chicken_eye_mat_10184937185004663287.azmaterial"
}
},
{
"id": {
"lodIndex": 0,
"materialSlotStableId": 2608524672
},
"defaultMaterialAsset": {
"assetId": {
"guid": "{3E4C6A29-92A4-523E-8739-F3E64957569E}",
"subId": 2608524672
},
"loadBehavior": "PreLoad",
"assetHint": "objects/cloth/chicken/actor/chicken_mohawkmat_13891540077583723904.azmaterial"
}
}
]
]
},
"Component_[9979479216337101498]": {
"$type": "EditorInspectorComponent",
"Id": 9979479216337101498,
"ComponentOrderEntryArray": [
{
"ComponentId": 9845606399230319505
},
{
"ComponentId": 18385928157765337756,
"SortIndex": 1
},
{
"ComponentId": 2933618168100824891,
"SortIndex": 2
},
{
"ComponentId": 8777596718122199558,
"SortIndex": 3
},
{
"ComponentId": 7236637452394054627,
"SortIndex": 4
}
]
}
}
}
}
}