From 42bb7529e4b1deda6da7efb51b66501f4afcf37d Mon Sep 17 00:00:00 2001 From: Samuel Rigaud Date: Fri, 7 Mar 2025 11:18:04 -0500 Subject: [PATCH] BufferGeometry: fix clone index data copy --- src/core/BufferGeometry.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/BufferGeometry.js b/src/core/BufferGeometry.js index 216b51e42044a9..3d44bffebd547d 100644 --- a/src/core/BufferGeometry.js +++ b/src/core/BufferGeometry.js @@ -1352,7 +1352,7 @@ class BufferGeometry extends EventDispatcher { if ( index !== null ) { - this.setIndex( index.clone( data ) ); + this.setIndex( index.clone() ); }