mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'develop' into enhancement/OP-2949_move-pipeline-constants
This commit is contained in:
commit
a1f46e7d1b
20 changed files with 313 additions and 74 deletions
|
|
@ -2,7 +2,6 @@ import sys
|
|||
import os
|
||||
import re
|
||||
import copy
|
||||
import getpass
|
||||
import shutil
|
||||
import logging
|
||||
import datetime
|
||||
|
|
@ -27,7 +26,8 @@ from openpype.lib import (
|
|||
save_workfile_data_to_doc,
|
||||
get_workfile_template_key,
|
||||
create_workdir_extra_folders,
|
||||
get_workdir_data
|
||||
get_workdir_data,
|
||||
get_last_workfile_with_version
|
||||
)
|
||||
from openpype.lib.avalon_context import (
|
||||
update_current_task,
|
||||
|
|
@ -441,7 +441,7 @@ class NameWindow(QtWidgets.QDialog):
|
|||
|
||||
data["ext"] = data["ext"][1:]
|
||||
|
||||
version = api.last_workfile_with_version(
|
||||
version = get_last_workfile_with_version(
|
||||
self.root, template, data, extensions
|
||||
)[1]
|
||||
|
||||
|
|
@ -469,7 +469,7 @@ class NameWindow(QtWidgets.QDialog):
|
|||
# Log warning
|
||||
if idx == 0:
|
||||
log.warning((
|
||||
"BUG: Function `last_workfile_with_version` "
|
||||
"BUG: Function `get_last_workfile_with_version` "
|
||||
"didn't return last version."
|
||||
))
|
||||
# Raise exception if even 100 version fallback didn't help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue