From 525f2fe995d71f5321f19cd0e4076fcad526c5b5 Mon Sep 17 00:00:00 2001 From: theuserbl Date: Fri, 27 Feb 2015 11:09:57 +0100 Subject: [PATCH] Update register_scene_types.cpp Makes ToolButton usable for GDScript --- scene/register_scene_types.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index ff525203bfa..a1c4aaf8114 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(); ObjectTypeDB::register_type(); ObjectTypeDB::register_type(); + ObjectTypeDB::register_type(); ObjectTypeDB::register_type(); ObjectTypeDB::register_type();