Jelajahi Sumber

LineSegments: Fix log message

Mugen87 7 tahun lalu
induk
melakukan
0ec8b93288
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/objects/LineSegments.js

+ 1 - 1
src/objects/LineSegments.js

@@ -54,7 +54,7 @@ LineSegments.prototype = Object.assign( Object.create( Line.prototype ), {
 
 				} else {
 
-					console.warn( 'THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.' );
+					console.warn( 'THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.' );
 
 				}