diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-01-10 14:36:57 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2006-01-10 14:36:57 +0300 |
commit | dd7e0b6bfeefae727bb9bcb9a5241fc3af482e4d (patch) | |
tree | 556b33bfa2e1ab09a019e240b093f2acd1a193f3 /source/blender/makesdna | |
parent | b7be6620d6ecfbec1d82128f402b585041910ca9 (diff) |
Apply Subsurf to UV's.
This fixes most of the UV distortion issues with subsurf. Near seams
however there might still be some distortion, but this should at least
not be worse than before. Subsurf UV is enabled by default on new meshes,
and can be enabled in the modifier panel for existing ones.
Before and after:
http://users.pandora.be/blendix/notsmooth.png
http://users.pandora.be/blendix/smooth.png
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_meshdata_types.h | 1 | ||||
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h index eaacdb3a398..9fe5a3acacf 100644 --- a/source/blender/makesdna/DNA_meshdata_types.h +++ b/source/blender/makesdna/DNA_meshdata_types.h @@ -75,6 +75,7 @@ typedef struct MSticky { #define ME_SPHERETEST 2 #define ME_SPHERETEMP 4 #define ME_HIDE 16 +#define ME_VERT_MERGED (1<<6) #define ME_VERT_STEPINDEX (1<<7) /* medge->flag (1=SELECT)*/ diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index b1b8239ac7d..19128bd0286 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -47,7 +47,8 @@ typedef struct ModifierData { typedef enum { eSubsurfModifierFlag_Incremental = (1<<0), eSubsurfModifierFlag_DebugIncr = (1<<1), - eSubsurfModifierFlag_ControlEdges = (1<<2) + eSubsurfModifierFlag_ControlEdges = (1<<2), + eSubsurfModifierFlag_SubsurfUv = (1<<3) } SubsurfModifierFlag; typedef struct SubsurfModifierData { |