diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-11 09:20:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-11 09:20:31 +0300 |
commit | e08c2128af86ea027bd1e4163753cd9130e4af3c (patch) | |
tree | 755f82481d78013412073d8e71073d906485c08f /source/blender/editors/sculpt_paint/paint_utils.c | |
parent | 5911b6b313c7ada6d58a634ec5ec5f07fe1652a9 (diff) | |
parent | 3a1af7444c36df7a3bd0ffcd8566c52136b14629 (diff) |
Merge branch 'blender-v2.82-release'
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_utils.c')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_utils.c b/source/blender/editors/sculpt_paint/paint_utils.c index e799e54188d..37cc543872e 100644 --- a/source/blender/editors/sculpt_paint/paint_utils.c +++ b/source/blender/editors/sculpt_paint/paint_utils.c @@ -545,7 +545,7 @@ void paint_sample_color( } ImBuf *ibuf = BKE_image_acquire_ibuf(image, &iuser, NULL); - if (ibuf && ibuf->rect) { + if (ibuf && (ibuf->rect || ibuf->rect_float)) { sample_success = true; u = u * ibuf->x; |