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:
marauder2k7 2025-06-20 15:58:20 +01:00
parent 542563feaf
commit fd7342668c
15 changed files with 185 additions and 465 deletions

View file

@ -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" );

View file

@ -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());