Explorar el Código

Fix loading separate objects

Garrett Johnson hace 6 años
padre
commit
310cfe1ac4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      examples/js/loaders/LDrawLoader.js

+ 1 - 1
examples/js/loaders/LDrawLoader.js

@@ -1265,7 +1265,7 @@ THREE.LDrawLoader = ( function () {
 
 						}
 
-						if ( matrix.determinant() < 0 ) {
+						if ( scope.separateObjects === false && matrix.determinant() < 0 ) {
 
 							bfcInverted = ! bfcInverted;