[Bf-blender-cvs] [691cb61] master: Fix for another missing update from GPencil in Outliner
Julian Eisel
noreply at git.blender.org
Tue Feb 17 02:12:40 CET 2015
Commit: 691cb61835dcf8964cb1e6110a4d369665fa1f21
Author: Julian Eisel
Date: Tue Feb 17 02:11:17 2015 +0100
Branches: master
https://developer.blender.org/rB691cb61835dcf8964cb1e6110a4d369665fa1f21
Fix for another missing update from GPencil in Outliner
===================================================================
M source/blender/editors/space_outliner/space_outliner.c
===================================================================
diff --git a/source/blender/editors/space_outliner/space_outliner.c b/source/blender/editors/space_outliner/space_outliner.c
index 30de9c1..e1aea88 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;
}
More information about the Bf-blender-cvs
mailing list