diff options
author | Johan Manuel <johan.manuel@live.fr> | 2016-07-25 19:12:13 +0200 |
---|---|---|
committer | Johan Manuel <johan.manuel@live.fr> | 2016-08-13 13:21:35 +0200 |
commit | cec1c48a7e7bb9bdc2c6829fba9e269a97d1c8bc (patch) | |
tree | 1ff78e16682330a66dc5fd031bc3aacf1aaa73bc /tools/editor/spatial_editor_gizmos.cpp | |
parent | f86176d20b75598de78f117c06f55ef193115fd6 (diff) |
Fix various warnings
The warnings fixed were about things like unused variables, misleading
indentation, missing default cases in switches and better grouping of
conditions in if statements.
Diffstat (limited to 'tools/editor/spatial_editor_gizmos.cpp')
-rw-r--r-- | tools/editor/spatial_editor_gizmos.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/editor/spatial_editor_gizmos.cpp b/tools/editor/spatial_editor_gizmos.cpp index 480d33fd0a..84803eb6db 100644 --- a/tools/editor/spatial_editor_gizmos.cpp +++ b/tools/editor/spatial_editor_gizmos.cpp @@ -422,8 +422,6 @@ bool EditorSpatialGizmo::intersect_ray(const Camera *p_camera,const Point2& p_po if (billboard_handle) { t.set_look_at(t.origin,t.origin+p_camera->get_transform().basis.get_axis(2),p_camera->get_transform().basis.get_axis(1)); } - Transform ti=t.affine_inverse(); - float min_d=1e20; int idx=-1; |