[Bf-extensions-cvs] [55adbe50] blender2.8: Rigify: wipe RigifyParameters in unregister to avoid error spam.
Alexander Gavrilov
noreply at git.blender.org
Mon Nov 19 15:34:10 CET 2018
Commit: 55adbe501d251c662c563744bcb0c6e3eb77a3b7
Author: Alexander Gavrilov
Date: Mon Nov 19 17:34:05 2018 +0300
Branches: blender2.8
https://developer.blender.org/rBA55adbe501d251c662c563744bcb0c6e3eb77a3b7
Rigify: wipe RigifyParameters in unregister to avoid error spam.
The 'make annotation' spam also happens on addon enable
toggle, so apply the legacy toggle fix globally.
===================================================================
M rigify/__init__.py
===================================================================
diff --git a/rigify/__init__.py b/rigify/__init__.py
index 7e0c8ada..302fc453 100644
--- a/rigify/__init__.py
+++ b/rigify/__init__.py
@@ -72,8 +72,6 @@ class RigifyPreferences(AddonPreferences):
unregister()
- clear_rigify_parameters()
-
globals().pop('utils')
globals().pop('rig_lists')
globals().pop('generate')
@@ -106,8 +104,6 @@ class RigifyPreferences(AddonPreferences):
unregister()
- clear_rigify_parameters()
-
globals().pop('utils')
globals().pop('rig_lists')
globals().pop('generate')
@@ -400,6 +396,8 @@ def unregister():
for cls in classes:
unregister_class(cls)
+ clear_rigify_parameters()
+
# Sub-modules.
metarig_menu.unregister()
ui.unregister()
More information about the Bf-extensions-cvs
mailing list