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

CSS3DRenderer: Clean up.

上级 30f511b6
......@@ -216,9 +216,9 @@ var CSS3DRenderer = function () {
cache.objects.set( object, objectData );
}
element.style.display = object.visible ? '' : 'none';
element.style.display = object.visible ? '' : 'none';
if ( element.parentNode !== cameraElement ) {
cameraElement.appendChild( element );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册