mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Make MissingNode/MissingResource non-virtual and hide from dialogs
This allows ClassDB to get the default values for inherited properties. The `MissingNode` and `MissingResource` types are excluded from the create dialog and the inspector's Resource selector.
This commit is contained in:
parent
295e465fe4
commit
6faa4e369a
4 changed files with 18 additions and 4 deletions
|
|
@ -856,6 +856,8 @@ CreateDialog::CreateDialog() {
|
|||
|
||||
type_blacklist.insert("PluginScript"); // PluginScript must be initialized before use, which is not possible here.
|
||||
type_blacklist.insert("ScriptCreateDialog"); // This is an exposed editor Node that doesn't have an Editor prefix.
|
||||
type_blacklist.insert("MissingNode");
|
||||
type_blacklist.insert("MissingResource");
|
||||
|
||||
HSplitContainer *hsc = memnew(HSplitContainer);
|
||||
add_child(hsc);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue