Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
189 commits
Select commit Hold shift + click to select a range
ee6377b
add automatic daily sync with fork
ClementHector Jun 20, 2023
e8761f1
Add patch zip build on tag
ClementHector Jun 20, 2023
da1a8ee
Refacto bug report
ClementHector Jun 20, 2023
064fb0f
deleted required
louparis Jun 20, 2023
6f93aba
Update bug_report.yml
louparis Jun 20, 2023
b0d5171
added required
louparis Jun 20, 2023
9db24dd
Update bug_report.yml
louparis Jun 20, 2023
5d3fc6c
validation
louparis Jun 20, 2023
4ee7cc7
Update bug_report.yml
louparis Jun 20, 2023
b894a5c
Update bug_report.yml
louparis Jun 20, 2023
f787be1
Update bug_report.yml
louparis Jun 20, 2023
394c7a4
title
louparis Jun 20, 2023
6390c6d
Update bug_report.yml
louparis Jun 20, 2023
b24caeb
titles
louparis Jun 20, 2023
1799079
Update bug_report.yml
louparis Jun 20, 2023
97982ea
Markdown
louparis Jun 20, 2023
11804c2
validation
louparis Jun 20, 2023
25ae727
Update patch_build.yml
ClementHector Jun 20, 2023
e7f12ce
Update patch_build.yml
ClementHector Jun 20, 2023
6569435
Update patch_build.yml
ClementHector Jun 20, 2023
96ccff4
Update patch_build.yml
ClementHector Jun 20, 2023
cc6b8c1
Update patch_build.yml
ClementHector Jun 20, 2023
c80e0bc
Update patch_build.yml
ClementHector Jun 20, 2023
0ea59b5
Update patch_build.yml
ClementHector Jun 20, 2023
b941086
Update patch_build.yml
ClementHector Jun 20, 2023
b27c327
Update patch_build.yml
ClementHector Jun 20, 2023
a758df8
Update patch_build.yml
ClementHector Jun 20, 2023
19031a6
Update patch_build.yml
ClementHector Jun 20, 2023
0119489
Update patch_build.yml
ClementHector Jun 20, 2023
b2a744b
Update sync_fork.yml
ClementHector Jun 21, 2023
7c93048
Update patch_build.yml
ClementHector Jun 21, 2023
8d4801d
Update patch_build.yml
ClementHector Jun 21, 2023
b7fec76
Update patch_build.yml
ClementHector Jun 21, 2023
613cea8
Update patch_build.yml
ClementHector Jun 21, 2023
9670a51
Update patch_build.yml
ClementHector Jun 21, 2023
35c76fd
Update patch_build.yml
ClementHector Jun 21, 2023
b81ee58
update path_build
ClementHector Jun 21, 2023
090f033
update path_build
ClementHector Jun 21, 2023
5c1de79
update path_build
ClementHector Jun 21, 2023
8d9d5af
update path_build
ClementHector Jun 21, 2023
c05bbc0
update path_build
ClementHector Jun 21, 2023
47564fa
update path_build
ClementHector Jun 21, 2023
37f67f0
update path_build
ClementHector Jun 21, 2023
befab3c
update path_build
ClementHector Jun 21, 2023
73bec25
update path_build
ClementHector Jun 21, 2023
84ca921
update path_build
ClementHector Jun 21, 2023
41c3663
update path_build
ClementHector Jun 21, 2023
f2741c4
update path_build
ClementHector Jun 21, 2023
6e41b3a
update path_build
ClementHector Jun 21, 2023
73abfcf
update path_build
ClementHector Jun 21, 2023
61ab8d4
update path_build
ClementHector Jun 21, 2023
f8d178b
update path_build
ClementHector Jun 21, 2023
8328445
update path_build
ClementHector Jun 21, 2023
960de54
update path_build
ClementHector Jun 21, 2023
652164c
update path_build
ClementHector Jun 21, 2023
31b51ec
update path_build
ClementHector Jun 21, 2023
3ea4f00
update path_build
ClementHector Jun 21, 2023
5c51705
update path_build
ClementHector Jun 21, 2023
5553947
update path_build
ClementHector Jun 21, 2023
2f70966
update path_build
ClementHector Jun 21, 2023
eac8ee4
update path_build
ClementHector Jun 21, 2023
9ecf811
update path_build
ClementHector Jun 21, 2023
97c67f3
update path_build
ClementHector Jun 21, 2023
0ddf8c0
update path_build
ClementHector Jun 21, 2023
7fbffae
update path_build
ClementHector Jun 21, 2023
ea2a99d
update path_build
ClementHector Jun 21, 2023
a77ceed
update path_build
ClementHector Jun 21, 2023
b254b16
update path_build
ClementHector Jun 21, 2023
53ba56c
update path_build
ClementHector Jun 21, 2023
c3b023c
update path_build
ClementHector Jun 21, 2023
545cebb
update path_build
ClementHector Jun 21, 2023
922e25e
update path_build
ClementHector Jun 21, 2023
6bfc34f
update path_build
ClementHector Jun 21, 2023
2c9f751
update path_build
ClementHector Jun 21, 2023
fdb163c
update path_build
ClementHector Jun 21, 2023
8d524d5
+Linux Rocky
louparis Jun 22, 2023
6001287
openrv integration
ddesmond Apr 13, 2023
d8fd28f
Code cosmetics
BigRoy Apr 13, 2023
f0c927d
Code cosmetics + cleanup
BigRoy Apr 13, 2023
2272409
Re-use method from host
BigRoy Apr 13, 2023
28aa78c
Remove unused function which likely came from Fusion or Clarisse inte…
BigRoy Apr 13, 2023
977a948
Cleanup comments
BigRoy Apr 13, 2023
b3c06dd
Cosmetics
BigRoy Apr 13, 2023
6ffbb39
Fix missing import, not sure if there was a reason it had no top import
BigRoy Apr 13, 2023
f1100f4
Fix typo
BigRoy Apr 13, 2023
3c05e19
Shush hound
BigRoy Apr 13, 2023
b56b205
Remove unused `show_env`
BigRoy Apr 13, 2023
c3a7042
Cleanup code
BigRoy Apr 13, 2023
3bc1dc8
Remove debug files
BigRoy Apr 13, 2023
c6f540a
More cleanup
BigRoy Apr 13, 2023
e8960bf
Return if there's no current workfile
BigRoy Apr 13, 2023
6d4813e
Cosmetics
BigRoy Apr 13, 2023
2fa2219
Cosmetics + Shush hound
BigRoy Apr 13, 2023
9879637
Remove unused function
BigRoy Apr 13, 2023
a88d964
Cosmetics
BigRoy Apr 13, 2023
5d62434
added missing schema
ddesmond Apr 13, 2023
cfb625e
added missing schema
ddesmond Apr 13, 2023
943ae99
Cosmetics
BigRoy Apr 13, 2023
810cc2a
Add `openrv` to hosts enum since it registers a host
BigRoy Apr 13, 2023
89c313d
Use FusionPreLaunchOCIO hook as global hook for re-use with `openrv`
BigRoy Apr 13, 2023
a52c9b9
Remove pre config hook in favor of global OCIO hook
BigRoy Apr 13, 2023
65da2fc
Cleanup code
BigRoy Apr 13, 2023
88ffc88
Don't add to sys.path, don't clear PYTHONPATH
BigRoy Apr 13, 2023
fb50a97
More specific imports
BigRoy Apr 13, 2023
b6fb7d8
Clean up imports
BigRoy Apr 13, 2023
4ca5ae9
proper menu file
ddesmond Apr 13, 2023
76c244a
Cleanup file again.
BigRoy Apr 13, 2023
e20864a
Hound
BigRoy Apr 13, 2023
5b89664
Match menu labels of other integrations + clarify arguments to `init`
BigRoy Apr 13, 2023
5872c9d
Shush hound
BigRoy Apr 13, 2023
948539b
Remove unused variable
BigRoy Apr 13, 2023
4e11c00
Hound
BigRoy Apr 13, 2023
1ae8b1e
Update menu name
BigRoy Apr 13, 2023
674d41e
Fix workfile saving with correct extension
BigRoy Apr 13, 2023
13ba182
Hack: For now "auto-deploy" and load packages
BigRoy Apr 13, 2023
b643c81
Update python files on deployment
BigRoy Apr 13, 2023
2bdbeb0
Avoid errors when no currently loaded content
BigRoy Apr 13, 2023
1b5b8d1
No need for default environment overrides
BigRoy Apr 13, 2023
b824097
Shush hound
BigRoy Apr 13, 2023
71eea0e
Fix line length
BigRoy Apr 13, 2023
5546c15
Shush hound
BigRoy Apr 13, 2023
ac00fad
Shush hound
BigRoy Apr 13, 2023
0a9dd73
Shush hound
BigRoy Apr 13, 2023
a01a455
Shush hound
BigRoy Apr 13, 2023
7e1b260
Cleanup
BigRoy Apr 13, 2023
0ec8022
Fix line length
BigRoy Apr 13, 2023
4616bdc
Hound
BigRoy Apr 13, 2023
1a01d36
Cleanup
BigRoy Apr 13, 2023
aeeddb2
Comment out unused lines which end up doing nothing
BigRoy Apr 13, 2023
067cc9f
Returned value was unused
BigRoy Apr 13, 2023
cf2b7c8
Comment import + add todo
BigRoy Apr 13, 2023
c26ac64
Hound
BigRoy Apr 13, 2023
8f10cd9
Cleanup cycle annotate frames logic
BigRoy Apr 13, 2023
d44c16c
Comment import + add todo
BigRoy Apr 13, 2023
3bb5e33
Comment to explain we require the sorting
BigRoy Apr 13, 2023
769c1b4
Don't pass emtpy list as parent
BigRoy Apr 13, 2023
4458099
Create dock widget only on first 'review' click and toggle view other…
BigRoy Apr 13, 2023
0be453e
Parent the OpenPype tools to RV window
BigRoy Apr 13, 2023
6bada24
Cosmetics
BigRoy Apr 13, 2023
b4ced05
Cleanup imports
BigRoy Apr 13, 2023
47dbd2d
Do nothing if there are no annotations
BigRoy Apr 13, 2023
466e337
Remove debugging method
BigRoy Apr 13, 2023
a8aa839
Always return the session window live because there can be multiple s…
BigRoy Apr 13, 2023
f22c483
Add todo
BigRoy Apr 13, 2023
7364ec7
Only install once, not per session window
BigRoy Apr 13, 2023
a79aa3a
Remove unused import
BigRoy Apr 13, 2023
1c9f92d
Works fine for multiple session windows since it initializes a class …
BigRoy Apr 13, 2023
08adb99
Do not force show the RV console
BigRoy Apr 13, 2023
f3f0f0d
Support loading image sequences
BigRoy Apr 13, 2023
ce4f24d
Allow any mov or mp4 extension
BigRoy Apr 13, 2023
255e9a3
Allow loading more image extensions
BigRoy Apr 13, 2023
1148c90
Add temporary hack to avoid clash with `PyOpenColorIO` in OpenPype
BigRoy Apr 13, 2023
3cbbaf4
Add todo
BigRoy Apr 13, 2023
938caeb
Do not force show review tool on launch
BigRoy Apr 13, 2023
9c7048e
Simplify lib clash workaround
BigRoy Apr 13, 2023
87694ed
Add init sorted order to make "Review" the last entry in the menu.
BigRoy Apr 14, 2023
0c47b98
Add OpenPype script editor (python interpreter widget) package to hel…
BigRoy Apr 14, 2023
b13a8e0
Tweak organization
BigRoy Apr 14, 2023
dd52bb4
Remove forcing of asset fps/frames + support removal of containers
BigRoy Apr 14, 2023
3a75db6
Fix RV Project Settings + remove unused redundant settings
BigRoy Apr 14, 2023
46e9f50
Use OCIO schemas like other hosts
BigRoy Apr 14, 2023
4574260
Allow import even when OpenPype hasn't initialized/installed
BigRoy Apr 17, 2023
59b5c12
Fix typo
BigRoy Apr 17, 2023
d5e8a99
Add checkbox active state to "review" menu entry
BigRoy Apr 17, 2023
ae88ed3
Add separators to menu
BigRoy Apr 17, 2023
b7892d7
Ignore namespace attribute if it does not exist
BigRoy Apr 17, 2023
8cf207a
Cleanup, move import to top + improve docstring
BigRoy Apr 17, 2023
ada3a5b
Implement draft functionality to set OCIO colorspace on file load and…
BigRoy Apr 17, 2023
1641de4
Add active state to the menu
BigRoy Apr 17, 2023
4be4bf1
Remove redundant check, it's already checked in other if statement
BigRoy Apr 17, 2023
c79ef8f
Hound
BigRoy Apr 17, 2023
39be184
Add support for open last workfile
BigRoy Apr 18, 2023
d895151
Refactor to using new publisher
BigRoy Apr 18, 2023
5288bd2
Expose library loader
BigRoy Apr 18, 2023
4241a10
Add todo
BigRoy Apr 18, 2023
1053079
Define subset name correctly using templates
BigRoy Apr 18, 2023
46934bf
Nicer label + docstring
BigRoy Apr 18, 2023
7316b97
Add comment about a workaround
BigRoy Apr 18, 2023
3c0023f
Cleanup `reset_frame_range` logic. Remove old `edit_in` and `edit_out`
BigRoy Apr 18, 2023
ea569a1
Remove redundant adding of vendor/python
BigRoy Apr 18, 2023
3789c95
Preserve predefined RV_SUPPORT_PATH paths
BigRoy Apr 25, 2023
d8addda
Install OpenPype packages to temp folder on launch + preserve predefi…
BigRoy Apr 25, 2023
cf41442
Remove unused import
BigRoy Apr 25, 2023
d39f5c5
Force `rvpkg` just to be sure it's not trying to be used interactively
BigRoy Apr 25, 2023
73b785e
Add OpenRv Nuke Integration
Jun 22, 2023
54708ae
Fix PEP8 issues
Jun 22, 2023
f7e40ff
fix ftrack ignore sync filter (#5176)
kaamaurice Jun 22, 2023
9590d46
Rebase develop branch
Jun 22, 2023
809d5c2
Merge upstream/develop into enhancement/nuke-openrv-integration
Jun 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
89 changes: 89 additions & 0 deletions .github/workflows/configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"categories": [
{
"title": "## 🚀 Features",
"labels": ["feature"]
},
{
"title": "## 🐛 Fixes",
"labels": ["fix"]
},
{
"key": "tests",
"title": "## 🧪 Tests",
"labels": ["test"]
},
{
"title": "## 🧪 Tests and some 🪄 Magic",
"labels": ["test", "magic"],
"exclude_labels": ["no-magic"],
"exhaustive": true,
"exhaustive_rules": "false",
"empty_content": "- no matching PRs",
"rules": [
{
"pattern": "open",
"on_property": "status",
"flags": "gu"
}
]
}
],

// "ignore_labels": [
// "ignore"
// ],
"sort": {
"order": "ASC",
"on_property": "mergedAt"
},
"template": "${{UNCATEGORIZED}}",
"pr_template": "- ${{TITLE}}\n - PR: #${{NUMBER}}",
"empty_template": "- no changes",
"label_extractor": [
{
"pattern": "(.) (.+)",
"target": "$1",
"flags": "gu"
},
{
"pattern": "\\[Issue\\]",
"on_property": "title",
"method": "match"
}
],
// "duplicate_filter": {
// "pattern": "\\[ABC-....\\]",
// "on_property": "title",
// "method": "match"
// },
// "reference": {
// "pattern": ".*\\ \\#(.).*",
// "on_property": "body",
// "method": "replace",
// "target": "$1"
// },
// "transformers": [
// {
// "pattern": "[\\-\\*] (\\[(...|TEST|CI|SKIP)\\])( )?(.+?)\n(.+?[\\-\\*] )(.+)",
// "target": "- $4\n - $6"
// }
// ],
// "trim_values": false,
// "max_tags_to_fetch": 200,
// "max_pull_requests": 200,
// "max_back_track_time_days": 365,
// "exclude_merge_branches": [
// "Owner/qa"
// ],
"tag_resolver": {
"method": "semver",
"filter": {
"pattern": "api-(.+)",
"flags": "gu"
}
},
// "base_branches": [
// "dev"
// ]
}
62 changes: 62 additions & 0 deletions .github/workflows/patch_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: 📦 Build Zip Patch

