Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-05-27 07:43:22 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-27 07:43:22 +0400
commitfb7d688c1bd327f17b86ac74dab511bab40496df (patch)
treec15f01321950885f3f6956039fea8ca604063c53
parent0cab562e466352b9aaa409797e2efba7336554f5 (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.c1
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++) {