mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
add sync workfile version into substance painter
This commit is contained in:
parent
72e06a09f6
commit
66df4fcf0d
4 changed files with 24 additions and 5 deletions
|
|
@ -313,8 +313,9 @@ class CollectAnatomyInstanceData(pyblish.api.ContextPlugin):
|
|||
|
||||
# Define version
|
||||
version_number = None
|
||||
if self.follow_workfile_version:
|
||||
version_number = context.data("version")
|
||||
if self.follow_workfile_version or instance.data.get(
|
||||
"follow_workfile_version", self.follow_workfile_version):
|
||||
version_number = context.data("version")
|
||||
|
||||
# Even if 'follow_workfile_version' is enabled, it may not be set
|
||||
# because workfile version was not collected to 'context.data'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue