forked from bartvdbraak/blender
fix own recent error [#25977] Torus disappears when adding "Subdivision Surface"
ID's and meshes both have update functions, call the meshes rather then update_tag() for recalculating edges.
This commit is contained in:
parent
e511f9fac4
commit
cd95dd42d7
@ -129,7 +129,7 @@ class AddTorus(bpy.types.Operator):
|
||||
|
||||
mesh.vertices.foreach_set("co", verts_loc)
|
||||
mesh.faces.foreach_set("vertices_raw", faces)
|
||||
mesh.update_tag()
|
||||
mesh.update()
|
||||
|
||||
import add_object_utils
|
||||
add_object_utils.object_data_add(context, mesh, operator=self)
|
||||
|
Loading…
Reference in New Issue
Block a user