From 999e64184054656c7a3e03e713f904a87f43d335 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 9 Dec 2002 19:17:30 +0000 Subject: [PATCH] support thickness on thread lines --- panda/src/parametrics/ropeNode.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panda/src/parametrics/ropeNode.cxx b/panda/src/parametrics/ropeNode.cxx index 165a17109f..fe655fd442 100644 --- a/panda/src/parametrics/ropeNode.cxx +++ b/panda/src/parametrics/ropeNode.cxx @@ -311,7 +311,8 @@ render_thread(CullTraverser *trav, CullTraverserData &data, colors.push_back(Colorf(1.0f, 1.0f, 1.0f, 1.0f)); - PT(Geom) geom = new GeomLinestrip; + PT(GeomLinestrip) geom = new GeomLinestrip; + geom->set_width(get_thickness()); geom->set_num_prims(num_segments); geom->set_coords(verts); if (uv_mode != UV_none) {