Explorar o código

Revert WebGLObjects.update ignoring THREE.Geometry.

Mr.doob %!s(int64=10) %!d(string=hai) anos
pai
achega
6fe70b5aa4
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  1. 0 2
      src/renderers/webgl/WebGLObjects.js

+ 0 - 2
src/renderers/webgl/WebGLObjects.js

@@ -113,8 +113,6 @@ THREE.WebGLObjects = function ( gl, info ) {
 
 	this.update = function ( object ) {
 
-		if ( object.geometry instanceof THREE.Geometry ) return;
-
 		var geometry = geometries.get( object );
 
 		if ( object.geometry instanceof THREE.DynamicGeometry ) {