From 0fffa45158bebeb4aaba1df1d271c000fffbe7f7 Mon Sep 17 00:00:00 2001 From: Maxim Sheronov Date: Tue, 12 Sep 2017 22:09:06 +0300 Subject: Fix enums bindings Add missed bindings for enums Move some enums to class to have correct output of api.json --- scene/gui/tree.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'scene/gui/tree.cpp') diff --git a/scene/gui/tree.cpp b/scene/gui/tree.cpp index db282262e..662f95e61 100644 --- a/scene/gui/tree.cpp +++ b/scene/gui/tree.cpp @@ -759,6 +759,10 @@ void TreeItem::_bind_methods() { BIND_ENUM_CONSTANT(CELL_MODE_RANGE_EXPRESSION); BIND_ENUM_CONSTANT(CELL_MODE_ICON); BIND_ENUM_CONSTANT(CELL_MODE_CUSTOM); + + BIND_ENUM_CONSTANT(ALIGN_LEFT); + BIND_ENUM_CONSTANT(ALIGN_CENTER); + BIND_ENUM_CONSTANT(ALIGN_RIGHT); } void TreeItem::clear_children() { -- cgit v1.2.3-70-g09d2