summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorIgnacio Etcheverry <neikeq@users.noreply.github.com>2016-12-18 20:05:12 +0100
committerGitHub <noreply@github.com>2016-12-18 20:05:12 +0100
commit2c8a1729152f5bcb1cb81d24b1e642634bff7174 (patch)
treef35ebd4ad25c792f8029d2335edb8fe9b2960541 /scene
parentafbe013ba12d68f20ef1dfe2d7a895105a440bd9 (diff)
parentce41464fc0b9a20c5c06f77f0437fa2ef1f9226c (diff)
Merge pull request #7328 from neikeq/pr-register-spatgizmo
Register SpatialGizmo as a scene type
Diffstat (limited to 'scene')
-rw-r--r--scene/register_scene_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index 104aeb2b5e..600006f14f 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -401,6 +401,7 @@ void register_scene_types() {
/* REGISTER 3D */
ObjectTypeDB::register_type<Spatial>();
+ ObjectTypeDB::register_virtual_type<SpatialGizmo>();
ObjectTypeDB::register_type<Skeleton>();
ObjectTypeDB::register_type<AnimationPlayer>();
ObjectTypeDB::register_type<Tween>();