… the whole canvas while keeping aspect ratio of the source image. The previous dimensions were not entirely "out of the blue" since they were taken from the file, but very often dimensions from vector images are kinda bogus (apart from aspect ratio, they don't mean much) anyway. Now we will just fill the canvas box by default. When changing the source file of an existing link layer though (through Link Layer properties), the dimensions will be within the current layer bounding box. Also I realized that we need to also store the link width/height in the XCF because the buffer width/height may not be right (in case a transform matrix was applied). This commit therefore breaks XCF file with link layers made in the last 2 days. Since we have not made even a dev release, it's probably fine to do this and not bump the XCF version. |
||
|---|---|---|
| .. | ||
| files | ||
| gimpdir | ||
| gimpdir-empty | ||
| gimp-app-test-utils.c | ||
| gimp-app-test-utils.h | ||
| gimp-test-session-utils.c | ||
| gimp-test-session-utils.h | ||
| manual-testcases.txt | ||
| meson.build | ||
| test-core.c | ||
| test-gimpidtable.c | ||
| test-save-and-export.c | ||
| test-session-2-8-compatibility-multi-window.c | ||
| test-session-2-8-compatibility-single-window.c | ||
| test-single-window-mode.c | ||
| test-tools.c | ||
| test-ui.c | ||
| test-xcf.c | ||
| tests.c | ||
| tests.h | ||