Bugfix for 1 pixel segment capabilities.

This commit is contained in:
Blaz Kristan 2023-02-28 19:08:41 +01:00
parent 92d883db87
commit 7a2f556682

View File

@ -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