Bug 377354

Summary: Do NOT delete 'frames in the same naming scheme' (out of frame range) when exporting
Product: [Applications] krita Reporter: gordie.lachance+dev
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: halla, rylleman
Priority: NOR    
Version: 3.1.2   
Target Milestone: ---   
Platform: unspecified   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gordie.lachance+dev 2017-03-07 19:23:37 UTC
Hi, when I export my animation and that some files have the same naming scheme, I got the following message :

"Frames with the same naming scheme exist in the destination directory.  The are going to be deleted, continue ?"

Then the whole sequence is deleted.

Only the files from the frame range exported should be deleted.

Why ?
Let's say I have an animation of 1000 frames but I just changed 20 of them.
The 1000 frames are deleted...  
And I have to render the whole sequence again :/

By the way, files are not moved to the trash bin but are really deleted, so you can't restore them.

Thanks !
Comment 1 Halla Rempt 2017-03-27 19:46:46 UTC
*** Bug 378175 has been marked as a duplicate of this bug. ***
Comment 2 joupent 2018-09-25 12:38:28 UTC
Git commit d2717fd53982bac921d9ab767ca15454c7ec9ed5 by Jouni Pentikäinen.
Committed on 25/09/2018 at 12:37.
Pushed by jounip into branch 'master'.

Delete existing frame files only within exported range

M  +13   -0    libs/ui/dialogs/KisAsyncAnimationFramesSaveDialog.cpp

https://commits.kde.org/krita/d2717fd53982bac921d9ab767ca15454c7ec9ed5
Comment 3 Halla Rempt 2018-09-26 09:11:39 UTC
Git commit 20fb785bbe8ff6032dd9cab5d393b4c4b2f0fd3a by Boudewijn Rempt, on behalf of Jouni Pentikäinen.
Committed on 26/09/2018 at 09:10.
Pushed by rempt into branch 'krita/4.1'.

Delete existing frame files only within exported range

M  +13   -0    libs/ui/dialogs/KisAsyncAnimationFramesSaveDialog.cpp

https://commits.kde.org/krita/20fb785bbe8ff6032dd9cab5d393b4c4b2f0fd3a