Blender Git Loki

Git Commits -> Revision 18702a9

Revision 18702a9 by Campbell Barton (master)
September 13, 2010, 04:52 (GMT)
bugfix [#23001] Addons do not unregister properly in Blender 2.5.3

Now reloading the user defaults also unloads/loads addons, resetting the state to the one set in the user preferences.

moved addon functions into bpy.utils
- bpy.utils.addon_enable(name, default_set=True)
- bpy.utils.addon_disable(name, default_set=True)
- bpy.utils.addon_reset_all(name, default_set=True)

the user preference operators now just wrap these.

Commit Details:

Full Hash: 18702a9eef23e2c9ba8436194aa5536cf424bd9f
SVN Revision: 31901
Parent Commit: 9153e82
Lines Changed: +194, -109

3 Modified Paths:

/release/scripts/modules/bpy/utils.py (+179, -21) (Diff)
/release/scripts/ui/space_userpref.py (+8, -88) (Diff)
/source/blender/windowmanager/intern/wm_files.c (+7, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021