mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Bigroy's comments and update attribute def label and tip
This commit is contained in:
parent
c8f6fb209b
commit
6e56ba2cc1
2 changed files with 17 additions and 15 deletions
|
|
@ -564,20 +564,20 @@ def get_frame_data(node, asset_data=None, log=None):
|
|||
if log is None:
|
||||
log = self.log
|
||||
|
||||
data = {}
|
||||
|
||||
if node.parm("trange") is None:
|
||||
log.debug(
|
||||
"Node has no 'trange' parameter: {}".format(node.path())
|
||||
)
|
||||
return
|
||||
return data
|
||||
|
||||
if node.evalParm("trange") == 0:
|
||||
log.debug(
|
||||
"Node '{}' has 'Render current frame' set. "
|
||||
"Time range data ignored.".format(node.path())
|
||||
)
|
||||
return
|
||||
|
||||
data = {}
|
||||
return data
|
||||
|
||||
data["frameStartHandle"] = node.evalParm("f1")
|
||||
data["handleStart"] = asset_data.get("handleStart", 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue