Expose the new gizmo plugin system to scripting
This commit is contained in:
parent
13582354fd
commit
6b15b4f904
11 changed files with 364 additions and 40 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue