Blender Git Commit Log

Git Commits -> Revision eb03109

Revision eb03109 by Campbell Barton (master)
June 14, 2015, 12:26 (GMT)
Fix error enabling an already enabled addon

Would run register() twice causing warning with `register_module()`
which expects new classes to be defined.

Now run unregister() before re-registering.

Commit Details:

Full Hash: eb0310950c9e6dec9ea1da294430ae8fcf98021e
Parent Commit: 1862991
Lines Changed: +14, -0

1 Modified Path:

/release/scripts/modules/addon_utils.py (+14, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021