Perspective works only with objects converted to path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Unassigned | ||
inkscape (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Inkscape0801270322, Windows Vista Home Premium
The perspective effect works only when object is converted to path. If I try to apply a perspective by selecting 2 objects (in my case a rectangle and a hand drawn line) I get this error:
-------
Traceback (most recent call last):
File "share\
e.affect()
File "C:\Users\
self.effect()
File "share\
solmatrix[i][0] = sp[i][0]
UnboundLocalError: local variable 'sp' referenced before assignment
-------
But as soon as I convert the rectangle to path, the error is gone and the perspective effect works as it should.
The user-friendly way to correct that is to make the perspective extention automatically convert selected objects (in case there are any) to path before applying the effect AND tell about the undergoing conversion to the user (a dialog box saying "The selected objects will be converted to path" and OK / CANCEL buttons)
Changed in inkscape (Ubuntu): | |
status: | New → Fix Released |
I agree that this is buggy. If you search on 'perspective' in the bug database you'll find lots of bugs already reported. Rather than starting a new discussion here, how about adding your comments to one of those. Maybe bug 171967 ?