mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Improve handling of non-default script filenames
This commit is contained in:
parent
099dd4f1f3
commit
9ccaa6d3ea
118 changed files with 534 additions and 528 deletions
|
|
@ -24,12 +24,12 @@ function initializeDecalEditor()
|
|||
{
|
||||
echo(" % - Initializing Decal Editor");
|
||||
|
||||
$decalDataFile = "art/decals/managedDecalData.tscript";
|
||||
$decalDataFile = "art/decals/managedDecalData." @ $TorqueScriptFileExtension;
|
||||
|
||||
exec( "./decalEditor.tscript" );
|
||||
exec( "./decalEditor." @ $TorqueScriptFileExtension );
|
||||
exec( "./decalEditorGui.gui" );
|
||||
exec( "./decalEditorGui.tscript" );
|
||||
exec( "./decalEditorActions.tscript" );
|
||||
exec( "./decalEditorGui." @ $TorqueScriptFileExtension );
|
||||
exec( "./decalEditorActions." @ $TorqueScriptFileExtension );
|
||||
|
||||
// Add ourselves to EditorGui, where all the other tools reside
|
||||
DecalEditorGui.setVisible( false );
|
||||
|
|
@ -66,9 +66,9 @@ function destroyDecalEditor()
|
|||
// JCF: helper for during development
|
||||
function reinitDecalEditor()
|
||||
{
|
||||
exec( "./main.tscript" );
|
||||
exec( "./decalEditor.tscript" );
|
||||
exec( "./decalEditorGui.tscript" );
|
||||
exec( "./main." @ $TorqueScriptFileExtension );
|
||||
exec( "./decalEditor." @ $TorqueScriptFileExtension );
|
||||
exec( "./decalEditorGui." @ $TorqueScriptFileExtension );
|
||||
}
|
||||
|
||||
function DecalEditorPlugin::onWorldEditorStartup( %this )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue