Blender Git Commit Log

Git Commits -> Revision 27ea086

Revision 27ea086 by Campbell Barton (blender-v2.90-release)
September 21, 2020, 07:30 (GMT)
Fix T80694: Crash reloading scripts from the Python console

Running `bpy.ops.script.reload()` from Python was crashing
since the operator being called was it's self freed.

Change the reload operator to defer execution - as supporting
re-registration during execution is quite involved for a corner-case.

Commit Details:

Full Hash: 27ea0862426d910badc6f81ce13d29a6ef3cc5f0
Parent Commit: 2c8f876
Lines Changed: +40, -9

3 Modified Paths:

/release/scripts/modules/bpy/utils/__init__.py (+2, -0) (Diff)
/source/blender/editors/space_script/script_edit.c (+26, -9) (Diff)
/source/blender/makesrna/intern/rna_wm_api.c (+12, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021