Update scripts for changes to blenders API.

This commit is contained in:
Campbell Barton 2013-11-21 05:00:50 +11:00
parent 258c32a956
commit 4d8cb6c294
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ def save_object(fw, global_matrix,
bm.from_mesh(me)
bm.transform(global_matrix * obj.matrix_world)
bmesh.ops.triangulate(bm, faces=bm.faces, use_beauty=True)
bmesh.ops.triangulate(bm, faces=bm.faces)
# default empty
material_colors = []

View File

@ -695,7 +695,7 @@ class VIEW3D_MT_TransformMenu(bpy.types.Menu):
layout.operator("transform.tosphere", text="To Sphere")
layout.operator("transform.shear", text="Shear")
layout.operator("transform.warp", text="Warp")
layout.operator("transform.bend", text="Bend")
layout.operator("transform.push_pull", text="Push/Pull")
if context.edit_object and context.edit_object.type == 'ARMATURE':
layout.operator("armature.align")