Commit 2a77257b authored by lafabregue's avatar lafabregue

allow channel index modification for rgb color

parent 8ca035a4
......@@ -769,9 +769,9 @@ public class ImageSampler extends Sampler {
private void setBoundries(int start, int end) {
for(StreamedImageReaderWrapper w : getReaders()) {
if (geoTranslateVectors != null) {
w.setBoundriesWithNewRef(start, end, imageWidth, imageHeight);
w.setLinearBoundriesWithNewRef(start, end, imageWidth, imageHeight);
} else {
w.setBoundries(start, end);
w.setLinearBoundries(start, end);
}
}
}
......
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