Skip to content

Commit

Permalink
fix(event-display): handle tracks with no positions
Browse files Browse the repository at this point in the history
  • Loading branch information
9inpachi committed Mar 20, 2021
1 parent 11af19c commit 3b1991c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ export class PhoenixObjects {
*/
public static getTrack(trackParams: any): Object3D {
let positions = trackParams.pos;
if (!positions) {
return;
}
// Track with no points
// if (positions.length==0) {
// console.log("Track with no positions.")
Expand Down

0 comments on commit 3b1991c

Please sign in to comment.