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>2015-09-21 03:32:14 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-23 17:02:24 +0300
commit574e859e387ef5c4a44b78530ea86ff8d9b63cbd (patch)
tree0f58d9fdaa3e205a9297968d7551819b1153c3af
parent869c3344c92cf29d7081f64e3d0f45d66c59cf0a (diff)
Fix T46186: Panel doesn't update on brush change
-rw-r--r--source/blender/editors/space_image/space_image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 98a0752f64d..97e3390f142 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -919,7 +919,8 @@ static void image_tools_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa),
ED_region_tag_redraw(ar);
break;
case NC_BRUSH:
- if (wmn->action == NA_EDITED)
+ /* NA_SELECTED is used on brush changes */
+ if (ELEM(wmn->action, NA_EDITED, NA_SELECTED))
ED_region_tag_redraw(ar);
break;
case NC_SCENE: