rename ID.update() --> update_tag() since this function only tags for updating and scene.update() executes the update.
This commit is contained in:
@@ -77,7 +77,7 @@ class AddBox(bpy.types.Operator):
|
||||
|
||||
mesh.vertices.foreach_set("co", verts_loc)
|
||||
mesh.faces.foreach_set("vertices_raw", faces)
|
||||
mesh.update()
|
||||
mesh.update_tag()
|
||||
|
||||
# add the mesh as an object into the scene with this utility module
|
||||
import add_object_utils
|
||||
|
Reference in New Issue
Block a user