Skip to content

Commit

Permalink
CSS3DRenderer: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Apr 10, 2020
1 parent 30f511b commit 63f514f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/jsm/renderers/CSS3DRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 63f514f

Please sign in to comment.