1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

[Fix #58248] Add custom type check before hiding type

This commit is contained in:
Adam Scott
2022-03-21 18:26:37 -04:00
parent 391633760b
commit 35e8c09b10

View File

@@ -125,7 +125,7 @@ bool CreateDialog::_should_hide_type(const String &p_type) const {
return true; // Do not show editor nodes.
}
if (p_type == base_type) {
if (p_type == base_type && !EditorNode::get_editor_data().get_custom_types().has(p_type)) {
return true; // Root is already added.
}