diff options
Diffstat (limited to 'intern/cycles/subd/subd_dice.h')
-rw-r--r-- | intern/cycles/subd/subd_dice.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/intern/cycles/subd/subd_dice.h b/intern/cycles/subd/subd_dice.h index 037b17bbfc8..9cf5b0d50b8 100644 --- a/intern/cycles/subd/subd_dice.h +++ b/intern/cycles/subd/subd_dice.h @@ -35,17 +35,19 @@ struct SubdParams { Mesh *mesh; int shader; bool smooth; + bool ptex; int test_steps; int split_threshold; float dicing_rate; Camera *camera; - SubdParams(Mesh *mesh_, int shader_, bool smooth_ = true) + SubdParams(Mesh *mesh_, int shader_, bool smooth_ = true, bool ptex_ = false) { mesh = mesh_; shader = shader_; smooth = smooth_; + ptex = ptex_; test_steps = 3; split_threshold = 1; |