Clear active flag of GPencil layer when deselecting #106116

Closed
Pratik Borhade wants to merge 1 commits from PratikPB2123/blender:clear-gpencil-active-flag into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 3 additions and 0 deletions

View File

@ -536,6 +536,9 @@ static void anim_channels_select_set(bAnimContext *ac,
bGPDlayer *gpl = (bGPDlayer *)ale->data;
ACHANNEL_SET_FLAG(gpl, sel, GP_LAYER_SELECT);
if ((gpl->flag & GP_LAYER_SELECT) == 0) {
gpl->flag &= ~GP_LAYER_ACTIVE;
}
break;
}
case ANIMTYPE_MASKLAYER: {