Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
luboslenco committed Jan 19, 2025
1 parent a02ba94 commit b0a1f3b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion base/sources/gizmo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,8 @@ function gizmo_update() {
else if (hit.object == context_raw.gizmo_scale_z) {
context_raw.scale_z = true;
}
if (context_raw.translate_x || context_raw.translate_y || context_raw.translate_z || context_raw.scale_x || context_raw.scale_y || context_raw.scale_z) {
if (context_raw.translate_x || context_raw.translate_y || context_raw.translate_z ||
context_raw.scale_x || context_raw.scale_y || context_raw.scale_z) {
context_raw.gizmo_offset = 0.0;
context_raw.gizmo_started = true;
}
Expand Down

0 comments on commit b0a1f3b

Please sign in to comment.