Blender Git Commit Log

Git Commits -> Revision 14b0f20

Revision 14b0f20 by Campbell Barton (master)
September 14, 2020, 07:59 (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: 14b0f203744027451533f563c5d7373b73e070e0
Parent Commit: c207f7c
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