Merge pull request #32708 from Chaosus/vs_fix

Prevents folding of member tree on drag&drop in visual shader
This commit is contained in:
Yuri Roubinsky 2019-10-10 14:39:34 +03:00 committed by GitHub
commit 0148112730
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);