Răsfoiți Sursa

InterleavedBufferAttribute now supports needsUpdate

WestLangley 5 ani în urmă
părinte
comite
c894f44c24

+ 1 - 1
examples/js/lines/LineSegmentsGeometry.js

@@ -37,7 +37,7 @@ THREE.LineSegmentsGeometry.prototype = Object.assign( Object.create( THREE.Insta
 
 			end.applyMatrix4( matrix );
 
-			start.data.needsUpdate = true;
+			start.needsUpdate = true;
 
 		}
 

+ 1 - 1
examples/jsm/lines/LineSegmentsGeometry.js

@@ -47,7 +47,7 @@ LineSegmentsGeometry.prototype = Object.assign( Object.create( InstancedBufferGe
 
 			end.applyMatrix4( matrix );
 
-			start.data.needsUpdate = true;
+			start.needsUpdate = true;
 
 		}