on:
push:
tags:
- '*.*.*'
- '*.*.*-*'
- 'CI/*.*.*-*'
workflow_dispatch:
inputs:
name:
type: choice
description: Who to greet
options:
- monalisa
- cschleiden
message:
required: true
use-emoji:
type: boolean
description: Include emojis
environment:
type: environment
jobs:
build-zip-patch:
runs-on: [self-hosted, ubuntu]

steps:

- name: 🚛 Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0

# - name: "📝 Build Changelog"
# id: changelog
# uses: mikepenz/release-changelog-builder-action@v3.4.0
# with:
# # fromTag: "3.15.6"
# # toTag: "3.15.8"
# commitMode: true
# failOnError: true
# configuration: "configuration.json"
# env:
# GITHUB_TOKEN: ${{ secrets.QUAD_PUBLIC_GITHUB_TOKEN }}

- name: 🐍 Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9

- name: 🧵 Install Requirements
run: ./tools/create_env.sh && ./tools/fetch_thirdparty_libs.sh

- name: 🔨 Build
run: tools/create_zip.sh --path /prod/softprod/apps/openpype/REPOSITORY/

# - name: 💬 Message to Release chat
# uses: julb/action-post-googlechat-message@v1
# with:
# message: ${{ steps.changelog.outputs.changelog }}
# gchat_webhook_url: ${{ secrets.GCHAT_RELEASE_WEBHOOK_URL }}
29 changes: 29 additions & 0 deletions .github/workflows/sync_fork.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 🔄 Sync Fork

