Explorar o código

fixed background bug

Emmett Lalish %!s(int64=5) %!d(string=hai) anos
pai
achega
faafced76e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/renderers/webgl/WebGLBackground.js

+ 1 - 1
src/renderers/webgl/WebGLBackground.js

@@ -92,7 +92,7 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
 
 					get: function () {
 
-						return this.envMap;
+						return this.envMap.value;
 
 					}