Blender Git Loki

Git Commits -> Revision f98ec76

June 18, 2015, 15:24 (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: f98ec7607f90b8aaa78ae2bedbf66fb691521a87
Parent Commit: 1752dd6
Committed By: Sergey Sharybin
Lines Changed: +14, -0

1 Modified Path:

/release/scripts/modules/addon_utils.py (+14, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021