diff options
author | Thomas Dinges <blender@dingto.org> | 2014-02-02 22:52:46 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-02-02 22:53:04 +0400 |
commit | 5c06b2d33eb72a107236cf43bf2e0db3291fc646 (patch) | |
tree | ef8004728fe51c3835162e56bd50ddb1d9255b27 /intern/cycles/blender | |
parent | 44b71c8c6cf9b6705f375d2198454e73d3ebd188 (diff) |
Code cleanup / Cycles: Remove encasing_ratio variable, it was already hard coded, so define it in the kernel only.
Diffstat (limited to 'intern/cycles/blender')
-rw-r--r-- | intern/cycles/blender/blender_curves.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/intern/cycles/blender/blender_curves.cpp b/intern/cycles/blender/blender_curves.cpp index 5cde9d52d0d..b0e89ca1827 100644 --- a/intern/cycles/blender/blender_curves.cpp +++ b/intern/cycles/blender/blender_curves.cpp @@ -743,8 +743,6 @@ void BlenderSync::sync_curve_settings() curve_system_manager->subdivisions = get_int(csscene, "subdivisions"); curve_system_manager->use_backfacing = !get_boolean(csscene, "cull_backfacing"); - curve_system_manager->encasing_ratio = 1.01f; - if(curve_system_manager->primitive == CURVE_TRIANGLES && curve_system_manager->curve_shape == CURVE_RIBBON) { /* camera facing planes */ curve_system_manager->triangle_method = CURVE_CAMERA_TRIANGLES; |