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

WebGLRenderer: Check geometry type and avoid breakage when undefined.

上级 0549f7ea
......@@ -4689,7 +4689,7 @@ THREE.WebGLRenderer = function ( parameters ) {
addBuffer( scene.__webglObjects, geometry, object );
} else {
} else if ( geometry instanceof THREE.Geometry ) {
for ( g in geometry.geometryGroups ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册