mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 06:34:36 +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
|
|
@ -23,7 +23,7 @@
|
|||
// Main code for the Datablock Editor plugin.
|
||||
|
||||
|
||||
$DATABLOCK_EDITOR_DEFAULT_FILENAME = "art/datablocks/managedDatablocks.cs";
|
||||
$DATABLOCK_EDITOR_DEFAULT_FILENAME = "art/datablocks/managedDatablocks.tscript";
|
||||
|
||||
//=============================================================================================
|
||||
// Initialization.
|
||||
|
|
@ -375,7 +375,7 @@ function DatablockEditorPlugin::flagDatablockAsDirty(%this, %datablock, %dirty )
|
|||
function DatablockEditorPlugin::showSaveNewFileDialog(%this)
|
||||
{
|
||||
%currentFile = %this.getSelectedDatablock().getFilename();
|
||||
getSaveFilename( "TorqueScript Files|*.cs|All Files|*.*", %this @ ".saveNewFileFinish", %currentFile, false );
|
||||
getSaveFilename( "TorqueScript Files|*.tscript|All Files|*.*", %this @ ".saveNewFileFinish", %currentFile, false );
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------
|
||||
|
|
@ -27,8 +27,8 @@ function initializeDatablockEditor()
|
|||
{
|
||||
echo( " - Initializing Datablock Editor" );
|
||||
|
||||
exec("./datablockEditor.cs");
|
||||
exec("./datablockEditorUndo.cs");
|
||||
exec("./datablockEditor.tscript");
|
||||
exec("./datablockEditorUndo.tscript");
|
||||
exec("./DatablockEditorTreeWindow.ed.gui");
|
||||
exec("./DatablockEditorInspectorWindow.ed.gui");
|
||||
exec("./DatablockEditorCreatePrompt.ed.gui");
|
||||
Loading…
Add table
Add a link
Reference in a new issue