on:
schedule:
- cron: '0 0 * * 1-5' # Monday to friday at 00:00
workflow_dispatch:

jobs:
sync-code:
runs-on: ubuntu-latest
steps:
- uses: tgymnich/fork-sync@v1.8
with:
token: ${{ secrets.QUAD_PUBLIC_GITHUB_TOKEN }}
base: develop
head: develop
pr_message: Automatic synchronization requires conflict resolution.
merge_method: rebase

sync-tags:
runs-on: ubuntu-latest
needs: sync-code
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.QUAD__PUBLIC_GITHUB_TOKEN }}
fetch-depth: 0
- run: |
git push origin --tags
3 changes: 2 additions & 1 deletion openpype/hooks/pre_add_last_workfile_arg.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class AddLastWorkfileToLaunchArgs(PreLaunchHook):
"photoshop",
"tvpaint",
"substancepainter",
"aftereffects"
"aftereffects",
"openrv"
]

def execute(self):
Expand Down
3 changes: 2 additions & 1 deletion openpype/hooks/pre_ocio_hook.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ class OCIOEnvHook(PreLaunchHook):
"maya",
"nuke",
"hiero",
"resolve"
"resolve",
"openrv"
]

def execute(self):
Expand Down
52 changes: 50 additions & 2 deletions openpype/hosts/nuke/api/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
)
from openpype.pipeline.workfile import BuildWorkfile
from openpype.tools.utils import host_tools

