Skip to content

Slicer Extension not clearing out slice layer

Matt Harrison requested to merge matthewharrison/extensions:slice into master

Running the slicer extension layer2py.py some more I noticed that it wasn't clearing out the slice rectangles before exporting.

Well, the code is doing that, but the call to inkscape wasn't running on the new updated image, only on the old image. So now I'm exporting the image to a temp directory and running the inkscape command on the export.

Would love to know if there is a better way.

Merge request reports