diff options
author | JFonS <joan.fonssanchez@gmail.com> | 2018-10-29 11:30:28 +0100 |
---|---|---|
committer | JFonS <joan.fonssanchez@gmail.com> | 2018-12-21 23:56:39 +0100 |
commit | 6b15b4f90469375ac388a73477356c90bd6e194d (patch) | |
tree | e95f36fff2fb5dcb1241d6b67e2df286dd70a74e /modules/csg/csg_gizmos.cpp | |
parent | 13582354fd9a77428dcd38ac8e05ca0d2eb1ccba (diff) |
Expose the new gizmo plugin system to scripting
Diffstat (limited to 'modules/csg/csg_gizmos.cpp')
-rw-r--r-- | modules/csg/csg_gizmos.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/csg/csg_gizmos.cpp b/modules/csg/csg_gizmos.cpp index 5864d02615..0d600166b6 100644 --- a/modules/csg/csg_gizmos.cpp +++ b/modules/csg/csg_gizmos.cpp @@ -356,5 +356,5 @@ void CSGShapeSpatialGizmoPlugin::redraw(EditorSpatialGizmo *p_gizmo) { EditorPluginCSG::EditorPluginCSG(EditorNode *p_editor) { Ref<CSGShapeSpatialGizmoPlugin> gizmo_plugin = Ref<CSGShapeSpatialGizmoPlugin>(memnew(CSGShapeSpatialGizmoPlugin)); - SpatialEditor::get_singleton()->register_gizmo_plugin(gizmo_plugin); + SpatialEditor::get_singleton()->add_gizmo_plugin(gizmo_plugin); } |