mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
removed unused collect project root plugin from nukestudio
This commit is contained in:
parent
00179b9714
commit
23e6e05d79
1 changed files with 0 additions and 15 deletions
|
|
@ -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'])
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue