diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2019-10-10 14:19:48 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2019-10-10 14:19:48 +0300 |
commit | b76ae2339266f5096d5707f3e92d65afa2859372 (patch) | |
tree | db1976eca92985533e57a4fcf4675a71aced71ea | |
parent | 2c84a9651f25328d3cdde703e5eb4ea6387313b6 (diff) |
Prevents folding of member tree on drag&drop in visual shader
-rw-r--r-- | editor/plugins/visual_shader_editor_plugin.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<StringName> class_list; ScriptServer::get_global_class_list(&class_list); |