diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-02-08 14:05:09 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-02-08 16:45:31 +0300 |
commit | ee509b4cb7fb71f48a530d56ba506a01cce82bcc (patch) | |
tree | 4697be5b7917f0b426c32b93220806def83153d0 /source/blender/editors/space_action/space_action.c | |
parent | c6afa36f477573b0c074e6667904ff7d54143f19 (diff) |
Fix: Renaming Grease Pencil layers doesn't update the Dopesheet Channels Region
Diffstat (limited to 'source/blender/editors/space_action/space_action.c')
-rw-r--r-- | source/blender/editors/space_action/space_action.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_action/space_action.c b/source/blender/editors/space_action/space_action.c index 09746b639c8..53c5a008af8 100644 --- a/source/blender/editors/space_action/space_action.c +++ b/source/blender/editors/space_action/space_action.c @@ -296,6 +296,10 @@ static void action_channel_region_listener(bScreen *UNUSED(sc), ScrArea *UNUSED( break; } break; + case NC_GPENCIL: + if (wmn->action == NA_RENAME) + ED_region_tag_redraw(ar); + break; case NC_ID: if (wmn->action == NA_RENAME) ED_region_tag_redraw(ar); |