Commit 9ce3ede1 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

fixed missing daynight bug

parent 8eed9637
......@@ -221,11 +221,7 @@ public class SpatialSceneIndex implements SceneIndex {
return;
}
if (dayNightParameter == Scene.DAY_NIGHT_DAY && dayNight != Scene.DAY_NIGHT_DAY) {
return;
}
if (dayNightParameter == Scene.DAY_NIGHT_NIGHT && dayNight != Scene.DAY_NIGHT_NIGHT) {
if (dayNightParameter != Scene.DAY_NIGHT_NULL && dayNight != dayNightParameter) {
return;
}
......@@ -279,11 +275,7 @@ public class SpatialSceneIndex implements SceneIndex {
return;
}
if (dayNightParameter == Scene.DAY_NIGHT_DAY && dayNight != Scene.DAY_NIGHT_DAY) {
return;
}
if (dayNightParameter == Scene.DAY_NIGHT_NIGHT && dayNight != Scene.DAY_NIGHT_NIGHT) {
if (dayNightParameter != Scene.DAY_NIGHT_NULL && dayNight != dayNightParameter) {
return;
}
......@@ -307,6 +299,7 @@ public class SpatialSceneIndex implements SceneIndex {
sceneData.cloudcover = cloudcover[dataidx];
sceneData.bounds = bounds[dataidx];
sceneData.proclevel = proclevel[dataidx];
sceneData.dayNight = dayNight[dataidx];
return sceneData;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment