mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -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();
|
int num_geoms = node->get_num_geoms();
|
||||||
for (int i = 0; i < num_geoms; i++) {
|
for (int i = 0; i < num_geoms; i++) {
|
||||||
PT(Geom) geom = node->modify_geom(i);
|
PT(Geom) geom = node->modify_geom(i);
|
||||||
|
if (distort_cat.is_debug()) {
|
||||||
distort_cat.debug()
|
distort_cat.debug()
|
||||||
<< " " << *node << " got geom " << geom
|
<< " " << *node << " got geom " << geom
|
||||||
<< ", cache_ref = " << geom->get_cache_ref_count() << "\n";
|
<< ", cache_ref = " << geom->get_cache_ref_count() << "\n";
|
||||||
|
}
|
||||||
geom->test_ref_count_integrity();
|
geom->test_ref_count_integrity();
|
||||||
recompute_geom(geom, rel_mat);
|
recompute_geom(geom, rel_mat);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user