Fix #35372: sculpting/painting long brush strokes with small brush size would
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 15 May 2013 22:55:30 +0000 (22:55 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Wed, 15 May 2013 22:55:30 +0000 (22:55 +0000)
commit837d0ac2e0882bc63da15c96f41fa76da2486bf6
treea7e9ac451f910823d63710c79cd44b9213d85913
parentb97397cae3fb74078e496d58cf0e37383732977c
Fix #35372: sculpting/painting long brush strokes with small brush size would
take up a lot of memory.

The operator was recording an array with all stroke points. However this was not
particularly useful, only sculpt mode had exec() implemented to redo the stroke,
but it was not registering the operator anyway so there was no way to access the
data after the operator was done. So no one was using this anyway.

I did now implement exec for the paint modes so you can call the operator with
stroke points from a script.
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_stroke.c
source/blender/editors/sculpt_paint/paint_vertex.c