diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-08-27 08:22:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-27 08:22:49 +0200 |
commit | 9650531bc588dd7330aca0003dea77113dbd29a3 (patch) | |
tree | ad09af6ab16be79193fd1086b5f3962fe011f690 | |
parent | 91cfe7a2279e8ca6806e13d7d3474d3ec28a2103 (diff) | |
parent | 32ae896eefada8432ecf264fff627830fb8a299c (diff) |
Merge pull request #31685 from merumelu/referencerect-with-advanced-gui-disabled
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>(); |