mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 12:53:57 +02:00
Fix lifetime bug with first PolyLine in InfiniteLine
This commit is contained in:
parent
2cd2af2b13
commit
77e0023b43
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ InfiniteLine = function(position, color, lifetime) {
|
|||
this.position = position;
|
||||
this.color = color;
|
||||
this.lifetime = lifetime === undefined ? DEFAULT_LIFETIME : lifetime;
|
||||
this.lines = [new PolyLine(position, color, 0.01)];
|
||||
this.lines = [];
|
||||
this.size = 0;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue