diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-05-27 07:43:22 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-05-27 07:43:22 +0400 |
commit | fb7d688c1bd327f17b86ac74dab511bab40496df (patch) | |
tree | c15f01321950885f3f6956039fea8ca604063c53 | |
parent | 0cab562e466352b9aaa409797e2efba7336554f5 (diff) |
flag the images as dirty when projection painting (so there is the option to repack a packed image)
-rw-r--r-- | source/blender/src/imagepaint.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/src/imagepaint.c b/source/blender/src/imagepaint.c index e6b14497838..afe9678a216 100644 --- a/source/blender/src/imagepaint.c +++ b/source/blender/src/imagepaint.c @@ -3300,6 +3300,7 @@ static void project_paint_end(ProjPaintState *ps) int size = sizeof(UndoTile **) * IMAPAINT_TILE_NUMBER(last_projIma->ibuf->x) * IMAPAINT_TILE_NUMBER(last_projIma->ibuf->y); last_projIma->undoRect = (UndoTile **) BLI_memarena_alloc(arena, size); memset(last_projIma->undoRect, 0, size); + last_projIma->ibuf->userflags |= IB_BITMAPDIRTY; } for (bucket_index = 0; bucket_index < bucket_tot; bucket_index++) { |