From 8a0a85a3a75dfd25de9023ee4479d0c44ca79232 Mon Sep 17 00:00:00 2001 From: aignacio_sf <> Date: Wed, 31 Jan 2007 04:20:31 +0000 Subject: [PATCH] Explicitly set nurbs order to 4. --- direct/src/motiontrail/cMotionTrail.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/direct/src/motiontrail/cMotionTrail.cxx b/direct/src/motiontrail/cMotionTrail.cxx index 4ce3d3da2b..e9be3b9cf2 100644 --- a/direct/src/motiontrail/cMotionTrail.cxx +++ b/direct/src/motiontrail/cMotionTrail.cxx @@ -487,6 +487,7 @@ update_motion_trail (float current_time, LMatrix4f *transform) { for (index = 0; index < total_vertices; index++) { motion_trail_vertex = &_vertex_array [index]; nurbs_curve_evaluator = motion_trail_vertex -> _nurbs_curve_evaluator; + nurbs_curve_evaluator -> set_order (4); nurbs_curve_evaluator -> reset (total_segments); } }