diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-12-30 15:42:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-30 15:42:30 +0100 |
commit | ac46862097902da0f89af7f255292517a55d47bb (patch) | |
tree | fc0b87c7241c73d4d313c0a5b792b63f3f57284b /modules/csg | |
parent | dcc7f2b54b562ad5a58dcd0dfe72ad8e6f05deb9 (diff) | |
parent | 6b15b4f90469375ac388a73477356c90bd6e194d (diff) |
Merge pull request #24506 from JFonS/expose_gizmos
Expose the new gizmo plugin system to scripting
Diffstat (limited to 'modules/csg')
-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); } |