mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
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
1a8167867b
commit
dcd1151d77
31 changed files with 60 additions and 58 deletions
|
|
@ -3885,7 +3885,7 @@ Node3DEditorViewport::Node3DEditorViewport(Node3DEditor *p_spatial_editor, Edito
|
|||
_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