Fix #23865: F8 reload scripts doesn't work with an addon enabled,
authorBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 18:50:33 +0000 (18:50 +0000)
committerBrecht Van Lommel <brechtvanlommel@pandora.be>
Thu, 16 Sep 2010 18:50:33 +0000 (18:50 +0000)
broken with bugfix for #23001.

release/scripts/modules/bpy/utils.py

index 1e08196e07a5f9b0eb1d2062758ff2ed3532b818..5d5f736a33b1f2695b43dced50911a295f38c6f2 100644 (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__)