fix: LCol colour maps tweaked

This commit is contained in:
2024-05-29 20:33:36 +02:00
parent 11944e679e
commit 28fb651037
7 changed files with 175 additions and 74 deletions

View File

@@ -117,7 +117,7 @@ void EColLayer::readCoordinates() {
}
u /= 4;
v /= 4;
this->lutIdx->SetTuple1(cellId++, calcIndex(u,v, this->maxStrength));
this->lutIdx->SetValue(cellId++, calcIndex(u,v, this->maxStrength));
}
latIndex++;
}
@@ -156,7 +156,7 @@ void EColLayer::updateData(int t) {
}
u /= 4;
v /= 4;
this->lutIdx->SetTuple1(i++, calcIndex(u,v, this->maxStrength));
this->lutIdx->SetValue(i++, calcIndex(u,v, this->maxStrength));
}
}
this->lutIdx->Modified();