Removes erroneous assignment of loaded state onto fallback assets when we fail to find an assetId by filename for image and shape assets

Fixed handling of TSStatics' materialSlot fields, where if the field has been changed, it properly loads the modified field and ensures the reskin action happens correctly.
Changed text on some context popup menu to better indicate the action Views loose files, not imports them
Makes the Loose File Viewer skip cached.dts files.
This commit is contained in:
JeffR 2022-05-25 00:12:12 -05:00
parent 237f5230d7
commit 70a9666cc3
5 changed files with 10 additions and 13 deletions

View file

@ -419,6 +419,8 @@ bool TSStatic::_createShape()
// Reapply the current skin
mAppliedSkinName = "";
reSkin();
updateMaterials();
}
prepCollision();
@ -1619,8 +1621,6 @@ void TSStatic::updateMaterials()
}
}
mChangingMaterials.clear();
// Initialize the material instances
mShapeInstance->initMaterialList();
}