Skip to content

Commit

Permalink
avoid crash in viewer if not providing the dq ddq files
Browse files Browse the repository at this point in the history
  • Loading branch information
jlblancoc committed Oct 6, 2023
1 parent 9318861 commit f0fb730
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/mbse-viewer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ static void runViewer()
q.extractColumn(0, timestamps);

q.removeColumns({0});
dq.removeColumns({0});
ddq.removeColumns({0});
if (dq.cols() > 0) dq.removeColumns({0});
if (ddq.cols() > 0) ddq.removeColumns({0});
}

// Prepare 3D scene:
Expand Down

0 comments on commit f0fb730

Please sign in to comment.