Bug 452307

Summary: New scene creates a frame on locked layers.
Product: [Applications] krita Reporter: Emmet O'Neill <emmetoneill.pdx>
Component: StoryboardAssignee: Emmet O'Neill <emmetoneill.pdx>
Severity: normal CC: eoinoneill1991
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Emmet O'Neill 2022-04-05 20:46:27 UTC
Creating a new storyboard scene creates a new frame even when the layer is locked.
It shouldn't!
Comment 1 Eoin O'Neill 2022-04-05 21:18:26 UTC
Closing this as duplicate, but cherry-picking the changes from master into 5.0 branch.

*** This bug has been marked as a duplicate of bug 447396 ***
Comment 2 Eoin O'Neill 2022-04-05 21:46:37 UTC
Git commit 93e280f38259b4d55dcbebb29a38cdbb8cd7b560 by Eoin O'Neill.
Committed on 05/04/2022 at 21:16.
Pushed by eoinoneill into branch 'krita/5.0'.

Fix storyboarding docker creating keyframes on locked layers.

Also accounts for layer visibility as well. If you can't see it, you
won't edit the data which is probably the expected behavior.
Related: bug 447396
(cherry picked from commit 75e397c903274ee8bcb6ab6da9797fccc310ec7d)

M  +14   -4    plugins/dockers/storyboarddocker/StoryboardModel.cpp