diff options
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_image.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index 87f08207d6c..3db25800a06 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -408,11 +408,13 @@ typedef struct UndoImageTile { * paint operation, but for now just give a public interface */ static ImagePaintPartialRedraw imapaintpartial = {0, 0, 0, 0, 0}; -ImagePaintPartialRedraw *get_imapaintpartial(void) { +ImagePaintPartialRedraw *get_imapaintpartial(void) +{ return &imapaintpartial; } -void set_imapaintpartial(struct ImagePaintPartialRedraw *ippr) { +void set_imapaintpartial(struct ImagePaintPartialRedraw *ippr) +{ imapaintpartial = *ippr; } |