Operator bpy.ops.uv.pack_islands call leads to Blender crash #108171
Operating system: Windows-10-10.0.22621-SP0 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 442.19
Broken: version: 3.6.0 Beta, branch: blender-v3.6-release, commit date: 2023-05-22 21:38, hash:
Worked: Blender 3.5.0 / 3.5.1
Short description of error
Calling of operator bpy.ops.uv.pack_islands leads to Blender crash.
Exact steps for others to reproduce the error
Create new scene with default Cube then put this simple Python-code into the Console on the Scripting tab:
import bpy obj = bpy.context.scene.objects['Cube'] bpy.ops.object.mode_set(mode='EDIT', toggle=False) bpy.ops.uv.select_all(action='SELECT') bpy.ops.uv.pack_islands(margin=0.01) # This call will crash Blender 3.6 Beta
Warning! This bug still exists in Blender 3.6.0 Release Candidate (June 26, 03:05:53,
Terribly sorry, not sure how that sneaked in, but yeah, it was actually the original fix that had a double free...
Stumbled upon another crash (pasting in the console with comments in the end, will report separately)
The fix is in main, but also added to 3.6 LTS #109399, so should be in 3.6.1 once it is out
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?