mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
fix material editor becoming nonresponsive when specifically dragging and dropping a texture
This commit is contained in:
parent
b105fce2f2
commit
5a0b9a5120
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Reference in a new issue