From 22aced153121b95bc19e4cf2a2bc760e02d98274 Mon Sep 17 00:00:00 2001 From: David Rose Date: Wed, 20 Apr 2005 22:36:43 +0000 Subject: [PATCH] call close_primitive() --- panda/src/grutil/cardMaker.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/panda/src/grutil/cardMaker.cxx b/panda/src/grutil/cardMaker.cxx index 72a75a4bd9..7a7c1172e2 100644 --- a/panda/src/grutil/cardMaker.cxx +++ b/panda/src/grutil/cardMaker.cxx @@ -97,6 +97,7 @@ generate() { PT(qpGeomTristrips) strip = new qpGeomTristrips(qpGeom::UH_static); strip->add_next_vertices(4); + strip->close_primitive(); PT(qpGeom) geom = new qpGeom; geom->set_vertex_data(vdata);