from openpype.lib.applications import ApplicationManager
from .command import viewer_update_and_undo_stop
from .lib import (
Context,
Expand Down Expand Up @@ -333,6 +333,8 @@ def _install_menu():
# adding shortcuts
add_shortcuts_from_presets()

# adding rv
add_rv_from_presets()

def change_context_label():
menubar = nuke.menu("Nuke")
Expand All @@ -359,10 +361,56 @@ def change_context_label():
Context.context_label, label))


def add_rv_from_presets():
rv_settings = get_current_project_settings()["openrv"]['openrv_nuke_integration']

if not rv_settings['rvnuke_enabled']:
return

if 'rvnuke_content_paths' not in rv_settings:
return

for rv_nuke_path in rv_settings['rvnuke_content_paths']:
if os.path.exists(rv_nuke_path):
nuke.pluginAddPath(rv_nuke_path)
log.info("RV Nuke path added: {}".format(rv_nuke_path))
else:
log.warning("RV Nuke path not found: {}".format(rv_nuke_path))

app_manager = ApplicationManager()
openrv_app = app_manager.find_latest_available_variant_for_group("openrv")
rv_exec_path = str(openrv_app.find_executable())

if not rv_exec_path:
return
try:
import rvNuke
rv_pref_panel = rvNuke.RvPreferencesPanel()
rv_pref_panel.rvPrefs.prefs["rvExecPath"] = rv_exec_path
rv_pref_panel.rvPrefs.saveToDisk()
except ImportError:
log.warning("rvNuke not found")

