Fix #21028: operator redo creates hundreds of images when texture paint is on.
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 23 Jul 2010 14:46:31 +0000 (14:46 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Fri, 23 Jul 2010 14:46:31 +0000 (14:46 +0000)
commita62e34057381e8b25b25827ded2e0fd59fc62727
treef0a1de539719688bed8fbc798fc7cbd022f7ab7c
parentf5dd835850d752ccedb9b5b6a5b6ed9b1ffd399f
Fix #21028: operator redo creates hundreds of images when texture paint is on.
Now operator redo will look for an undo push with the same name in both the
paint/sculpt and global undo stack.
source/blender/editors/include/ED_sculpt.h
source/blender/editors/sculpt_paint/paint_image.c
source/blender/editors/sculpt_paint/paint_intern.h
source/blender/editors/sculpt_paint/paint_undo.c
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/util/undo.c