Skip to content

Commit 8a0a85a

Browse files
author
aignacio_sf
committed
Explicitly set nurbs order to 4.
1 parent 91ceb9f commit 8a0a85a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

direct/src/motiontrail/cMotionTrail.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,7 @@ update_motion_trail (float current_time, LMatrix4f *transform) {
487487
for (index = 0; index < total_vertices; index++) {
488488
motion_trail_vertex = &_vertex_array [index];
489489
nurbs_curve_evaluator = motion_trail_vertex -> _nurbs_curve_evaluator;
490+
nurbs_curve_evaluator -> set_order (4);
490491
nurbs_curve_evaluator -> reset (total_segments);
491492
}
492493
}

0 commit comments

Comments
 (0)