added get_camera_method to spatial editor plugin viewport
amend added get_camera_method to spatial editor plugin viewport
This commit is contained in:
parent
29f2571662
commit
8c14cd5b69
|
@ -406,6 +406,7 @@ public:
|
||||||
AcceptDialog *p_accept);
|
AcceptDialog *p_accept);
|
||||||
|
|
||||||
Viewport *get_viewport_node() { return viewport; }
|
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);
|
SpatialEditorViewport(SpatialEditor *p_spatial_editor, EditorNode *p_editor, int p_index);
|
||||||
};
|
};
|
||||||
|
@ -710,7 +711,6 @@ public:
|
||||||
|
|
||||||
void register_gizmo_plugin(Ref<EditorSpatialGizmoPlugin> ref);
|
void register_gizmo_plugin(Ref<EditorSpatialGizmoPlugin> ref);
|
||||||
|
|
||||||
Camera *get_camera() { return NULL; }
|
|
||||||
void edit(Spatial *p_spatial);
|
void edit(Spatial *p_spatial);
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue