Page MenuHome

bpy.ops.screen.area_join() crash
Closed, ResolvedPublic


System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.86

Blender Version
Broken: version: 2.81 (sub 3), branch: master, commit date: 2019-08-23 02:03, hash: rB232049dd9408
Worked: (optional)


This operator has been touched recently and crashes blender when programmatically invoked with arbitrary cursor values. Probably due to internally failing while the modal just keeps running.

The old operator had checks in place to cancel when the mouse cursor, or the coords passed were outside of the action zones.

  1. Run bpy.ops.screen_area_join('INVOKE_DEFAULT', cursor=(-500, 3000))

Or load the attached blend file. Run script or hit enter in console

Event Timeline

Thanks. Will take a look. Although I just did recent work in there, my gut feeling is that I would have broken this with prior work last year.

Confirmed. My bad.

Will crash if passing arbitrary cursor positions via python that aren't actually on an edge.