fix multi-preset export scaling#19987
Conversation
The scaling setting needs to be read at job creation.
|
Release notes: Fixed wrong handling of scaling factor during multi-preset export. |
|
thanks guys. Is there a way to test the implementation of this new feature ? Maybe in a future Night Build ? |
|
Yes, on tomorrow nightly build. |
|
I can confirm that the scaling is now fixed in the nightly build. Thanks for your help. |
|
@DaveInDev : Can you please open a new issue for this? TIA. |
|
Probably a similar cause, I will look. |
|
@DaveInDev: Can you please check #20015 |
|
By the way, it seems that there is the same problem as the scaling factor on the JPEG quality factor. On the same example as described in #19983, where you have two differents JPEG qualities, when you multi-export, only one of the qualities is taken into account (sometimes 90%, sometimes 80%, but I do not figure out the logic...). I tested it on 5.5.0+18~gb9fa7e4d34 |
|
I see. @TurboGit: This is a real mess, the export submodules get their params by reading the GUI settings. This works when using a single export, but not when running multiple export jobs in parallel. Only an index ( |
|
@zisoft : I understand, I remember having seen that when looking at the code. Part of the params are read from GUI, others from config parameters. Both could change anyway. We need a redesign on all this to snapshot all parameters when starting the export and be sure only those values are read (passed to the proper routines) during the whole export process. |
|
I think I have fixed this now in #20015 The reason was that the parameter of the format submodule were read during the running export job execution, and so reading all changes which were made in the GUI instead of the preset parameters. Now I read the parameters at job creation and pass them to the job. |
The scaling setting needs to be read at job creation.
fixes #19983