mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-09 21:54:35 +00:00
streamline shape asset
shape asset now has the same import "@" as image asset cut out extra filename parameters that arent needed refresh hopefully fixed
This commit is contained in:
parent
542563feaf
commit
fd7342668c
15 changed files with 185 additions and 465 deletions
|
|
@ -119,7 +119,7 @@ void PhysicsDebrisData::initPersistFields()
|
|||
addGroup( "Shapes" );
|
||||
|
||||
INITPERSISTFIELD_SHAPEASSET_REFACTOR(Shape, PhysicsDebrisData, "@brief Shape to use with this debris.\n\n"
|
||||
"Compatable with Live-Asset Reloading.");
|
||||
"Compatable with Live-Asset Reloading.");
|
||||
|
||||
endGroup( "Shapes" );
|
||||
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ void PhysicsShapeData::_onResourceChanged( const Torque::Path &path )
|
|||
{
|
||||
return;
|
||||
}
|
||||
if ( path != Path(mShapeAsset->getShapeFilePath()) )
|
||||
if ( path != Path(mShapeAsset->getShapeFile()) )
|
||||
return;
|
||||
|
||||
_setShape(_getShapeAssetId());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue