Skip to content
Snippets Groups Projects
Commit c6e1af60 authored by Campbell Barton's avatar Campbell Barton
Browse files

Error in recent commit

parent 31bccec0
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ def create_mesh_object(context, verts, edges, faces, name):
# Make a mesh from a list of verts/edges/faces.
mesh.from_pydata(verts, edges, faces)
# Update mesh geometry after adding stuff.
mesh.validate()
mesh.update()
from bpy_extras import object_utils
return object_utils.object_data_add(context, mesh, operator=None)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment