Pārlūkot izejas kodu

Revert WebGLObjects.update ignoring THREE.Geometry.

Mr.doob 10 gadi atpakaļ
vecāks
revīzija
6fe70b5aa4
1 mainītis faili ar 0 papildinājumiem un 2 dzēšanām
  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 ) {