diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-08-14 12:45:26 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-08-14 13:02:21 +0300 |
commit | 02dbe3b0c78045abb49a32c562933b621f3aa0b1 (patch) | |
tree | 3acb9fe0912e00190504ad62e03a7f217b4f1874 /source/blender/makesdna | |
parent | e25fdb6a795db3d3f6af864496af723599abdd34 (diff) |
Multires: Synchronize settings with Subsurf modifier
Currently no functional changes, just exposes all settings which we need
for OpenSubdiv, similar to what Subsurf modifier is doing already.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D3602
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_modifier_types.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_modifier_types.h b/source/blender/makesdna/DNA_modifier_types.h index 404e8d2d137..642e7d14869 100644 --- a/source/blender/makesdna/DNA_modifier_types.h +++ b/source/blender/makesdna/DNA_modifier_types.h @@ -140,7 +140,7 @@ typedef enum { eSubsurfModifierFlag_DebugIncr = (1 << 1), eSubsurfModifierFlag_ControlEdges = (1 << 2), /* DEPRECATED, ONLY USED FOR DO-VERSIONS */ - eSubsurfModifierFlag_SubsurfUv = (1 << 3), + eSubsurfModifierFlag_SubsurfUv_DEPRECATED = (1 << 3), } SubsurfModifierFlag; typedef enum { @@ -155,7 +155,7 @@ typedef enum { SUBSURF_UV_SMOOTH_PRESERVE_CORNERS_JUNCTIONS_AND_CONCAVE = 3, SUBSURF_UV_SMOOTH_PRESERVE_BOUNDARIES = 4, SUBSURF_UV_SMOOTH_ALL = 5, -} eSubsurfModifierUVSmooth; +} eSubsurfUVSmooth; typedef struct SubsurfModifierData { ModifierData modifier; @@ -844,11 +844,15 @@ typedef struct MultiresModifierData { char lvl, sculptlvl, renderlvl, totlvl; char simple, flags, pad[2]; + short quality; + short uv_smooth; + short pad2[2]; } MultiresModifierData; typedef enum { eMultiresModifierFlag_ControlEdges = (1 << 0), - eMultiresModifierFlag_PlainUv = (1 << 1), + /* DEPRECATED, only used for versioning. */ + eMultiresModifierFlag_PlainUv_DEPRECATED = (1 << 1), } MultiresModifierFlag; typedef struct FluidsimModifierData { |