mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +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
|
|
@ -176,7 +176,7 @@ void register_core_types() {
|
|||
GDREGISTER_VIRTUAL_CLASS(ScriptExtension);
|
||||
GDREGISTER_VIRTUAL_CLASS(ScriptLanguageExtension);
|
||||
|
||||
GDREGISTER_VIRTUAL_CLASS(MissingResource);
|
||||
GDREGISTER_CLASS(MissingResource);
|
||||
GDREGISTER_CLASS(Image);
|
||||
|
||||
GDREGISTER_CLASS(Shortcut);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue