mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 07:03:46 +00:00
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:
parent
237f5230d7
commit
70a9666cc3
5 changed files with 10 additions and 13 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue