diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2019-12-05 12:19:49 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2019-12-05 12:19:49 +0300 |
commit | 2f05c79db37c053a646cdd059ded90e2743427ed (patch) | |
tree | 30c294b8e32e76d6b9500dcb9117a9c77d14de64 /source/blender/editors/space_outliner/outliner_select.c | |
parent | f4b7d57551061350216048d5d30b9b674f741c28 (diff) |
Fix T72182: Fade Layers Option does not work when activating a layer from Dope Sheet or Outliner
The layer was activated, but the datablock was not tagged to recalc GPU cache.
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_select.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_select.c b/source/blender/editors/space_outliner/outliner_select.c index c96f2f9956f..51e837db4c2 100644 --- a/source/blender/editors/space_outliner/outliner_select.c +++ b/source/blender/editors/space_outliner/outliner_select.c @@ -557,6 +557,7 @@ static eOLDrawState tree_element_active_gplayer(bContext *C, if (set != OL_SETSEL_NONE) { if (gpl) { BKE_gpencil_layer_setactive(gpd, gpl); + DEG_id_tag_update(&gpd->id, ID_RECALC_GEOMETRY); WM_event_add_notifier(C, NC_GPENCIL | ND_DATA | NA_SELECTED, gpd); } } |