diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:59:39 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2010-03-16 20:59:39 +0300 |
commit | 47a0967a30e0ad83a415fd52d377c05ad82c2cf3 (patch) | |
tree | 89c0b468741200fe912f56c655c65cc6d45ab5d9 /release | |
parent | 93915e9438e642fc98fe26cef217059e51d299ec (diff) |
no need to set flat shading for faces manually
(commit 27534 by Campbell from render25 branch)
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/add_mesh_torus.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/release/scripts/op/add_mesh_torus.py b/release/scripts/op/add_mesh_torus.py index e7c7ac86ee6..825b23c49e1 100644 --- a/release/scripts/op/add_mesh_torus.py +++ b/release/scripts/op/add_mesh_torus.py @@ -120,7 +120,6 @@ class AddTorus(bpy.types.Operator): mesh.add_geometry(int(len(verts_loc) / 3), 0, int(len(faces) / 4)) mesh.verts.foreach_set("co", verts_loc) mesh.faces.foreach_set("verts_raw", faces) - mesh.faces.foreach_set("smooth", [False] * len(mesh.faces)) scene = context.scene |