Skip to content

Commit d352c9e

Browse files
committed
update the sizeAttenuation check
1 parent 854a41b commit d352c9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/objects/Sprite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {
104104
viewWorldMatrix.getInverse( this.modelViewMatrix ).premultiply( this.matrixWorld );
105105
mvPosition.setFromMatrixPosition( this.modelViewMatrix );
106106

107-
if ( ! this.material.sizeAttenuation ) {
107+
if ( this.material.sizeAttenuation === false ) {
108108

109109
worldScale.multiplyScalar( - mvPosition.z );
110110

0 commit comments

Comments
 (0)