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

STLExporter: Using world space matrices. Fixes #4502.

Mr.doob 11 жил өмнө
parent
commit
dc4dc2340a

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

@@ -41,7 +41,7 @@ THREE.STLExporter.prototype = {
 			mesh = meshes[i];
 			
 			geometry = mesh.geometry;
-			matrix = mesh.matrix;
+			matrix = mesh.matrixWorld;
 			position = mesh.position;
 			
 			for (j = 0; j < geometry.faces.length; j++) {