You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Fix many errors found by PVS-Studio
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
This commit is contained in:
@@ -849,7 +849,7 @@ void AnimationNodeStateMachineEditor::_state_machine_pos_draw() {
|
||||
return;
|
||||
|
||||
int idx = -1;
|
||||
for (int i = 0; node_rects.size(); i++) {
|
||||
for (int i = 0; i < node_rects.size(); i++) {
|
||||
if (node_rects[i].node_name == playback->get_current_node()) {
|
||||
idx = i;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user