mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 05:50:31 +00:00
fix material editor becoming nonresponsive when specifically dragging and dropping a texture
This commit is contained in:
parent
b105fce2f2
commit
5a0b9a5120
1 changed files with 5 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue