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:
authorAntony Riakiotakis <kalast@gmail.com>2012-07-09 20:12:57 +0400
committerAntony Riakiotakis <kalast@gmail.com>2012-07-09 20:12:57 +0400
commit4c7f7b6dbf810a2f38a162ab9ca4f0af56a0c255 (patch)
tree73b1d6d301c8494b1814869f0f3f4f31e5d49794 /source/blender/makesdna/DNA_meshdata_types.h
parent54ed3dee68c1a5b6db107e2a7454ff20e23123bb (diff)
Fix for #31962, changes image ignores correct aspect ratio. Made
unwrapper flush the correct aspect flag to mtpoly after unwrap. Faces that have been unwrapped with correct aspect option will fix their aspect each time a different image is assigned to them. I hope fix works 100%, I can't say that I really understood the bizarre aspect ratio system.
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 5806d9a3947..9ae2bec583d 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -360,13 +360,14 @@ typedef struct MVertSkin {
/* mtface->unwrap */
-#define TF_DEPRECATED1 1
-#define TF_DEPRECATED2 2
-#define TF_DEPRECATED3 4
-#define TF_DEPRECATED4 8
-#define TF_PIN1 16
-#define TF_PIN2 32
-#define TF_PIN3 64
-#define TF_PIN4 128
+#define TF_DEPRECATED1 1
+#define TF_DEPRECATED2 2
+#define TF_DEPRECATED3 4
+#define TF_DEPRECATED4 8
+#define TF_PIN1 16
+#define TF_PIN2 32
+#define TF_PIN3 64
+#define TF_PIN4 128
+#define TF_CORRECT_ASPECT 256
#endif