diff options
author | Matt Ebb <matt@mke3.net> | 2009-09-18 07:11:17 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2009-09-18 07:11:17 +0400 |
commit | bf6f23ff5f8af6ae28b5efa113b5b628ad2edb6b (patch) | |
tree | 9ed96f6ffea10ee0bb76e3a5db108e1c27ef6b81 /source/blender/editors/space_image/space_image.c | |
parent | a393a9c6f05b66692fbbb7ae2a3f101744e550f0 (diff) |
* Added notifiers/redraws for brush edits in 3d view and image editor (so using radial control updates tool properties)
* Changed the non-projection paint code to use the brush falloff curve, rather than a predefined falloff. This makes non-projection painting in the 3d view, and image editor painting much more consistent with other brush usage.
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 75e7461df95..e325a820e92 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -486,7 +486,10 @@ static void image_buttons_area_listener(ARegion *ar, wmNotifier *wmn) { /* context changes */ switch(wmn->category) { - + case NC_BRUSH: + if(wmn->action==NA_EDITED) + ED_region_tag_redraw(ar); + break; } } |