Bugfix for 1 pixel segment capabilities.
This commit is contained in:
parent
92d883db87
commit
7a2f556682
@ -762,6 +762,7 @@ void Segment::refreshLightCapabilities() {
|
|||||||
if (segStartIdx > index) segStartIdx = index;
|
if (segStartIdx > index) segStartIdx = index;
|
||||||
if (segStopIdx < index) segStopIdx = index;
|
if (segStopIdx < index) segStopIdx = index;
|
||||||
}
|
}
|
||||||
|
if (segStartIdx == segStopIdx) segStopIdx++; // we only have 1 pixel segment
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// we are on the strip located after the matrix
|
// we are on the strip located after the matrix
|
||||||
|
Loading…
Reference in New Issue
Block a user