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:
JeffR 2026-07-12 13:36:39 -05:00
parent 79f773f38d
commit 0dfab42763
2 changed files with 9 additions and 3 deletions

View file

@ -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;