diff --git a/pype/hosts/blender/action.py b/pype/hosts/blender/api/action.py similarity index 96% rename from pype/hosts/blender/action.py rename to pype/hosts/blender/api/action.py index 78d00f56ad..b140688670 100644 --- a/pype/hosts/blender/action.py +++ b/pype/hosts/blender/api/action.py @@ -2,7 +2,7 @@ import bpy import pyblish.api -from ...action import get_errored_instances_from_context +from pype.api import get_errored_instances_from_context class SelectInvalidAction(pyblish.api.Action): diff --git a/pype/hosts/blender/plugin.py b/pype/hosts/blender/api/plugin.py similarity index 100% rename from pype/hosts/blender/plugin.py rename to pype/hosts/blender/api/plugin.py diff --git a/pype/hosts/blender/startup/init.py b/pype/hosts/blender/startup/init.py new file mode 100644 index 0000000000..9d078f44a3 --- /dev/null +++ b/pype/hosts/blender/startup/init.py @@ -0,0 +1,3 @@ +from pype.hosts import blender.api + +blender.api.install() diff --git a/pype/setup/blender/init.py b/pype/setup/blender/init.py deleted file mode 100644 index 8aa83e51c9..0000000000 --- a/pype/setup/blender/init.py +++ /dev/null @@ -1,3 +0,0 @@ -from pype.hosts import blender - -blender.install()