Преглед на файлове

Tests: Fix GLTFExporter Unit test (#21728)

Takahiro преди 4 години
родител
ревизия
a7c0676980
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/unit/example/exporters/GLTFExporter.tests.js

+ 1 - 1
test/unit/example/exporters/GLTFExporter.tests.js

@@ -395,7 +395,7 @@ export default QUnit.module( 'Exporters', () => {
 
 			const scene = new Scene();
 			const mesh = new Mesh(
-				new BoxBufferGeometry( 1, 1, 1 ),
+				new BoxGeometry( 1, 1, 1 ),
 				new MeshBasicMaterial()
 			);
 			scene.add( mesh );