forked from edgardoh/darktable
-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update final image size: do it only on darkroom leave
That function only updates the final image size in metadata, for collection purposes. But it is called in many places, assumes we have a darkroom pipeline, and lock its mutex. This hypothesis is a bit wild and the mutex locking will create dead locks. All in all, we only need to update sizes once, when leaving darkroom. Or when we update an history (pasting/styles) in lighttable... but current design anyway works only with an active darkroom pipeline. All in all, image dimensions metadata are rarely used, we don't really care about them, and anyway they are not important enough to disrupt the whole running sequence. Another great piece of design from 2020…
- Loading branch information
1 parent
4be9cac
commit f5ca43a
Showing
5 changed files
with
1 addition
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters