URL:
<http://gna.org/bugs/?21256>
Summary: error in rotate
Project: MyPaint
Submitted by: mred
Submitted on: mar 05 nov 2013 09:12:44 COT
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Planned Release: None
Operating System: Linux mint 15
_______________________________________________________
Details:
Traceback (most recent call last):
File "/usr/local/share/mypaint/gui/document.py", line 101,
motion_notify_cb(self=<gui.document.Document object>, tdw=<TiledDrawWidget
object at 0x3549be0 (TiledDrawWidget at 0x29a4610)>, event=<void>)
"""
result = self.modes.top.motion_notify_cb(tdw, event)
self.__update_last_event_info(tdw, event)
variables: {'tdw': ('local', <TiledDrawWidget object at 0x3549be0
(TiledDrawWidget at 0x29a4610)>), 'result': (None, []),
'self.modes.top.motion_notify_cb': ('local', <bound method
SwitchableFreehandMode.motion_notify_cb of
<gui.freehand.SwitchableFreehandMode object at 0x3555c10>>), 'event':
('local', <void at 0x4a9ff30>)}
File "/usr/local/share/mypaint/gui/freehand.py", line 420,
motion_notify_cb(self=<gui.freehand.SwitchableFreehandMode object>,
tdw=<TiledDrawWidget object at 0x3549be0 (TiledDrawWidget at 0x29a4610)>,
event=<void>, fakepressure=None)
if tdw.rotation != 0:
tilt_angle = math.atan2(ytilt, xtilt) - tdw.rotation
tilt_magnitude = math.sqrt((xtilt**2) + (ytilt**2))
variables: {'xtilt': ('local', -1.0), 'ytilt': ('local', -1.0),
'tilt_angle': (None, []), 'tdw.rotation': ('local', -6.083334454106533),
'math': (None, [])}
NameError: global name 'math' is not defined
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21256>
_______________________________________________
Mensaje enviado vía/por Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs