mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
Fixes a few minor behavioral issues with the MaterialEditor
- Fixes not properly handling TypeMaterialAssetRef - Fixed erroneous sanity checks that prevented temp editing mats from being made for the editor
This commit is contained in:
parent
79f773f38d
commit
0dfab42763
2 changed files with 9 additions and 3 deletions
|
|
@ -245,6 +245,11 @@ function GuiInspectorTypeMaterialAssetPtr::onControlDropped( %this, %payload, %p
|
|||
EWorldEditor.isDirty = true;
|
||||
}
|
||||
|
||||
function GuiInspectorTypeMaterialAssetRef::onControlDropped( %this, %payload, %position )
|
||||
{
|
||||
GuiInspectorTypeMaterialAssetPtr::onControlDropped( %this, %payload, %position );
|
||||
}
|
||||
|
||||
function GuiInspectorGroup::buildMaterialInheritListField(%this, %fieldName, %fieldLabel, %fieldDesc, %fieldDefaultVal, %fieldDataVals, %callbackName, %ownerObj)
|
||||
{
|
||||
%extent = 18;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue