Blender Git Loki

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021