nuke.addOnCreate(add_rv_shortcut, nodeClass="Root")
return


def add_rv_shortcut():
rv_global_settings = get_current_project_settings()["openrv"]
rv_nuke_settings = rv_global_settings['openrv_nuke_integration']
if rv_nuke_settings['rvnuke_open_in_rv_shortcut']:
menubar = nuke.menu("Nuke")
menu_item = menubar.findItem("RV/View in RV")
menu_item.setShortcut("Alt+v")
menu_item.setShortcut(rv_nuke_settings['rvnuke_open_in_rv_shortcut'])
log.info("Adding Shortcut `{}` to `{}`".format(
'Open in RV',
rv_nuke_settings['rvnuke_open_in_rv_shortcut']))


def add_shortcuts_from_presets():
menubar = nuke.menu("Nuke")
nuke_presets = get_current_project_settings()["nuke"]["general"]

if nuke_presets.get("menu"):
menu_label_mapping = {
"create": "Create...",
Expand Down
10 changes: 10 additions & 0 deletions openpype/hosts/openrv/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from .addon import (
OpenRVAddon,
OPENRV_ROOT_DIR
)


__all__ = (
"OpenRVAddon",
"OPENRV_ROOT_DIR"
)
33 changes: 33 additions & 0 deletions openpype/hosts/openrv/addon.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import os
from openpype.modules import OpenPypeModule
from openpype.modules.interfaces import IHostAddon

OPENRV_ROOT_DIR = os.path.dirname(os.path.abspath(__file__))


class OpenRVAddon(OpenPypeModule, IHostAddon):
name = "openrv"
host_name = "openrv"

def initialize(self, module_settings):
self.enabled = True

def add_implementation_envs(self, env, app):
"""Modify environments to contain all required for implementation."""
# Set default environments if are not set via settings
defaults = {
"OPENPYPE_LOG_NO_COLORS": "True"
}
for key, value in defaults.items():
if not env.get(key):
env[key] = value

def get_launch_hook_paths(self, app):
if app.host_name != self.host_name:
return []
return [
os.path.join(OPENRV_ROOT_DIR, "hooks")
]

def get_workfile_extensions(self):
return [".rv"]
10 changes: 10 additions & 0 deletions openpype/hosts/openrv/api/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# -*- coding: utf-8 -*-
"""OpenRV OpenPype host API."""

from .pipeline import (
OpenRVHost
)

__all__ = [
"OpenRVHost"
]
34 changes: 34 additions & 0 deletions openpype/hosts/openrv/api/commands.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
import logging

import rv
from openpype.pipeline.context_tools import get_current_project_asset

log = logging.getLogger(__name__)


def reset_frame_range():
""" Set timeline frame range.
"""
asset_doc = get_current_project_asset()
asset_name = asset_doc["name"]
asset_data = asset_doc["data"]

frame_start = asset_data.get("frameStart")
frame_end = asset_data.get("frameEnd")

if frame_start is None or frame_end is None:
log.warning("No edit information found for {}".format(asset_name))
return

rv.commands.setFrameStart(frame_start)
rv.commands.setFrameEnd(frame_end)
rv.commands.setFrame(frame_start)


def set_session_fps():
""" Set session fps.
"""
asset_doc = get_current_project_asset()
asset_data = asset_doc["data"]
fps = float(asset_data.get("fps", 25))
rv.commands.setFPS(fps)
Loading