mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 19:19:39 -06:00
Fix case dependent kernels in OsirisRex
Fix stitched trail rendering for RenderableTrailTrajectory Adapt Lua scheduler helper scripts to new Dictionary layout Make Spice throw exceptions on default again Enable caching on default for CTX and MOLA data Add NOAA rt data (commented out in LodEarth)
This commit is contained in:
@@ -354,13 +354,13 @@ void RenderableTrail::render(const RenderData & data) {
|
||||
// Render the primary batch of vertices
|
||||
render(_primaryRenderInformation, totalNumber, primaryOffset);
|
||||
|
||||
// The secondary batch is optional,. so we need to check whether we have any data here
|
||||
if (_floatingRenderInformation._vaoID == 0 || _floatingRenderInformation.count == 0) {
|
||||
// The secondary batch is optional, so we need to check whether we have any data here
|
||||
if (_floatingRenderInformation._vaoID != 0 && _floatingRenderInformation.count != 0) {
|
||||
render(
|
||||
_floatingRenderInformation,
|
||||
totalNumber,
|
||||
// -1 because we duplicate the penultimate point between the vertices
|
||||
primaryOffset + _primaryRenderInformation.count - 1
|
||||
-(primaryOffset + _primaryRenderInformation.count - 1)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user