Merge pull request #1373 from Azaezel/alpha41/matEDmangle

fix material editor becoming nonresponsive when specifically dragging…
This commit is contained in:
Brian Roberts 2025-01-29 00:16:31 -06:00 committed by GitHub
commit cb63b382ff
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2733,6 +2733,11 @@ function matEdDragNDropMapAssignment(%type, %payload)
MaterialEditorGui.guiSync( materialEd_previewMaterial );
MaterialEditorGui.doUpdateTextureMap( %assetId );
Canvas.popDialog(EditorDragAndDropLayer);
if(EditorSettings.value("AssetManagement/Assets/closeBrowserOnDragAction", false))
{
AssetBrowser.hideDialog();
}
}
function materialEditorDiffuseMapContainer::onControlDropped( %this, %payload, %position )