Cycles Standalone: Fix support for subdivision meshes

Changes from microdisplacement work broke previous support for subdivision
meshes, sometimes leading to crashes; this makes things work again. Files
that contain "patch" nodes will need to be updated to use meshes instead, as
specifying patches was both inefficient and completely unsupported by the new
subdivision code.
This commit is contained in:
Mai Lavelle
2016-08-23 13:57:45 -04:00
parent 0ca4e39424
commit 74bd809962
4 changed files with 96 additions and 116 deletions

View File

@@ -49,7 +49,7 @@ struct SubdParams {
test_steps = 3;
split_threshold = 1;
dicing_rate = 0.1f;
dicing_rate = 1.0f;
max_level = 12;
camera = NULL;
}