mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
rounding fps attribute
This commit is contained in:
parent
ce749e6dcd
commit
dcfb0aeea4
1 changed files with 2 additions and 0 deletions
|
|
@ -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