Cycles microdisplacement: move subdivision options to subsurf modifier

Subdivision options can now be found in the subsurf modifier. The modifier must
be the last in the stack or the options will be unavailable. Catmull-Clark
subdivision is still unavailable and will fallback to linear subdivision instead

Reviewed By: brecht

Differential Revision: https://developer.blender.org/D2109
This commit is contained in:
Mai Lavelle
2016-07-16 19:56:45 -04:00
parent c96ae81160
commit 66e2e2484c
7 changed files with 92 additions and 37 deletions

View File

@@ -119,6 +119,14 @@ public:
DISPLACE_NUM_METHODS,
};
enum SubdivisionType {
SUBDIVISION_NONE,
SUBDIVISION_LINEAR,
SUBDIVISION_CATMULL_CLARK,
};
SubdivisionType subdivision_type;
/* Mesh Data */
enum GeometryFlags {
GEOMETRY_NONE = 0,