Bugfix for 1 pixel segment capabilities.

pull/3107/head
Blaz Kristan 2023-02-28 19:08:41 +01:00
rodzic 92d883db87
commit 7a2f556682
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -762,6 +762,7 @@ void Segment::refreshLightCapabilities() {
if (segStartIdx > index) segStartIdx = index;
if (segStopIdx < index) segStopIdx = index;
}
if (segStartIdx == segStopIdx) segStopIdx++; // we only have 1 pixel segment
}
} else {
// we are on the strip located after the matrix