2
0
Эх сурвалжийг харах

BufferGeometryUtils: update outdated reference to this (#22304)

Marco Fugaro 4 жил өмнө
parent
commit
cc987e80aa

+ 2 - 2
examples/jsm/utils/BufferGeometryUtils.js

@@ -166,7 +166,7 @@ function mergeBufferGeometries( geometries, useGroups = false ) {
 
 	for ( const name in attributes ) {
 
-		const mergedAttribute = this.mergeBufferAttributes( attributes[ name ] );
+		const mergedAttribute = mergeBufferAttributes( attributes[ name ] );
 
 		if ( ! mergedAttribute ) {
 
@@ -200,7 +200,7 @@ function mergeBufferGeometries( geometries, useGroups = false ) {
 
 			}
 
-			const mergedMorphAttribute = this.mergeBufferAttributes( morphAttributesToMerge );
+			const mergedMorphAttribute = mergeBufferAttributes( morphAttributesToMerge );
 
 			if ( ! mergedMorphAttribute ) {