mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
fixed a minor bug
This commit is contained in:
parent
4a474bfb13
commit
eb5a5a1856
@ -455,12 +455,12 @@ root_flattened() {
|
|||||||
if (_blocks[tx][ty].get_node(1) != _root.node()) {
|
if (_blocks[tx][ty].get_node(1) != _root.node()) {
|
||||||
grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled!\n";
|
grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled!\n";
|
||||||
return true;
|
return true;
|
||||||
total += 1;
|
|
||||||
}
|
}
|
||||||
|
total += 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (total != _root.node()->get_num_children()) {
|
if (total != _root.node()->get_num_children()) {
|
||||||
grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled!\n";
|
grutil_cat.error() << "GeoMipTerrain: root node unexpectedly mangled: " << total << " vs " << (_root.node()->get_num_children()) << "\n";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user