Merge pull request #91845 from ryevdokimov/disable-freelook-when-drag-and-drop
Disable viewports inputs when dragging and dropping into the viewport
This commit is contained in:
commit
4949e96b0b
|
@ -1645,7 +1645,7 @@ void Node3DEditorViewport::input(const Ref<InputEvent> &p_event) {
|
|||
}
|
||||
|
||||
void Node3DEditorViewport::_sinput(const Ref<InputEvent> &p_event) {
|
||||
if (previewing) {
|
||||
if (previewing || get_viewport()->gui_get_drag_data()) {
|
||||
return; //do NONE
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue