URL:
<http://gna.org/bugs/?18322>
Summary: Strokes being made when changing stylus ends
(devices)
Project: MyPaint
Submitted by: benosteen
Submitted on: Sat Jul 9 00:36:21 2011
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 0.9.0, 0.9.1+git
Planned Release: None
Operating System: Linux Ubuntu 11.04
_______________________________________________________
Details:
Using a Wacom Graphire3 (an old model) I've found that when switching from
erasing to painting ends of the stylus, sometimes it would leave a visible
mark on the layer. This is most prominent when switching from erase to paint.
This stroke occurs as soon as the wacom registers the presence of the stylus,
before there is any contact made with the tip.
Adding a print statement to lib/stroke.py, I found that this unwanted stroke
occurs when the pressure value is not zero just before a change. Typically
this occurs when I use the stylus and remove it from the surface too quickly
for the tablet to register that there is no pressure.
This high value of pressure lingers until the other tip is brought near the
tablet, causing a stroke between the high pressure and the zero pressure as it
is now but with the brush set to the other pen causing the stroke.
By adding in a test to see if the device has just changed to
gui/tileddrawwidget.py:motion_notify_cb, I am able to issue a brush reset
'self.doc.brush.reset()' - not elegant, but it clears up the problem. With
this patched in, I am unable to make accidental marks as described above.
Without it, I can cause them with ease.
This is the diff on the latest git repo with the fix included:
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Sat Jul 9 00:36:21 2011 Name: reset_brush.patch Size: 2kB By:
benosteen
<http://gna.org/bugs/download.php?file_id=13489>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18322>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs