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 committed 2020-05-14 13:45:01 +02:00
1 parent 1a8167867b
commit dcd1151d77
31 files changed
+60 -58

No files matched your search

+1 -1
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;