mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge branch 'feature/565-Nuke_Camera_Loader' into feature/567-Nuke_Publish_Camera
This commit is contained in:
commit
2c693dc2ad
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