Markers disappear till reopen after running Color markers
Issue has changed considerably, description taken from inbox#6194 (comment 815662713)
Steps to replicate
- Open example.svg in Inkscape
- Select the middle shape (with Scissors markers)
- Extensions > Modify Path > Color Markers
- Switch to the custom tab
- Check Assign fill color
- Change the fill color
- Check Modify in Place
- Apply
What happened?
- Markers vanish until reopen, or until you remove and reapply the marker to the path.
What should have happened?
- Markers change color without vanishing
Inkscape version
- Inkscape 1.2-dev (c1616499, 2022-01-19) Linux Mint 20
Original issue (extensions bug)
Original issue
(settings: user defined fill)
Result:
Traceback (most recent call last):
File "markers_strokepaint.py", line 147, in <module>
MarkerStrokePaintEffect().run()
File "/opt/inkscape_master/share/inkscape/extensions/inkex/base.py", line 111, in run
self.save_raw(self.effect())
File "markers_strokepaint.py", line 135, in effect
cstyle['stroke'] = stroke
UnboundLocalError: local variable 'stroke' referenced before assignment
Edited by Nathan Lee