Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2019-09-25 16:47:11 +0300
committerAntonio Vazquez <blendergit@gmail.com>2019-09-25 17:13:57 +0300
commitb393b135245eada5a508828073d68e442cd631fd (patch)
tree2516e28774baabe942070b94edef5bb720e596b0 /source/creator
parentf8da7218be130b26eccc33df2ba78004509e4b82 (diff)
Fix T70231: GPencil - Moving very fast tablet pen gets ugly stroke ends
When move very fast the pen using a tablet, the end of the strokes was very ugly if the sampling was enabled. The reason for that is the last point and the previous one was interpolated in distance, but not in pressure and strength. This commit uses several processes to get better endings: a) If the pressure at the end of the stroke is very low, this part of the stroke is removed. This is a common issue with some tablet that send events with very low pressure when the pen is raised from drawing surface. b) The interpolated points created by sampling are interpolated in strength and pressure to get a smooth transition. c) Active smooth also uses the strength. Before only pressure was used.
Diffstat (limited to 'source/creator')
0 files changed, 0 insertions, 0 deletions