mirror of
https://github.com/godotengine/godot.git
synced 2025-10-31 21:51:22 +00:00
Editor: remove TOOLS_ENABLED guards
For code inside editor/ `#ifdef TOOLS_ENABLED` is always true so those checks are redundant.
This commit is contained in:
parent
ba854bbc7b
commit
e2459479de
7 changed files with 1 additions and 46 deletions
|
|
@ -74,14 +74,6 @@
|
|||
#define MIN_FOV 0.01
|
||||
#define MAX_FOV 179
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
#define get_global_gizmo_transform get_global_gizmo_transform
|
||||
#define get_local_gizmo_transform get_local_gizmo_transform
|
||||
#else
|
||||
#define get_global_gizmo_transform get_global_transform
|
||||
#define get_local_gizmo_transform get_transform
|
||||
#endif
|
||||
|
||||
void SpatialEditorViewport::_update_camera(float p_interp_delta) {
|
||||
|
||||
bool is_orthogonal = camera->get_projection() == Camera::PROJECTION_ORTHOGONAL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue