[Hugin-devs] [Bug 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread tmodes
Now I see it. It is related to linked image variables. For unlinked image variables it worked fine. It should now be fixed in repository in changeset 490baa16aae6. ** Changed in: hugin Status: Incomplete => Fix Committed ** Changed in: hugin Milestone: None => 2022.0beta1 -- You

[Hugin-devs] [Bug 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread Janne
Yes, the expected value would be approx double since the image dimensions are approx. doubled, but now Hugin scales them by one million(!) and that is way out of line. Relevant line in the .pto: d-8.64110014684784 e29.8343029352771 The values in Hugin when the .pto is applied as a template: d:

[Hugin-devs] [Bug 1975825] Re: Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread tmodes
You need to be more precise what is "incorrect scaled". The parameter d, e, Vx and Vy are in pixel. (While other image parameters are relative.) When the image is bigger than in the template these parameters needs therefore scaled to take the new image size into account. So if the new image is

[Hugin-devs] [Bug 1975825] [NEW] Image parameters d, e, Vx and Vy are incorrectly scaled when loading a project file as template

2022-05-26 Thread Janne
Public bug reported: 1: load a set of images that are larger than the images specified in the template .pto file 2: image parameters d, e and Vx, Vy are incorrectly scaled for the new images In this case, the original files were 4924 × 7378 pixels and the new files were 9824 × 14720 pixels in