mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Fix Copy to different context from published context
This commit is contained in:
parent
4ce2ea7443
commit
2977564034
3 changed files with 5 additions and 0 deletions
|
|
@ -1041,6 +1041,7 @@ class AbstractWorkfilesFrontend(AbstractWorkfilesCommon):
|
|||
workdir,
|
||||
filename,
|
||||
template_key,
|
||||
artist_note,
|
||||
):
|
||||
"""Action to copy published workfile representation to workarea.
|
||||
|
||||
|
|
@ -1055,6 +1056,7 @@ class AbstractWorkfilesFrontend(AbstractWorkfilesCommon):
|
|||
workdir (str): Workarea directory.
|
||||
filename (str): Workarea filename.
|
||||
template_key (str): Template key.
|
||||
artist_note (str): Artist note.
|
||||
"""
|
||||
|
||||
pass
|
||||
|
|
|
|||
|
|
@ -586,6 +586,7 @@ class BaseWorkfileController(
|
|||
workdir,
|
||||
filename,
|
||||
template_key,
|
||||
artist_note,
|
||||
):
|
||||
self._emit_event("copy_representation.started")
|
||||
|
||||
|
|
@ -597,6 +598,7 @@ class BaseWorkfileController(
|
|||
workdir,
|
||||
filename,
|
||||
template_key,
|
||||
artist_note,
|
||||
src_filepath=representation_filepath
|
||||
)
|
||||
except Exception:
|
||||
|
|
|
|||
|
|
@ -315,6 +315,7 @@ class FilesWidget(QtWidgets.QWidget):
|
|||
result["workdir"],
|
||||
result["filename"],
|
||||
result["template_key"],
|
||||
artist_note=result["artist_note"]
|
||||
)
|
||||
|
||||
def _on_save_as_request(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue