Comment 8 for bug 168336

Revision history for this message
Kattekrab (donna) wrote :

D'oh! It works if you select the text first, then the bezier path... would it be possible for inkscape to say that instead of the python traceback?

EG: "To use the perspective effect, select the item you wish to modify first, then the perspective path it should follow"?

or something like that :)

Inkscape Version:
-----------------------
Format: 1.8
Date: Sun, 30 Nov 2008 23:13:18 +1100
Source: inkscape
Binary: inkscape
Architecture: source i386
Version: 0.46.0-1cafuego1+svn-20286
Distribution: intrepid

Steps to Reproduce:
-------------------------
1. create text
2. convert text to path
3. create box with bezier
4. select path, shift select text
4. select Effects -> Modify Path -> Perspective

Error/Warning returned:
------------------------------
Traceback (most recent call last):
  File "/usr/share/inkscape/extensions/perspective.py", line 133, in <module>
    e.affect()
  File "/usr/share/inkscape/extensions/inkex.py", line 172, in affect self.effect() File "/usr/share/inkscape/extensions/perspective.py", line 85, in effect solmatrix[i][0] = sp[i][0]UnboundLocalError: local variable 'sp' referenced before assignment