Facepalm, get the first x value not the array..

slic_fix_v2
Tyler Goodlet 2022-06-22 18:53:48 -04:00
parent 14c98d82ee
commit afc95b8592
1 changed files with 3 additions and 1 deletions

View File

@ -753,7 +753,9 @@ class Flow(msgspec.Struct): # , frozen=True):
try: try:
iuppx = x[-uppx] iuppx = x[-uppx]
except IndexError: except IndexError:
iuppx = x # we're less then an x-px wide so just grab the start
# datum index.
iuppx = x[0]
dsg._last_line = QLineF( dsg._last_line = QLineF(
iuppx, ymn, iuppx, ymn,