mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
fix for loop scoping
This commit is contained in:
parent
b1c7748300
commit
ae949e7ac9
@ -262,7 +262,7 @@ get_toplevel() {
|
||||
// have frames and/or animation.
|
||||
_any_frames = false;
|
||||
_any_animation = false;
|
||||
for (int i = 0; i < num_objects; i++) {
|
||||
for (i = 0; i < num_objects; i++) {
|
||||
XFileDataNode *child = _x_file->get_object(i);
|
||||
if (child->is_standard_object("Frame")) {
|
||||
_any_frames = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user