mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 05:42:15 +01:00
Merged in hotfix/dazzle_testing_fixes (pull request #314)
Hotfix/dazzle testing fixes
This commit is contained in:
commit
f769acda5a
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue