Merged in hotfix/dazzle_testing_fixes (pull request #314)

Hotfix/dazzle testing fixes
This commit is contained in:
Jakub Ježek 2019-10-07 15:25:07 +00:00
commit f769acda5a
2 changed files with 3 additions and 0 deletions

View file

@ -23,6 +23,7 @@ class CollectTemplates(pyblish.api.InstancePlugin):
order = pyblish.api.CollectorOrder + 0.1
label = "Collect and fill Templates"
hosts = ["maya", "nuke", "standalonepublisher"]
def process(self, instance):
# get all the stuff from the database

View file

@ -83,6 +83,8 @@ class ValidateScript(pyblish.api.InstancePlugin):
# Set frame range with handles
# asset_attributes["frameStart"] -= handle_start
# asset_attributes["frameEnd"] += handle_end
if len(str(asset_attributes["fps"])) > 4:
asset_attributes["fps"] = float("{0:.8f}".format(asset_attributes["fps"]))
# Get values from nukescript
script_attributes = {