mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +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
|
|
@ -67,7 +67,7 @@ GuiFileTreeCtrl::GuiFileTreeCtrl()
|
|||
mSupportMouseDragging = false;
|
||||
mMultipleSelections = false;
|
||||
|
||||
mFileFilter = "*.cs *.gui *.ed.cs";
|
||||
mFileFilter = "*." TORQUE_SCRIPT_EXTENSION " *.gui *.ed." TORQUE_SCRIPT_EXTENSION;
|
||||
_initFilters();
|
||||
}
|
||||
|
||||
|
|
@ -111,7 +111,7 @@ void GuiFileTreeCtrl::updateTree()
|
|||
if( !mRootPath.isEmpty() )
|
||||
rootPath = String::ToString( "%s/%s", rootPath.c_str(), mRootPath.c_str() );
|
||||
|
||||
// get the files in the main.cs dir
|
||||
// get the files in the main.tscript dir
|
||||
Vector<StringTableEntry> pathVec;
|
||||
Platform::dumpDirectories( rootPath, pathVec, 0, true);
|
||||
_dumpFiles( rootPath, pathVec, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue