mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
fix 'tight' ShowBoundsEffect
This commit is contained in:
parent
6413cc28e3
commit
52ff79375d
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user