blender-addons/rigify/feature_sets
Alexander Gavrilov 011f7afde4 Rigify: refactor feature sets to avoid modifying global path.
Instead of adding the feature set installation directory
to the global path, and thus inserting the modules into
the top level namespace, add an empty rigify.feature_sets
package and use __path__ to redirect the module loader
to read its sub-modules from the feature set directory.

Now feature set modules are effectively installed into
that package and loaded as 'rigify.feature_sets.foo'.

As an aside, clean up loading code to avoid weird path
manipulations, add more safety checks when installing sets,
and add a way for sets to expose a user-friendly name.
2019-05-29 10:37:28 +03:00
..
__init__.py Rigify: refactor feature sets to avoid modifying global path. 2019-05-29 10:37:28 +03:00