[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [34333] trunk/blender/source/blender/ editors/sculpt_paint: IRC bugreport fix: thumb brush works incorrect when using tablet by Dan McGrath (troubled)

Sergey I. Sharybin g.ulairi at gmail.com
Sat Jan 15 15:56:29 CET 2011


  Hi everybody!

I've been discussing this fix with Ton today (it tooked ~1.5hr). This 
makes things work fine, but fix isn't very elegant from theretical point 
of view.

Ton proposed idea of splitting cursor moving, pressure changing events 
(end tilt/angle changes in the future), so brushed would be able to 
avoid events they don't need. It's very brief description, but we'd 
better meet online all together and discuss things. Mailing list could 
be too slow for this, so maybe we could meet in IRC?

Sergey Sharybin wrote:
> Revision: 34333
>            http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=34333
> Author:   nazgul
> Date:     2011-01-15 14:48:44 +0000 (Sat, 15 Jan 2011)
> Log Message:
> -----------
> IRC bugreport fix: thumb brush works incorrect when using tablet by Dan McGrath (troubled)
>
> Quite silly fix, not sure if it could be smarter with current events/brushes design.
> Use pressure_value from first brush step for brushes which don't support strokes -- thumb.
> brush, brushes with anchored stroke method.
>
> Should be fixed in nicer way after events redesigning.
>
> P.S. Tried to place pressure saving into invaliants update fuunction, but it seens
>       that this function wouldn't know about pressure yet.
>
> <trunkated to prevent overquote>
>
> _______________________________________________
> Bf-blender-cvs mailing list
> Bf-blender-cvs at blender.org
> http://lists.blender.org/mailman/listinfo/bf-blender-cvs
>
-- 
With best regards, Sergey I. Sharybin



More information about the Bf-committers mailing list