URL:
  <http://gna.org/bugs/?17081>

                 Summary: Traceback when setting pressure curve
                 Project: MyPaint
            Submitted by: griatch
            Submitted on: Sunday 11/14/2010 at 17:48
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: GIT
         Planned Release: None
        Operating System: Linux SID

    _______________________________________________________

Details:

When editing the tablet pressure sensitivity from Preferences, even touching
the spline nodes in any way produces a "Programming error" dialogue. The
actual functionality does not seem affected. 
It turns out this only occurs if one at the same time views the image at a
very specific zoom level- notably the level 5 steps below max zoom-out (so go
to max zoom-out and zoom in 5 times to find the troublesome zoom level). Any
other zoom level and adjusting the curve creates no traceback. 

Traceback (most recent call last):
  File "/home/samreg/Progs/mypaint/mypaint-trunk/gui/functionwindow.py", line
368, button_release_cb(no details)
            # notify user of the widget
            self.changed_cb(self)
  variables: {'self': (None, [])}
  File "/home/samreg/Progs/mypaint/mypaint-trunk/gui/preferenceswindow.py",
line 155, pressure_curve_changed_cb(no details)
            self.app.preferences['input.global_pressure_mapping'] =
self.cv.points[:]
            self.app.apply_settings()
  variables: {'self': (None, [])}
  File "/home/samreg/Progs/mypaint/mypaint-trunk/gui/application.py", line
158, apply_settings(no details)
            try:
                self.preferencesWindow.update_ui()
            except AttributeError:
  variables: {'self': (None, [])}
  File "/home/samreg/Progs/mypaint/mypaint-trunk/gui/preferenceswindow.py",
line 133, update_ui(no details)
            zoom = self.app.doc.zoomlevel_values[self.app.doc.zoomlevel]
            zoomlevel = self.defaultzoom_values.index(zoom)
            self.defaultzoom_combo.set_active(zoomlevel)
  variables: {'zoomlevel': (None, []), 'self': (None, []), 'zoom': (None,
[])}
ValueError: list.index(x): x not in list




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17081>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to