未验证 提交 1dca1b74 编写于 作者: T troy351 提交者: GitHub

CSS3DRenderer: improve visible consistance

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