mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-27 07:03:36 -04:00
distort: Fix unprotected debug output
This commit is contained in:
parent
78ace53dbe
commit
8d1524b675
@ -451,9 +451,11 @@ recompute_geom_node(const WorkingNodePath &np, LMatrix4 &rel_mat,
|
||||
int num_geoms = node->get_num_geoms();
|
||||
for (int i = 0; i < num_geoms; i++) {
|
||||
PT(Geom) geom = node->modify_geom(i);
|
||||
distort_cat.debug()
|
||||
<< " " << *node << " got geom " << geom
|
||||
<< ", cache_ref = " << geom->get_cache_ref_count() << "\n";
|
||||
if (distort_cat.is_debug()) {
|
||||
distort_cat.debug()
|
||||
<< " " << *node << " got geom " << geom
|
||||
<< ", cache_ref = " << geom->get_cache_ref_count() << "\n";
|
||||
}
|
||||
geom->test_ref_count_integrity();
|
||||
recompute_geom(geom, rel_mat);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user