System Information
Operating system: win 10
Graphics card: GTX 1070
Blender Version
Broken: (2.9.0 Alpha daily build)
Worked: (2.8.3)
Running a simple modal script where I am creating a new object and then cutting a new undo check point with bpy.ops.ed.undo_push()
It crashes when UNDO limit is reached
Exact steps for others to reproduce the error
- Change the UNDO limit in prefs to a small value(e.g. 5) if you don't want to click 30 times..
- Load the attached blend file
- Run the script attched from script window
- Click in viewport at least 5 times to match the numer of undos
4 Crash..
Same problem if instead of bpy.ops.ed.undo_push() you return FINISHED from the modal op and add bl_options = {'REGISTER', 'UNDO'} to the op definition
So, this bug appears to be related to the undo system
Also, worth mentioning that running with 'blender -d' does not crash!!