mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Update openpype/hosts/nuke/plugins/publish/validate_script_attributes.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
06f338a95b
commit
4a18e50352
1 changed files with 1 additions and 5 deletions
|
|
@ -26,11 +26,7 @@ class ValidateScriptAttributes(pyblish.api.InstancePlugin):
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
root = nuke.root()
|
root = nuke.root()
|
||||||
knob_data = get_avalon_knob_data(root)
|
knob_data = get_avalon_knob_data(root)
|
||||||
project_name = legacy_io.active_project()
|
asset = instance.data["assetEntity"]
|
||||||
asset = get_asset_by_name(
|
|
||||||
project_name,
|
|
||||||
instance.context.data["asset"]
|
|
||||||
)
|
|
||||||
# get asset data frame values
|
# get asset data frame values
|
||||||
frame_start = asset["data"]["frameStart"]
|
frame_start = asset["data"]["frameStart"]
|
||||||
frame_end = asset["data"]["frameEnd"]
|
frame_end = asset["data"]["frameEnd"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue