Browse Source

Explicitly set nurbs order to 4.

aignacio_sf 19 years ago
parent
commit
8a0a85a3a7
1 changed files with 1 additions and 0 deletions
  1. 1 0
      direct/src/motiontrail/cMotionTrail.cxx

+ 1 - 0
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);
         }
       }