skipped presets loading in collect standalone publisher context

This commit is contained in:
iLLiCiTiT 2020-08-11 18:24:56 +02:00
parent c2696e4d4f
commit fa602cd2f5

View file

@ -38,13 +38,6 @@ class CollectContextDataSAPublish(pyblish.api.ContextPlugin):
# get json paths from os and load them
io.install()
# Load presets
presets = context.data.get("presets")
if not presets:
from pype.api import config
presets = config.get_presets()
# get json file context
input_json_path = os.environ.get("SAPUBLISH_INPATH")