mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'develop' into bugfix/workfiles-tasks-selection
This commit is contained in:
commit
37df893005
5 changed files with 20 additions and 11 deletions
|
|
@ -3,14 +3,13 @@ import uuid
|
|||
|
||||
import ayon_api
|
||||
|
||||
from ayon_core.lib import NestedCacheItem, CacheItem
|
||||
from ayon_core.lib.events import QueuedEventSystem
|
||||
from ayon_core.pipeline import Anatomy, get_current_context
|
||||
from ayon_core.host import ILoadHost
|
||||
from ayon_core.tools.common_models import (
|
||||
ProjectsModel,
|
||||
HierarchyModel,
|
||||
NestedCacheItem,
|
||||
CacheItem,
|
||||
ThumbnailsModel,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -71,6 +71,12 @@ class ValidateWorkfilePaths(
|
|||
if param.node().type().name() not in cls.node_types:
|
||||
continue
|
||||
|
||||
if param.keyframes():
|
||||
# Calling `.unexpandedString()` below fails if param has
|
||||
# keyframes - so for now we will skip those params. These are
|
||||
# e.g. present in `filecache` nodes.
|
||||
continue
|
||||
|
||||
if any(
|
||||
v for v in cls.prohibited_vars
|
||||
if v in param.unexpandedString()):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
"""Package declaring AYON addon 'houdini' version."""
|
||||
__version__ = "0.3.1"
|
||||
__version__ = "0.3.2"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
name = "houdini"
|
||||
title = "Houdini"
|
||||
version = "0.3.1"
|
||||
version = "0.3.2"
|
||||
|
||||
client_dir = "ayon_houdini"
|
||||
|
||||
|
|
|
|||
|
|
@ -75,13 +75,17 @@ def install(project_settings):
|
|||
|
||||
cmds.setParent("..", menu=True)
|
||||
|
||||
if project_settings["core"]["tools"]["ayon_menu"].get(
|
||||
"version_up_current_workfile"):
|
||||
cmds.menuItem(divider=True)
|
||||
cmds.menuItem(
|
||||
"Version Up Workfile",
|
||||
command=lambda *args: version_up_current_workfile()
|
||||
)
|
||||
try:
|
||||
if project_settings["core"]["tools"]["ayon_menu"].get(
|
||||
"version_up_current_workfile"):
|
||||
cmds.menuItem(divider=True)
|
||||
cmds.menuItem(
|
||||
"Version Up Workfile",
|
||||
command=lambda *args: version_up_current_workfile()
|
||||
)
|
||||
except KeyError:
|
||||
print("Version Up Workfile setting not found in "
|
||||
"Core Settings. Please update Core Addon")
|
||||
|
||||
cmds.menuItem(divider=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue