From 4c7f7b6dbf810a2f38a162ab9ca4f0af56a0c255 Mon Sep 17 00:00:00 2001 From: Antony Riakiotakis Date: Mon, 9 Jul 2012 16:12:57 +0000 Subject: 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. --- source/blender/makesdna/DNA_meshdata_types.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'source/blender/makesdna/DNA_meshdata_types.h') 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 -- cgit v1.2.3