mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
fix(nuke): loader was too strict for properties frame start/and
maya is not adding them to version and it would be crashing
This commit is contained in:
parent
0ac12df93d
commit
dce6ab4942
1 changed files with 3 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class AlembicCameraLoader(api.Loader):
|
|||
|
||||
# prepare data for imprinting
|
||||
# add additional metadata from the version to imprint to Avalon knob
|
||||
add_keys = ["frameStart", "frameEnd", "source", "author", "fps"]
|
||||
add_keys = ["source", "author", "fps"]
|
||||
|
||||
data_imprint = {"frameStart": first,
|
||||
"frameEnd": last,
|
||||
|
|
@ -55,6 +55,8 @@ class AlembicCameraLoader(api.Loader):
|
|||
camera_node["frame_rate"].setValue(float(fps))
|
||||
camera_node["tile_color"].setValue(int("0x3469ffff", 16))
|
||||
|
||||
camera_node["reload"].execute()
|
||||
|
||||
return containerise(
|
||||
node=camera_node,
|
||||
name=name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue