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:
authorJulian Eisel <julian_eisel@web.de>2015-02-17 04:11:17 +0300
committerJulian Eisel <julian_eisel@web.de>2015-02-17 04:12:23 +0300
commit691cb61835dcf8964cb1e6110a4d369665fa1f21 (patch)
tree57416b18b88486bb72f0ddf0565c6bf130787c32 /source/blender/editors
parent89412028cefd9454b12f3ddf6580a8d1414b58c7 (diff)
Fix for another missing update from GPencil in Outliner
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/space_outliner/space_outliner.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 30de9c16500..e1aea8892b5 100644
--- a/source/blender/editors/space_outliner/space_outliner.c
+++ b/source/blender/editors/space_outliner/space_outliner.c
@@ -388,11 +388,8 @@ static void outliner_main_area_listener(bScreen *UNUSED(sc), ScrArea *UNUSED(sa)
}
break;
case NC_GPENCIL:
- switch (wmn->data) {
- case ND_DATA:
- ED_region_tag_redraw(ar);
- break;
- }
+ if (ELEM(wmn->action, NA_EDITED, NA_SELECTED))
+ ED_region_tag_redraw(ar);
break;
}