mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-12 17:00:51 +00:00
hooks up shapebase children breadcrumb
(lets you select an object-instance in game and review it via the shape editor) TODO: hutn why lists aren't propagating
This commit is contained in:
parent
6441ecd941
commit
6f23eed8e0
1 changed files with 2 additions and 0 deletions
|
|
@ -61,6 +61,8 @@ function ShapeEditor::getObjectShapeFile( %this, %obj )
|
|||
%path = %obj.shapeAsset !$= "" ? %obj.shapeAsset : %obj.shapeName;
|
||||
else if ( %obj.isMemberOfClass( "PhysicsShape" ) )
|
||||
%path = %obj.getDataBlock().shapeName;
|
||||
else if ( %obj.isMemberOfClass( "ShapeBase" ) )
|
||||
%path = %obj.getDataBlock().shapeAsset !$= "" ? %obj.getDataBlock().shapeAsset : %obj.getDataBlock().shapeFile;
|
||||
else if ( %obj.isMemberOfClass( "GameBase" ) )
|
||||
%path = %obj.getDataBlock().shapeFile;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue