Fix #23865: F8 reload scripts doesn't work with an addon enabled,

broken with bugfix for #23001.
This commit is contained in:
2010-09-16 18:50:33 +00:00
parent 2c79fa84b6
commit 7428e708ac

View File

@@ -117,7 +117,7 @@ def load_scripts(reload_scripts=False, refresh_scripts=False):
# note that they will only actually reload of the modification time changes.
# this `wont` work for packages so... its not perfect.
for module_name in [ext.module for ext in _bpy.context.user_preferences.addons]:
addon_disable(module_name, default_set)
addon_disable(module_name, default_set=False)
def register_module_call(mod):
_bpy_types._register_module(mod.__name__)