Small bug fix

This commit is contained in:
Sebastian Piwell
2016-04-22 12:01:52 -04:00
parent c24a9a504c
commit 939199a829
+4 -4
View File
@@ -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];