mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-03 12:30:31 +00:00
Expands/Cleans up a lot of the asset functionality, including management, file association, and creation/importing
This commit is contained in:
parent
a366f65047
commit
4422082035
73 changed files with 4468 additions and 1876 deletions
|
|
@ -1,8 +1,21 @@
|
|||
function AssetBrowser_selectModule::onWake(%this)
|
||||
function AssetBrowser_SelectModule::onWake(%this)
|
||||
{
|
||||
AssetBrowser_SelectModuleWindow-->ModuleList.refresh();
|
||||
}
|
||||
|
||||
function AssetBrowser_SelectModule::moduleSelected(%this)
|
||||
{
|
||||
Canvas.popDialog(AssetBrowser_SelectModule);
|
||||
|
||||
%module = AssetBrowser_SelectModuleWindow-->ModuleList.getText();
|
||||
echo("Module Selected: " @ %module);
|
||||
|
||||
if(%this.callback !$= "")
|
||||
eval(%this.callback @ "(" @ %module @ ");");
|
||||
else
|
||||
error("AssetBrowser_SelectModule - Invalid callback");
|
||||
}
|
||||
|
||||
function SelectModule_NewAssetModuleBtn::onClick(%this)
|
||||
{
|
||||
Canvas.pushDialog(AssetBrowser_AddModule);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue