From 23e6e05d79722c61ade0e1c27ecf768a0ecb0288 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Wed, 13 May 2020 18:41:32 +0200 Subject: [PATCH] removed unused collect project root plugin from nukestudio --- .../nukestudio/publish/collect_project_root.py | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 pype/plugins/nukestudio/publish/collect_project_root.py diff --git a/pype/plugins/nukestudio/publish/collect_project_root.py b/pype/plugins/nukestudio/publish/collect_project_root.py deleted file mode 100644 index 1b21a6b641..0000000000 --- a/pype/plugins/nukestudio/publish/collect_project_root.py +++ /dev/null @@ -1,15 +0,0 @@ -import pyblish.api -import avalon.api as avalon -import os - -class CollectActiveProjectRoot(pyblish.api.ContextPlugin): - """Inject the active project into context""" - - label = "Collect Project Root" - order = pyblish.api.CollectorOrder - 0.1 - - def process(self, context): - S = avalon.Session - context.data["projectroot"] = os.path.normpath( - os.path.join(S['AVALON_PROJECTS'], S['AVALON_PROJECT']) - )