added get_camera_method to spatial editor plugin viewport

amend

added get_camera_method to spatial editor plugin viewport
This commit is contained in:
paul gruenbacher 2018-09-01 23:24:28 -04:00
parent 29f2571662
commit 8c14cd5b69
1 changed files with 1 additions and 1 deletions

View File

@ -406,6 +406,7 @@ public:
AcceptDialog *p_accept);
Viewport *get_viewport_node() { return viewport; }
Camera *get_camera() { return camera; } // return the default camera object.
SpatialEditorViewport(SpatialEditor *p_spatial_editor, EditorNode *p_editor, int p_index);
};
@ -710,7 +711,6 @@ public:
void register_gizmo_plugin(Ref<EditorSpatialGizmoPlugin> ref);
Camera *get_camera() { return NULL; }
void edit(Spatial *p_spatial);
void clear();