mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-12 21:10:55 -05:00
Fix broken index computation
This commit is contained in:
@@ -1344,7 +1344,7 @@ void DataViewer::updateGlyphRenderData() {
|
||||
GlyphRenderData::Item renderItem;
|
||||
renderItem.index = index;
|
||||
renderItem.position = *item.position;
|
||||
renderItem.component = item.indexInSystem;
|
||||
renderItem.component = static_cast<size_t>(item.indexInSystem + 1);
|
||||
|
||||
size_t nVariables = _colorMappingView->colorMapperVariables().size();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user