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:
@ -411,7 +411,7 @@ void register_scene_types() {
|
||||
OS::get_singleton()->yield(); // may take time to init
|
||||
|
||||
GDREGISTER_CLASS(Node);
|
||||
GDREGISTER_VIRTUAL_CLASS(MissingNode);
|
||||
GDREGISTER_CLASS(MissingNode);
|
||||
GDREGISTER_ABSTRACT_CLASS(InstancePlaceholder);
|
||||
|
||||
GDREGISTER_ABSTRACT_CLASS(CanvasItem);
|
||||
|
||||
Reference in New Issue
Block a user