From 5e92007254ebce39eab91ee22fb520e59948a5f2 Mon Sep 17 00:00:00 2001 From: aardschok Date: Wed, 16 Aug 2017 11:18:55 +0200 Subject: [PATCH] added functions for getting the global overrides --- colorbleed/plugins/maya/publish/collect_renderlayers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/colorbleed/plugins/maya/publish/collect_renderlayers.py b/colorbleed/plugins/maya/publish/collect_renderlayers.py index 58340736f8..92a7595905 100644 --- a/colorbleed/plugins/maya/publish/collect_renderlayers.py +++ b/colorbleed/plugins/maya/publish/collect_renderlayers.py @@ -5,6 +5,7 @@ import pyblish.api from avalon import maya, api + class CollectMindbenderMayaRenderlayers(pyblish.api.ContextPlugin): """Gather instances by active render layers""" @@ -40,7 +41,7 @@ class CollectMindbenderMayaRenderlayers(pyblish.api.ContextPlugin): "subset": layer, "setMembers": layer, - # "time": context.data["time"], + "time": api.time(), "author": context.data["user"], "source": source_file}