Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2012-03-26 11:51:47 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2012-03-26 11:51:47 +0400
commitc6c8b283facb1d7482e9b14525f787fcc3f6c1c2 (patch)
treec69dc3ad8b24585af7fbc4dc1475e00dd3a2c7ba /release/scripts/startup/bl_operators/clip.py
parent7e38b49f265c0207f3009eaa27194d08a38ea8d2 (diff)
Setup tracking scene works again now
Diffstat (limited to 'release/scripts/startup/bl_operators/clip.py')
-rw-r--r--release/scripts/startup/bl_operators/clip.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/clip.py b/release/scripts/startup/bl_operators/clip.py
index 7b5185d725f..422a6279cb4 100644
--- a/release/scripts/startup/bl_operators/clip.py
+++ b/release/scripts/startup/bl_operators/clip.py
@@ -717,8 +717,8 @@ class CLIP_OT_setup_tracking_scene(Operator):
mesh.vertices.foreach_set("co", unpack_list(vertices))
# BMESH_TODO - use polygons
- mesh.faces.add(len(faces))
- mesh.faces.foreach_set("vertices_raw", unpack_face_list(faces))
+ mesh.tessfaces.add(len(faces))
+ mesh.tessfaces.foreach_set("vertices_raw", unpack_face_list(faces))
mesh.update(calc_edges=True)