Browse Source

Added point count to curveToPoints recursive call

Reported on our forums
Luis Fraguada 4 years ago
parent
commit
510df38412
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/jsm/loaders/3DMLoader.js

+ 1 - 1
examples/jsm/loaders/3DMLoader.js

@@ -1253,7 +1253,7 @@ Rhino3dmLoader.Rhino3dmWorker = function () {
 			for ( var i = 0; i < segmentCount; i ++ ) {
 
 				var segment = curve.segmentCurve( i );
-				var segmentArray = curveToPoints( segment );
+				var segmentArray = curveToPoints( segment, pointCount );
 				rc = rc.concat( segmentArray );
 				segment.delete();