diff options
author | merumelu <merumelu@protonmail.com> | 2019-08-26 19:47:24 +0200 |
---|---|---|
committer | merumelu <merumelu@protonmail.com> | 2019-08-26 19:47:24 +0200 |
commit | 32ae896eefada8432ecf264fff627830fb8a299c (patch) | |
tree | 38f00f9ce88c14f665fdd0d1b72b3c36682be62d | |
parent | be99e7b68f554fbdb7d9f979265542f4bd6724bd (diff) |
Register ReferenceRect when building with ADVANCED_GUI_DISABLED
-rw-r--r-- | scene/register_scene_types.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index 53bdb4145f..06d84302a3 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -304,6 +304,7 @@ void register_scene_types() { ClassDB::register_class<TextureRect>(); ClassDB::register_class<ColorRect>(); ClassDB::register_class<NinePatchRect>(); + ClassDB::register_class<ReferenceRect>(); ClassDB::register_class<TabContainer>(); ClassDB::register_class<Tabs>(); ClassDB::register_virtual_class<Separator>(); @@ -339,7 +340,6 @@ void register_scene_types() { ClassDB::register_virtual_class<TreeItem>(); ClassDB::register_class<OptionButton>(); ClassDB::register_class<SpinBox>(); - ClassDB::register_class<ReferenceRect>(); ClassDB::register_class<ColorPicker>(); ClassDB::register_class<ColorPickerButton>(); ClassDB::register_class<RichTextLabel>(); |