Просмотр исходного кода

Tests: Fix GLTFExporter Unit test (#21728)

Takahiro 4 лет назад
Родитель
Сommit
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 );