1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-10 13:00:37 +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:
Rémi Verschelde
2020-05-14 11:00:19 +02:00
parent 1a8167867b
commit dcd1151d77
31 changed files with 60 additions and 58 deletions

View File

@@ -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;