mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-01 17:19:05 -06:00
Fixing a crash with RenderableTrails when time is set manually
This commit is contained in:
@@ -177,7 +177,7 @@ void RenderableTrail::update(const UpdateData& data) {
|
||||
// close to 1
|
||||
|
||||
// But you never know
|
||||
nValues = std::min(nValues, int(_vertexArray.size()));
|
||||
nValues = std::min(nValues, int(_vertexArray.size() - 1));
|
||||
//LINFO(nValues);
|
||||
std::vector<TrailVBOLayout> tmp = _vertexArray;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user