Blender Git Commit Log
Git Commits -> Revision 151cc02
Revision 151cc02 by Campbell Barton (master) October 1, 2019, 14:44 (GMT) |
Image: support storing full image buffers for each undo step Update image undo to store buffers for each step: - Undo buffers share tiles to avoid using too much memory. - Undo support for different sized buffers allowing operations such as crop or resize. - Paint tiles have been split into separate API/storage. - Painting speed wont be impacted significantly since storing the extra tiles is done after the stroke & only for the first undo step. Resolves T61263, see D5939 for details. |
Commit Details:
Full Hash: 151cc02b6f8234c94a65618ae0437403e1aba689
Parent Commit: bdd142b
Lines Changed: +711, -246
6 Modified Paths:
/source/blender/editors/include/ED_paint.h (+4, -0) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image_undo.c (+658, -234) (Diff)
/source/blender/editors/space_image/image_ops.c (+7, -12) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+2, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+39, -0) (Diff)
/source/blender/editors/sculpt_paint/CMakeLists.txt (+1, -0) (Diff)
/source/blender/editors/sculpt_paint/paint_image_undo.c (+658, -234) (Diff)
/source/blender/editors/space_image/image_ops.c (+7, -12) (Diff)
/source/blender/imbuf/IMB_imbuf.h (+2, -0) (Diff)
/source/blender/imbuf/intern/rectop.c (+39, -0) (Diff)