提交 644f80d8 编写于 作者: M Mr.doob

WebGLObjects.update: Ignore THREE.Geometry.

上级 8d4ad694
......@@ -113,6 +113,8 @@ 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 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册