mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 14:25:38 +00:00
Merge pull request #495 from JeffProgrammer/tsneo
TorqueScript Interpreter 2.0
This commit is contained in:
commit
6487e2eede
309 changed files with 9842 additions and 10062 deletions
|
|
@ -263,6 +263,8 @@ function AssetBrowser::selectAsset( %this, %asset )
|
|||
//eval("materialEd_previewMaterial." @ %propertyField @ " = " @ %value @ ";");
|
||||
if( AssetBrowser.returnType $= "name" )
|
||||
{
|
||||
// TODO!
|
||||
%name = "";
|
||||
eval( "" @ AssetBrowser.selectCallback @ "(" @ %name @ ");");
|
||||
}
|
||||
else
|
||||
|
|
@ -689,6 +691,7 @@ function AssetBrowser::loadDirectories( %this )
|
|||
//Remove any modules that have no assets if we have that filter on
|
||||
if(%this.onlyShowModulesWithAssets)
|
||||
{
|
||||
%modulesList = ModuleDatabase.findModules();
|
||||
for(%i=0; %i < getWordCount(%modulesList); %i++)
|
||||
{
|
||||
%moduleName = getWord(%modulesList, %i).ModuleId;
|
||||
|
|
@ -931,6 +934,8 @@ function AssetBrowser::addCreatorClass(%this, %class, %name, %buildfunc)
|
|||
if ( %name $= "" )
|
||||
%name = %class;
|
||||
|
||||
// TODO
|
||||
%group = "";
|
||||
if ( %this.currentCreatorGroup !$= "" && %group $= "" )
|
||||
%group = %this.currentCreatorGroup;
|
||||
|
||||
|
|
@ -1074,6 +1079,13 @@ function AssetBrowser::toggleTagFilterPopup(%this)
|
|||
//now, add the asset's category
|
||||
%assetType = AssetDatabase.getAssetCategory(%assetId);
|
||||
|
||||
// TODO?
|
||||
%text = "";
|
||||
%var = "";
|
||||
%cmd = "";
|
||||
%textLength = strlen(%text);
|
||||
// end todo
|
||||
|
||||
%checkBox = new GuiCheckBoxCtrl()
|
||||
{
|
||||
canSaveDynamicFields = "0";
|
||||
|
|
@ -1134,6 +1146,9 @@ function AssetBrowser::reImportAsset(%this)
|
|||
//if(%assetType $= "ImageAsset")
|
||||
// %filters = "";
|
||||
|
||||
//TODO
|
||||
%currentFile = "";
|
||||
|
||||
%dlg = new OpenFileDialog()
|
||||
{
|
||||
Filters = "(All Files (*.*)|*.*|";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue