changing current layer through an extension
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Low
|
cosmin |
Bug Description
When trying to modify the current layer through a python extension, it doesn't work.
When I try to set up the inkscape:
nv = self.getNamedView()
nv.set(
When this code is executed, I would expect that the layer with the id 'my_new_layer' is selected, but instead the same layer is selected (that was selected before executing the code). Please find attached a demo extension. Execute the extension. You will notice that although the output document contains the correct id in the inkscape:
tags: | added: extensions-plugins |
Changed in inkscape: | |
importance: | Undecided → Wishlist |
milestone: | none → 0.49 |
status: | Confirmed → Triaged |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Possibly related:
'Live Preview' issue described in comments #16 and #17 of bug #789122.