diff options
author | Mai Lavelle <mai.lavelle@gmail.com> | 2016-08-23 20:57:45 +0300 |
---|---|---|
committer | Mai Lavelle <mai.lavelle@gmail.com> | 2016-08-24 17:39:00 +0300 |
commit | 74bd80996287b3d7bb99fa9e980bb545f59155f7 (patch) | |
tree | c2a33252d26dca3c93d75bc3d14c380b106649d4 /intern/cycles/subd | |
parent | 0ca4e3942427ad294428ba1b8db2cafe3bbdf5d6 (diff) |
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.
Diffstat (limited to 'intern/cycles/subd')
-rw-r--r-- | intern/cycles/subd/subd_dice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/subd/subd_dice.h b/intern/cycles/subd/subd_dice.h index 3002ec780e8..33d13a4ab3a 100644 --- a/intern/cycles/subd/subd_dice.h +++ b/intern/cycles/subd/subd_dice.h @@ -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; } |