mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 22:54:34 +00:00
lotsa fixes.
This commit is contained in:
parent
db047275f1
commit
6f7fdca87d
178 changed files with 230 additions and 245 deletions
|
|
@ -778,6 +778,8 @@ function MaterialSelector::buildStaticFilters( %this )
|
|||
// if you want to add any more containers to staticFilterObjects, here's
|
||||
// where to do it
|
||||
|
||||
%filterArray = MaterialSelector-->filterArray;
|
||||
|
||||
%staticFilterContainer = new GuiControl (){
|
||||
new GuiContainer(){
|
||||
profile = "ToolsGuiDefaultProfile";
|
||||
|
|
@ -1366,7 +1368,7 @@ function MaterialSelector::loadMaterialFilters( %this )
|
|||
// create category and update current material if there is one
|
||||
function MaterialSelector::createFilter( %this, %filter )
|
||||
{
|
||||
if( %filter $= %existingFilters )
|
||||
if( %filter $= "" )
|
||||
{
|
||||
toolsMessageBoxOK( "Error", "Can not create blank filter.");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue