Page MenuHome

obj.to_mesh() crashes on mesh with armature modifier, when run 2x
Open, Confirmed, MediumPublic

Description

Hi
In the blend file below I have simple plane mesh, with armature modifier (armature is None). And simple blender operator script.
If I redo simple blender operator (by changing operator F6 property), blender will crash, on line:

obj.to_mesh(bpy.context.depsgraph, apply_modifiers, calc_undeformed=False)

If I remove the armature modifier, or set armature modifier object to skeleton, it works ok.

Details

Type
Bug

Event Timeline

I'm getting the following assert when changing the properties:
BLI_assert failed: blender/source/blender/depsgraph/intern/depsgraph_query.cc:145, DEG_get_evaluated_scene(), at 'scene_cow != __null && DEG::deg_copy_on_write_is_expanded(&scene_cow->id)'

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.Thu, Feb 7, 12:46 PM