diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-02 11:23:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-02 11:23:14 +0200 |
commit | dd3f6a04dba4116a180b5de8c6ec281037fa0dd0 (patch) | |
tree | f300862dac1ab3967ccac3f48e714483c2619d15 /editor/plugins | |
parent | 876456754debb677c71dbec55ce4e99142614940 (diff) | |
parent | 8c14cd5b69682c0d5e593f51b3fbca5df016e75c (diff) |
Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera
added get_camera_method to spatial editor plugin viewport
Diffstat (limited to 'editor/plugins')
-rw-r--r-- | editor/plugins/spatial_editor_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/spatial_editor_plugin.h b/editor/plugins/spatial_editor_plugin.h index cb96d1648a..c552f21e39 100644 --- a/editor/plugins/spatial_editor_plugin.h +++ b/editor/plugins/spatial_editor_plugin.h @@ -404,6 +404,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(); |