mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Style: Apply clang-tidy
fixes (superficial)
• `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
This commit is contained in:
parent
89a311205f
commit
bb5f390fb9
46 changed files with 126 additions and 102 deletions
|
@ -859,7 +859,7 @@ void BoneMapper::auto_mapping_process(Ref<BoneMap> &p_bone_map) {
|
|||
|
||||
// 4-1. Guess Finger
|
||||
int tips_index = -1;
|
||||
bool thumb_tips_size = 0;
|
||||
bool thumb_tips_size = false;
|
||||
bool named_finger_is_found = false;
|
||||
LocalVector<String> fingers;
|
||||
fingers.push_back("thumb|pollex");
|
||||
|
@ -994,7 +994,7 @@ void BoneMapper::auto_mapping_process(Ref<BoneMap> &p_bone_map) {
|
|||
}
|
||||
|
||||
tips_index = -1;
|
||||
thumb_tips_size = 0;
|
||||
thumb_tips_size = false;
|
||||
named_finger_is_found = false;
|
||||
if (right_hand_or_palm != -1) {
|
||||
LocalVector<LocalVector<String>> right_fingers_map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue