fix 'tight' ShowBoundsEffect

This commit is contained in:
David Rose 2007-04-03 14:33:46 +00:00
parent 6413cc28e3
commit 52ff79375d

View File

@ -433,9 +433,8 @@ make_tight_bounds_viz(PandaNode *node) {
strip->add_vertex(1); strip->add_vertex(1);
strip->close_primitive(); strip->close_primitive();
PT(Geom) geom = new Geom(vdata); geom = new Geom(vdata);
geom->add_primitive(strip); geom->add_primitive(strip);
geom = geom.p();
} }
return geom; return geom;