From b76ae2339266f5096d5707f3e92d65afa2859372 Mon Sep 17 00:00:00 2001 From: Yuri Roubinsky Date: Thu, 10 Oct 2019 14:19:48 +0300 Subject: Prevents folding of member tree on drag&drop in visual shader --- editor/plugins/visual_shader_editor_plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/editor/plugins/visual_shader_editor_plugin.cpp b/editor/plugins/visual_shader_editor_plugin.cpp index c962751c7a..3a9e48cfdb 100644 --- a/editor/plugins/visual_shader_editor_plugin.cpp +++ b/editor/plugins/visual_shader_editor_plugin.cpp @@ -178,6 +178,9 @@ bool VisualShaderEditor::_is_available(int p_mode) { } void VisualShaderEditor::update_custom_nodes() { + if (members_dialog->is_visible()) { + return; + } clear_custom_types(); List class_list; ScriptServer::get_global_class_list(&class_list); -- cgit v1.2.3