Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-09-27 23:36:55 +0300
committerHans Goudey <h.goudey@me.com>2022-09-27 23:36:55 +0300
commite88d1467f98cdd57c69f470840e71fde78c8b9eb (patch)
treea86130ec7ed41bcabdf3f8cec99d47a39ed1b175 /source/blender/makesdna
parentb145cc9d361e21da3a8a0ff2ef3bad1f8e8fbae6 (diff)
Initial patch from Jeroen
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_image_defaults.h1
-rw-r--r--source/blender/makesdna/DNA_image_types.h6
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;