mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-30 15:59:37 -05:00
Small bug fix
This commit is contained in:
@@ -313,6 +313,10 @@ float* DataPlane::readData(){
|
||||
}
|
||||
|
||||
for(int i=0; i< numValues; i++){
|
||||
combinedValues[3*i+0] = 0;
|
||||
combinedValues[3*i+1] = 0;
|
||||
combinedValues[3*i+2] = 0;
|
||||
|
||||
if(_useRGB.value() && (optionValues.size() <= 3)){
|
||||
for(int j=0; j<optionValues.size(); j++){
|
||||
|
||||
@@ -325,10 +329,6 @@ float* DataPlane::readData(){
|
||||
}
|
||||
}
|
||||
}else{
|
||||
combinedValues[3*i+0] = 0;
|
||||
combinedValues[3*i+1] = 0;
|
||||
combinedValues[3*i+2] = 0;
|
||||
|
||||
for(int j=0; j<optionValues.size(); j++){
|
||||
|
||||
float v = optionValues[j][i];
|
||||
|
||||
Reference in New Issue
Block a user