1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10: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:
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

@@ -168,7 +168,7 @@ void MeshLibraryEditor::_import_scene(Node *p_scene, Ref<MeshLibrary> p_library,
//generate previews!
if (1) {
if (true) {
Vector<Ref<Mesh>> meshes;
Vector<Transform> transforms;