diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-27 23:36:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-27 23:36:55 +0300 |
commit | e88d1467f98cdd57c69f470840e71fde78c8b9eb (patch) | |
tree | a86130ec7ed41bcabdf3f8cec99d47a39ed1b175 /source/blender/makesdna | |
parent | b145cc9d361e21da3a8a0ff2ef3bad1f8e8fbae6 (diff) |
Initial patch from Jeroen
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_image_defaults.h | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_image_types.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_image_defaults.h b/source/blender/makesdna/DNA_image_defaults.h index 52df8c869cf..a68a1751d58 100644 --- a/source/blender/makesdna/DNA_image_defaults.h +++ b/source/blender/makesdna/DNA_image_defaults.h @@ -24,6 +24,7 @@ .gpuframenr = INT_MAX, \ .gpu_pass = SHRT_MAX, \ .gpu_layer = SHRT_MAX, \ + .seamfix_iter = 8, \ } /** \} */ diff --git a/source/blender/makesdna/DNA_image_types.h b/source/blender/makesdna/DNA_image_types.h index f35c77f663b..4327d0c397f 100644 --- a/source/blender/makesdna/DNA_image_types.h +++ b/source/blender/makesdna/DNA_image_types.h @@ -163,7 +163,11 @@ typedef struct Image { short gpu_pass; short gpu_layer; short gpu_view; - char _pad2[4]; + + /* Number of iterations to perform to extract a mask for uv seam fixing. */ + short seamfix_iter; + + char _pad2[2]; /** Deprecated. */ struct PackedFile *packedfile DNA_DEPRECATED; |