Expose the new gizmo plugin system to scripting

This commit is contained in:
JFonS
2018-12-21 23:56:39 +01:00
parent 13582354fd
commit 6b15b4f904
11 changed files with 364 additions and 40 deletions
+1 -1
View File
@@ -563,7 +563,7 @@ PathEditorPlugin::PathEditorPlugin(EditorNode *p_node) {
Ref<PathSpatialGizmoPlugin> gizmo_plugin;
gizmo_plugin.instance();
SpatialEditor::get_singleton()->register_gizmo_plugin(gizmo_plugin);
SpatialEditor::get_singleton()->add_gizmo_plugin(gizmo_plugin);
sep = memnew(VSeparator);
sep->hide();