You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
added get_camera_method to spatial editor plugin viewport
amend added get_camera_method to spatial editor plugin viewport
This commit is contained in:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user