mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Style: Enforce use of bool literals instead of integers
Using clang-tidy's `modernize-use-bool-literals`. https://clang.llvm.org/extra/clang-tidy/checks/modernize-use-bool-literals.html
This commit is contained in:
parent
a828398655
commit
b4af1eba0a
29 changed files with 47 additions and 47 deletions
|
|
@ -3666,7 +3666,7 @@ SpatialEditorViewport::SpatialEditorViewport(SpatialEditor *p_spatial_editor, Ed
|
|||
_edit.mode = TRANSFORM_NONE;
|
||||
_edit.plane = TRANSFORM_VIEW;
|
||||
_edit.edited_gizmo = 0;
|
||||
_edit.snap = 1;
|
||||
_edit.snap = true;
|
||||
_edit.gizmo_handle = 0;
|
||||
|
||||
index = p_index;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue