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
path: root/source
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-05-07 05:27:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-07 05:27:58 +0400
commitc46fa2745a98fe0b4545743751ad1e96802e330d (patch)
tree40a0506b2408295401a542783cafad1e11048d83 /source
parent49fda9470d3abe0e8f19058ea6e893209bf250f7 (diff)
smudge on float images crashed
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/imagepaint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/src/imagepaint.c b/source/blender/src/imagepaint.c
index ad155dc27a1..86534438ba0 100644
--- a/source/blender/src/imagepaint.c
+++ b/source/blender/src/imagepaint.c
@@ -3798,10 +3798,9 @@ static void *do_projectpaint_thread(void *ph_v)
*projPixel->pixel.uint_pt = ((ProjPixelClone *)projPixel)->clonepx.uint;
}
- for (node= smearPixels_f; node; node= node->next) { /* this wont run for a float image */
+ for (node= smearPixels_f; node; node= node->next) {
projPixel = node->link;
IMAPAINT_CHAR_RGBA_TO_FLOAT(projPixel->pixel.f_pt, ((ProjPixelClone *)projPixel)->clonepx.ch);
- node = node->next;
}
BLI_memarena_free(smearArena);