diff options
author | Ignacio Etcheverry <neikeq@users.noreply.github.com> | 2016-12-18 20:05:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-18 20:05:12 +0100 |
commit | 2c8a1729152f5bcb1cb81d24b1e642634bff7174 (patch) | |
tree | f35ebd4ad25c792f8029d2335edb8fe9b2960541 /scene | |
parent | afbe013ba12d68f20ef1dfe2d7a895105a440bd9 (diff) | |
parent | ce41464fc0b9a20c5c06f77f0437fa2ef1f9226c (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.cpp | 1 |
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>(); |