Blender Git Commit Log
Git Commits -> Revision 0fabb20
Revision 0fabb20 by Nicholas Bishop (master) June 30, 2009, 23:06 (GMT) |
2.5/Sculpt: == Re-added smooth stroke == UI: toggle is just in the sculpt menu for now. Also changes the sculpt paint cursor slightly, draws a line between previous and current locations. It's a different implementation than in 2.4, works like this: The stroke interpolates between the last mouse location and the current location, weighted towards the previous location. If the stroke gets within a certain radius of the current mouse location, the stroke stops. This radius allows for sharp turns in the stroke. Todo: there are two hard-coded parameters that should become user settable, that's the weighting between previous and current locations, and most important, the no-update radius. Note also that this option was added as a per-brush flag, worth discussing whether that's the correct place, or whether it should be a sculpt setting like symmetry? == Improved stroke spacing == The previous implementation of stroke spacing simply guaranteed that stroke dots would not occur any closer than the space setting. It now forces stroke dots to always be the specified distance apart. Todo: Performance gets pretty awful with a small spacing setting, this needs optimization. |
Commit Details:
Full Hash: 0fabb2039b3e85ae7b7b712e5dc1b7ba22929440
SVN Revision: 21278
Parent Commit: 5403edf
Lines Changed: +119, -31