summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortheuserbl <theuserbl@hotmail.com>2015-02-27 11:09:57 +0100
committertheuserbl <theuserbl@hotmail.com>2015-02-27 11:09:57 +0100
commit525f2fe995d71f5321f19cd0e4076fcad526c5b5 (patch)
treeb7abb409c5d32d8765cfa542965ac0f9264702e9
parent1d7337ba10ad593f0786d3e356cf0b05aa9be2b4 (diff)
Update register_scene_types.cpp
Makes ToolButton usable for GDScript
-rw-r--r--scene/register_scene_types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index ff525203bf..a1c4aaf811 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -76,6 +76,7 @@
#include "scene/gui/reference_frame.h"
#include "scene/gui/graph_node.h"
#include "scene/gui/graph_edit.h"
+#include "scene/gui/tool_button.h"
#include "scene/resources/video_stream.h"
#include "scene/2d/particles_2d.h"
#include "scene/2d/path_2d.h"
@@ -288,6 +289,7 @@ void register_scene_types() {
ObjectTypeDB::register_type<PopupPanel>();
ObjectTypeDB::register_type<MenuButton>();
ObjectTypeDB::register_type<CheckButton>();
+ ObjectTypeDB::register_type<ToolButton>();
ObjectTypeDB::register_type<Panel>();
ObjectTypeDB::register_type<Range>();