Blender Git Loki

Git Commits -> Revision 837d0ac

Revision 837d0ac by Brecht Van Lommel (master)
May 15, 2013, 22:55 (GMT)
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.

Commit Details:

Full Hash: 837d0ac2e0882bc63da15c96f41fa76da2486bf6
SVN Revision: 56834
Parent Commit: b97397c
Lines Changed: +75, -16

3 Modified Paths:

/source/blender/editors/sculpt_paint/paint_image.c (+43, -12) (Diff)
/source/blender/editors/sculpt_paint/paint_stroke.c (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_vertex.c (+28, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021