Commit graph

1503 commits

Author SHA1 Message Date
Jakub Trllo
86cf80027c
Chore: Remove deprecated templates profiles (#6103)
* do not use 'IntegrateAssetNew' settings which are not available anymore

* don't use 'IntegrateHeroVersion' settings to get hero version template name

* remove 'template_name_profiles' from 'IntegrateHeroVersion'

* remove unused attribute
2024-01-09 11:16:28 +01:00
Jakub Trllo
4db853ec03
do not use thumbnailSource for integration (#6063) 2023-12-19 11:24:55 +01:00
Petr Kalis
a26e575ce0
Photoshop: fix layer publish thumbnail missing in loader (#6061)
* OP-1645 - explicitly add thumbnail path to be integrated to Ayon

Thumbnail representation is set to 'delete', eg wont be integrated, another source of thumbnail must be used. This will effectively limit option of NOT pushing thumbnail to Ayon, which use case I am actuall not seeing.

* OP-1645 - added more description

* Remove comment

It works even for OP.

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Update openpype/plugins/publish/integrate_thumbnail_ayon.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Updates to docstring

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Update openpype/plugins/publish/integrate_thumbnail_ayon.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* OP-1645 - fix formatting

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-12-18 11:54:45 +01:00
Jakub Jezek
ac1ad82650
wrong check 2023-12-12 17:40:16 +01:00
Jakub Trllo
0cb90a75af create copy of hierarchyContext before any processing 2023-12-12 16:33:35 +01:00
Jakub Trllo
476921ce7a move hierarchy key fill under 'newAssetPublishing' condition 2023-12-12 13:55:41 +01:00
Jakub Trllo
ac49ab3803 fill template data for editorial 2023-12-12 12:53:31 +01:00
iLLiCiTiT
8a3a318480 modify extract hierarchy to ayon to work with names 2023-12-11 12:59:18 +01:00
iLLiCiTiT
72e980b1e4 keys in hierarchyContext are always names 2023-12-11 12:58:38 +01:00
Jakub Jezek
c4570200ff
Refactor code to handle missing "representations" key in instance data
The code change modifies the `ExtractThumbnail` class in `extract_thumbnail.py`. It updates the loop that iterates over representations to handle cases where the "representations" key is missing from the instance data. This change ensures that cleanup occurs for representations with both "delete" and "need_thumbnail" tags.
2023-12-07 22:08:19 +01:00
Jakub Jezek
bb5d48eae1
Refactor code to skip instance creation for new assets
- Removed the check for `newAssetPublishing` in `CollectResourcesPath.process()`
- This change allows instances to be processed even if they are creating new assets
2023-12-07 16:48:43 +01:00
Jakub Jezek
3ec7f9149f
Add thumbnail path to instance data and integrate thumbnails in Ayon plugin.
- Added code to add the thumbnail path to the instance data.
- Modified code to retrieve the thumbnail path from the instance data in Ayon plugin.
- Updated code to handle cases where the thumbnail source is not available or specified.
- Improved logic for finding the thumbnail representation in published representations.
2023-12-07 15:28:07 +01:00
Jakub Jezek
30800c1c2c
Refactor transcoding and thumbnail extraction code
- Removed the unused `additional_input_args` parameter from the `convert_colorspace` function in `transcoding.py`
- Renamed the `additional_input_args` parameter to `additional_command_args` in the `ExtractThumbnail` class in `extract_thumbnail.py`

These changes improve code clarity and remove unnecessary parameters.
2023-12-07 15:06:20 +01:00
Jakub Jezek
d5c5f4f9aa
Merge branch 'develop' into enhancement/OP-6659_nuke-explicit-thumbnail-workflow 2023-12-07 13:15:07 +01:00
Jakub Jezek
cdbf764a85
improving comments 2023-12-07 11:13:22 +01:00
Jakub Jezek
f31cfe9cf5
Refactor code to use deep copy for repre_files_thumb variable 2023-12-06 22:51:28 +01:00
Jakub Jezek
4229461755
hound 2023-12-06 21:05:32 +01:00
Jakub Jezek
25ea0a76e5
Merge branch 'develop' into enhancement/OP-6659_extract-thumbnails-settings-size-frame 2023-12-06 21:01:50 +01:00
Jakub Jezek
6be699bb82
Merge branch 'develop' into enhancement/OP-6659_extract-thumbnails-settings-size-frame 2023-12-06 15:53:23 +01:00
Ondřej Samohel
610ed75aaf 🗑️ remove simple unreal texture publishing 2023-12-06 12:02:50 +01:00
Libor Batek
e14688910d
Merge branch 'develop' into enhancement/use_manual_thumbnail_when_publishing 2023-11-30 09:22:55 +01:00
Jakub Ježek
ced3e1ecc2
Merge pull request #5938 from ynput/enhancement/OP-6659_thumbnail-color-managed
General: Use colorspace data when creating thumbnail
2023-11-29 21:25:58 +01:00
Jakub Trllo
955a6e2253 make sure single entity id changes thumbnail id only once in operations 2023-11-29 16:48:22 +01:00
Simone Barbieri
f899191fb1 Use manual thumbnail if present when publishing 2023-11-29 14:38:39 +01:00
Jakub Ježek
7146b7b784
Update openpype/plugins/publish/extract_thumbnail.py 2023-11-27 16:42:31 +01:00
Jakub Ježek
ddfb95467e
Update openpype/plugins/publish/extract_thumbnail.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-27 16:39:34 +01:00
Jakub Jezek
cd8451e811
adding reformating to oiiotool process
- removing it from wrong ffmpeg process
2023-11-24 22:04:11 +01:00
Jakub Jezek
069977b327
improving rescale functionality 2023-11-24 21:35:06 +01:00
Jakub Jezek
09b3646bec
rescaling wip 2023-11-24 14:37:21 +01:00
Jakub Jezek
3833819557
inverting bugged condition 2023-11-23 10:10:08 +01:00
Jakub Jezek
e51ddf8682
fixing situation where display and view are in representation 2023-11-22 17:10:13 +01:00
Libor Batek
7aa80f2657
Merge branch 'develop' into enhancement/OP-6659_thumbnail-color-managed 2023-11-22 16:41:02 +01:00
Jakub Jezek
2aea1cd8fc
avoid situation where missing outputName
this might happen if only one Intermediate reviewable file stream is used.
2023-11-22 14:52:11 +01:00
Jakub Jezek
24abe0e0f3
comments from https://github.com/ynput/OpenPype/pull/5936 2023-11-22 12:16:02 +01:00
Jakub Jezek
835f50e57c
global: adding settings for target size and frame picking 2023-11-22 12:13:36 +01:00
Jakub Jezek
b8838d70cf
ignoring publish_on_farm representations
it was creating thumbnails in Ftrack even the version had to be created in future
2023-11-21 21:55:48 +01:00
Jakub Jezek
93b5a3941d
adding nuke host into extract thumbnail plugin 2023-11-21 21:43:16 +01:00
Jakub Jezek
2f78943791
improving code coment 2023-11-21 17:33:55 +01:00
Jakub Jezek
8914ea0da9
return True if successful oiio conversion 2023-11-21 17:09:23 +01:00
Jakub Jezek
d3de3fc295
removing input arguments 2023-11-21 17:04:35 +01:00
Jakub Jezek
f435408018
typo 2023-11-21 15:41:21 +01:00
Jakub Jezek
7aacc4f0ec
global: extract review with need_thumbnail tag explicit source 2023-11-21 15:40:14 +01:00
Jakub Jezek
5432c2fa69
Global: adding need_thumbnail tag worklfow
extract review and extract review slate
2023-11-21 15:25:22 +01:00
Jakub Trllo
a31214d2c4 use 'newAssetPublishing' instead of 'isEditorial' 2023-11-21 11:05:55 +01:00
Jakub Jezek
97c10d2555
adding oiio defaults from settings 2023-11-20 21:45:46 +01:00
Jakub Ježek
477bc613e2
Hiero | Global: editorial with folder path (#5829)
* hiero: adding folderPath to creator

- some minor typos fixes
- modules sorting

* Hiero: adding asset_name and processing folderPath

- refactor labels

* fixing extract hierarchy to ayon

* hound

* Update openpype/hosts/hiero/api/plugin.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* simplify expression

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-11-20 18:28:18 +01:00
Jakub Trllo
40a1dbed3e Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/hosts/blender/plugins/publish/extract_abc.py
#	openpype/hosts/blender/plugins/publish/extract_abc_animation.py
#	openpype/hosts/blender/plugins/publish/extract_blend.py
#	openpype/hosts/blender/plugins/publish/extract_blend_animation.py
#	openpype/hosts/blender/plugins/publish/extract_camera_abc.py
#	openpype/hosts/blender/plugins/publish/extract_camera_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx_animation.py
#	openpype/hosts/blender/plugins/publish/extract_layout.py
2023-11-15 18:26:48 +01:00
Jakub Jezek
b3b890c109
Merge branch 'develop' into bugfix/extract_thumbnail_oiio 2023-11-15 18:24:44 +01:00
Roy Nieterau
9a6cacee4e
Merge branch 'develop' into enhancement/blender_new_publisher 2023-11-15 14:04:40 +01:00
Jakub Trllo
58fd1aa8e2 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-15 11:33:20 +01:00