File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -925,6 +925,7 @@ class BatchedMesh extends Mesh {
925925
926926 index . array . copyWithin ( nextIndexStart , indexStart , indexStart + reservedIndexCount ) ;
927927 index . addUpdateRange ( nextIndexStart , reservedIndexCount ) ;
928+ index . needsUpdate = true ;
928929
929930 geometryInfo . indexStart = nextIndexStart ;
930931
@@ -945,6 +946,7 @@ class BatchedMesh extends Mesh {
945946 const { array, itemSize } = attribute ;
946947 array . copyWithin ( nextVertexStart * itemSize , vertexStart * itemSize , ( vertexStart + reservedVertexCount ) * itemSize ) ;
947948 attribute . addUpdateRange ( nextVertexStart * itemSize , reservedVertexCount * itemSize ) ;
949+ attribute . needsUpdate = true ;
948950
949951 }
950952
@@ -961,6 +963,8 @@ class BatchedMesh extends Mesh {
961963
962964 }
963965
966+ this . _visibilityChanged = true ;
967+
964968 return this ;
965969
966970 }
You can’t perform that action at this time.
0 commit comments