v0.6.1a: fixed permanent flares not appearing
This commit is contained in:
parent
8fe57dfdf8
commit
2f062aeb9c
|
@ -119,7 +119,7 @@ public class Flare extends Visual {
|
||||||
visual.parent.addToBack( this );
|
visual.parent.addToBack( this );
|
||||||
|
|
||||||
lifespan = this.duration = duration;
|
lifespan = this.duration = duration;
|
||||||
scale.set( 0 );
|
if (lifespan > 0) scale.set( 0 );
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
@ -129,7 +129,7 @@ public class Flare extends Visual {
|
||||||
parent.add( this );
|
parent.add( this );
|
||||||
|
|
||||||
lifespan = this.duration = duration;
|
lifespan = this.duration = duration;
|
||||||
scale.set( 0 );
|
if (lifespan > 0) scale.set( 0 );
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user