Blender Git Loki

Git Commits -> Revision b5b95c6

Revision b5b95c6 by Antonis Ryakiotakis (soc-2013-paint)
June 30, 2013, 09:55 (GMT)
Optimizations for image paint undo stack for drag dot/anchored strokes

* Skip copy of undo tile to temorary buffer when restoring. Gives a nice
speedup.
* When we restore the image from undo tiles, make tiles invalid. On undo
push end, invalid tiles get deleted. This solves saving too many tiles
in the case where user could happilly drag the dot all around the image.

Commit Details:

Full Hash: b5b95c628c16d2cc73d81e8f2162e6bd52734bd9
SVN Revision: 57882
Parent Commit: 986abef
Lines Changed: +49, -37

4 Modified Paths:

/source/blender/editors/sculpt_paint/paint_image.c (+46, -25) (Diff)
/source/blender/editors/sculpt_paint/paint_image_2d.c (+2, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_intern.h (+1, -2) (Diff)
/source/blender/editors/sculpt_paint/paint_undo.c (+0, -8) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021