mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
Parametrize script extension, default to 'tscript'
This commit is contained in:
parent
b8b62292bd
commit
099dd4f1f3
542 changed files with 774 additions and 783 deletions
|
|
@ -24,12 +24,12 @@ function initializeDecalEditor()
|
|||
{
|
||||
echo(" % - Initializing Decal Editor");
|
||||
|
||||
$decalDataFile = "art/decals/managedDecalData.cs";
|
||||
$decalDataFile = "art/decals/managedDecalData.tscript";
|
||||
|
||||
exec( "./decalEditor.cs" );
|
||||
exec( "./decalEditor.tscript" );
|
||||
exec( "./decalEditorGui.gui" );
|
||||
exec( "./decalEditorGui.cs" );
|
||||
exec( "./decalEditorActions.cs" );
|
||||
exec( "./decalEditorGui.tscript" );
|
||||
exec( "./decalEditorActions.tscript" );
|
||||
|
||||
// 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.cs" );
|
||||
exec( "./decalEditor.cs" );
|
||||
exec( "./decalEditorGui.cs" );
|
||||
exec( "./main.tscript" );
|
||||
exec( "./decalEditor.tscript" );
|
||||
exec( "./decalEditorGui.tscript" );
|
||||
}
|
||||
|
||||
function DecalEditorPlugin::onWorldEditorStartup( %this )
|
||||
Loading…
Add table
Add a link
Reference in a new issue