Merge pull request #21679 from pgruenbacher/spatial_editor_viewport_get_camera
added get_camera_method to spatial editor plugin viewport
This commit is contained in:
commit
dd3f6a04db
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue