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:
Alexander Bock
2016-12-06 18:47:01 +01:00
parent 921cc59a23
commit 04c6398d6a
13 changed files with 121 additions and 77 deletions

View File

@@ -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)
);
}