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

DRACOExporter.js : modify the error message. (#21978)

heqiang 4 жил өмнө
parent
commit
069e6c6949

+ 1 - 1
examples/js/exporters/DRACOExporter.js

@@ -35,7 +35,7 @@
 
 			if ( DracoEncoderModule === undefined ) {
 
-				throw new Error( 'THREE.DRACOExporter: required the draco_decoder to work.' );
+				throw new Error( 'THREE.DRACOExporter: required the draco_encoder to work.' );
 
 			}
 

+ 1 - 1
examples/jsm/exporters/DRACOExporter.js

@@ -34,7 +34,7 @@ class DRACOExporter {
 
 		if ( DracoEncoderModule === undefined ) {
 
-			throw new Error( 'THREE.DRACOExporter: required the draco_decoder to work.' );
+			throw new Error( 'THREE.DRACOExporter: required the draco_encoder to work.' );
 
 		}