Revert commenting bounding rect fix..

fsp_feeds
Tyler Goodlet 2021-08-15 16:17:03 -04:00
parent 873d531521
commit 1cb311602c
1 changed files with 4 additions and 3 deletions

View File

@ -706,6 +706,10 @@ def order_line(
# XXX: this is our new approach but seems slower? # XXX: this is our new approach but seems slower?
marker = line.add_marker(marker) marker = line.add_marker(marker)
# XXX: DON'T COMMENT THIS!
# this fixes it the artifact issue! .. of course, bounding rect stuff
line._maxMarkerSize = marker_size
assert line._marker is marker assert line._marker is marker
assert not line.markers assert not line.markers
@ -722,9 +726,6 @@ def order_line(
# testing to figure out why tf that's true. # testing to figure out why tf that's true.
# line.markers.append((marker, 0, marker_size)) # line.markers.append((marker, 0, marker_size))
# this fixes it the artifact issue! .. of course, bounding rect stuff
# line._maxMarkerSize = marker_size
marker.label = label marker.label = label
# sanity check # sanity check