Commit graph

33814 commits

Author SHA1 Message Date
Ondřej Samohel
18afb46e2c
Merge branch 'develop' into feature/OP-6460_maya-multishot-layout 2023-10-16 10:06:14 +02:00
Ondrej Samohel
5bcbf80d12
♻️ remove unused code 2023-10-16 10:02:55 +02:00
github-actions[bot]
ac4ca2082f chore(): update bug report / version 2023-10-14 03:25:24 +00:00
ynbot
9708884143
[Automated] Merged main into develop 2023-10-14 05:24:52 +02:00
Ynbot
adc60f19ca [Automated] Bump version 2023-10-14 03:24:39 +00:00
ynbot
e54a4e11d7
[Automated] Merged develop into main 2023-10-14 05:23:51 +02:00
Ondrej Samohel
94032f0522
🐛 convert generator to list 2023-10-13 17:39:29 +02:00
Kayla Man
b1c4e0d505
Merge pull request #5759 from ynput/enhancement/OP-7069_Validate-Containers
Max: Tweaks on ValidateMaxContents
2023-10-13 23:01:19 +08:00
Kayla Man
8257fefead
Merge branch 'develop' into enhancement/OP-7069_Validate-Containers 2023-10-13 23:01:09 +08:00
Jakub Ježek
b5189a7593
Merge pull request #5763 from BigRoy/enhancement/refactor_nuke_publish_log_levels 2023-10-13 16:41:40 +02:00
Jakub Jezek
636c7e02fd
removing empty row 2023-10-13 16:40:33 +02:00
Jakub Ježek
ca915cc195
Update openpype/hosts/nuke/plugins/publish/extract_camera.py 2023-10-13 16:40:10 +02:00
Jakub Ježek
5490f72411
Merge pull request #5762 from BigRoy/enhancement/nuke_refactor_actions 2023-10-13 16:25:23 +02:00
Kayla Man
4ba25d35d3 rename the py script 2023-10-13 22:20:33 +08:00
Jakub Trllo
e2ce1db898
Merge pull request #5329 from EmberLightVFX/enhancement/fusion-work-with-pathmaps
Fusion: Work with pathmaps
2023-10-13 16:14:29 +02:00
Ondřej Samohel
be50220364
Merge pull request #5645 from ynput/bugfix/OP-6851_use-colorspace-for-rstexbin 2023-10-13 16:04:41 +02:00
Ondrej Samohel
86c4dec6d2
♻️ change warning message to debug 2023-10-13 16:04:06 +02:00
Ondrej Samohel
aba4642e98
Merge remote-tracking branch 'origin/develop' into bugfix/OP-6851_use-colorspace-for-rstexbin 2023-10-13 16:01:55 +02:00
Ondrej Samohel
8f5a5341e0
♻️ improve error message 2023-10-13 15:55:07 +02:00
Ondrej Samohel
5914f2e23c
♻️ remove restriction for "Shot" folder type 2023-10-13 15:54:12 +02:00
Kayla Man
d1dced43e4 Merge branch 'develop' into enhancement/OP-7069_Validate-Containers 2023-10-13 20:50:49 +08:00
Kayla Man
ba804833cd rename validate containers to validate instance has members 2023-10-13 20:50:07 +08:00
Roy Nieterau
3bbf3c0db9 Tweak logging for Nuke for artist facing reports 2023-10-13 14:32:21 +02:00
Roy Nieterau
08baaca5a3 Refactor SelectInvalidAction to behave like other action for other host, create SelectInstanceNodeAction as dedicated action to select the instance node for a failed plugin.
- Note: Selecting Instance Node will still select the instance node even if the user has currently 'fixed' the problem.
2023-10-13 14:18:03 +02:00
Jakub Trllo
70d8c72c96
Scene Inventory tool: Refactor Scene Inventory tool (for AYON) (#5758)
* propagate 'set_deselectable' in 'FoldersWidget'

* propagate more public functionality of 'FoldersWidget'

* initial commit

duplicated current sceneinventory to ayon_sceneinventory

* implemented basic controller helper

* use the controller in UI

* minor modifications

* initial changes of switch dialog

* moved 'get_containers' to controller

* refresh scene inventory after show

* fix passed argument to InventoryModel

* removed vertical expanding

* tweaks of folder input

* initial changes in switch dialog

* fix selection of folder

* use new scene inventory in host tools

* fix the size policy of FoldersField

* fix current context folder id

* fix current folder change

* renamed asset > folder and subset > product

* removed duplicated methods after rebase

* removed unused import

* formatting fix

* try to query only valid UUID

* query all containers documents at once

* validate representation ids in view too

* use 'container' variable instead of 'item'
2023-10-13 13:38:55 +02:00
Jakub Ježek
7e0253ff8b
Merge pull request #5749 from ynput/enhancement/OP-6518_Nuke-Copy-Paste-writes-and-maintain-metadata-in-create-window 2023-10-13 12:08:08 +02:00
Jakub Ježek
59dc6d2813
Update openpype/hosts/nuke/plugins/publish/help/validate_asset_context.xml
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-13 12:07:33 +02:00
Kayla Man
b993cea40b rename validate max contents to validate container & add related families to check the container contents 2023-10-13 17:36:57 +08:00
Jakub Jezek
53c7d1b788
Merge remote-tracking branch 'origin/enhancement/OP-6518_Nuke-Copy-Paste-writes-and-maintain-metadata-in-create-window' into enhancement/OP-6518_Nuke-Copy-Paste-writes-and-maintain-metadata-in-create-window 2023-10-13 11:22:39 +02:00
Jakub Jezek
f17ab23477
removing debug logging 2023-10-13 11:22:17 +02:00
Jakub Trllo
8848d84697
removed 'update_hierarchy' (#5756) 2023-10-13 10:53:27 +02:00
Jakub Trllo
9c53837c33
AYON: Tools enhancements (#5753)
* moved universal 'TreeView' to utils

* use 'TreeView' in folders widget

* propagate 'set_deselectable' in 'FoldersWidget'

* propagate more public functionality of 'FoldersWidget'

* fix 'set_name_filer' typo

* rename 'get_current_project_name' to 'get_selected_project_name'

* added signals to task and project widgets

* implemented more helper methods in hierarchy model

* added more information to 'FolderItem'

* add empty line after docstring

* fix expected selection of folders in loader

* keep only 'double_clicked' signal

* pass full mouse event to signal
2023-10-13 10:40:41 +02:00
Jakub Ježek
8936bed7ad
Merge branch 'develop' into enhancement/OP-6518_Nuke-Copy-Paste-writes-and-maintain-metadata-in-create-window 2023-10-12 17:36:19 +02:00
Jakub Jezek
ecf144993f
optimisation of validator and xml message 2023-10-12 17:33:58 +02:00
Jakub Jezek
4c90065f43
apply setting fix so it works in deprecated and new configuration 2023-10-12 17:22:51 +02:00
Jakub Jezek
0953dc65cc
utilization of already created action in nuke api
openpype.hosts.nuke.api.action.SelectInvalidAction
2023-10-12 17:16:35 +02:00
Jakub Jezek
dfbc11bca5
wrong action name in exception 2023-10-12 16:41:20 +02:00
github-actions[bot]
f5150665bd chore(): update bug report / version 2023-10-12 12:48:17 +00:00
ynbot
d265048a0a
[Automated] Merged release main into develop 2023-10-12 14:47:41 +02:00
Ynbot
bc4c2e0200 [Automated] Release 2023-10-12 12:47:03 +00:00
ynbot
a3f300aeb3
[Automated] Merged develop into main 2023-10-12 14:46:43 +02:00
Jakub Trllo
73a88419d0
Chore: AYON query functions arguments (#5752)
* fixe get subsets to work as in mongo api

* fixe get assets to work as in mongo api
2023-10-12 14:43:09 +02:00
Toke Jepsen
38427b5eec
Testing: Inject mongo_url argument earlier (#5706)
* Inject mongo_url argument earlier

* monkeypatch instead of os.environ

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2023-10-12 12:07:09 +02:00
Petr Kalis
e7cd31f2dd
Extended error message when getting subset name (#5649)
* Modified KeyError message

Basic KeyError exception was raised which didn't produce enough information. Now it should be more verbose.

* Updated exception message

* Changed to custom exception

Custom exception can be handled in nicer way that default KeyError

* Update openpype/pipeline/create/subset_name.py

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

* Renamed custom exception

* Update openpype/pipeline/create/subset_name.py

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

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-10-12 11:22:53 +02:00
Jakub Jezek
bf6303a908
hound 2023-10-11 22:40:04 +02:00
Jakub Jezek
63d27aa331
updating docstrings 2023-10-11 22:32:14 +02:00
Jakub Jezek
dc28a8d3d2
adding backward compatibility apply_settings 2023-10-11 22:28:31 +02:00
Jakub Trllo
0498a4016d
Loader tool: Refactor loader tool (for AYON) (#5729)
* initial commitof ayon loader

* tweaks in ayon utils

* implemented product type filtering

* products have icons and proper style

* fix refresh of products

* added enable grouping checkbox

* added icons and sorting of grouped items

* fix version delegate

* add splitter between context and product type filtering

* fix products filtering by name

* implemented 'filter_repre_contexts_by_loader'

* implemented base of action items

* implemented folder underline colors

* changed version items to dictionary

* use 'product_id' instead of 'subset_id'

* base implementation of info widget

* require less to trigger action

* set selection of version ids in controller

* added representation widget and related logic changes

* implemented actions in representations widget

* handle load error

* use versions for subset loader

* fix representations widget

* implemente "in scene" logic properly

* use ayon loader in host tools

* fix used function to get tasks

* show actions per representation name

* center window

* add window flag to loader window

* added 'ThumbnailPainterWidget' to tool utils

* implemented thumbnails model

* implement thumbnail widget

* fix FolderItem args docstring

* bypass bug in ayon_api

* fix sorting of folders

* added refresh button

* added expected selection and go to current context

* added information if project item is library project

* added more filtering options to projects widget

* added missing information abou is library to model items

* remove select project item on selection change

* filter out non library projects

* set current context project to project combobox

* change window title

* fix hero version queries

* move current project to the top

* fix reset

* change icon for library projects

* added libraries separator to project widget

* show libraries separator in loader

* ise single line expression

* library loader tool is loader tool in AYON mode

* fixes in grouping model

* implemented grouping logic

* use loader in tray action

* better initial sizes

* moved 'ActionItem' to abstract

* filter loaders by tool name based on current context project

* formatting fixes

* separate abstract classes into frontend and backend abstractions

* added docstrings to abstractions

* implemented 'to_data' and 'from_data' for action item options

* added more docstrings

* first filter representation contexts and then create action items

* implemented 'refresh' method

* do not reset controller in '_on_first_show'

Method '_on_show_timer' will take about the reset.

* 'ThumbnailPainterWidget' have more options of bg painting

* do not use checkerboard in loader thumbnail

* fix condition

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-11 18:16:45 +02:00
Jakub Jezek
9bdbc3a8b7
refactor validator for asset name to be validator of asset context
renaming plugin name and changing functionality to be working with asset key and task key
2023-10-11 17:54:52 +02:00
Petr Kalis
df431b665c
Nuke: failing multiple thumbnails integration (#5741)
* OP-7031 - fix thumbnail outputName

This handles situation when ExtractReviewDataMov has multiple outputs for which are thumbnails created. This would cause an issue in integrate if thumbnail repre should be integrated.

* thumbnail name the same as output name

- added `delete` tag so it is not integrated
- adding output preset name to thumb name if multiple bake streams
- adding thumbnails to explicit cleanup paths
- thumbnail file name inherited from representation name

* hound

* comment for py compatibility of unicode

* Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py

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

* thumbnail path key should be `thumbnailPath`

* Updates to nuke automatic test

Default changed to NOT integrating thumbnail representation.

* Update openpype/hosts/nuke/plugins/publish/extract_thumbnail.py

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

* OP-7031 - updated check for thumbnail representation

To allow use this plugin as 'name' might not contain only 'thumbnail' for multiple outputs.

* Remove possibility of double _

* Implement possibility of multiple thumbnails

This could happen if there are multiple output as in Nuke's ExtractREviewMov

---------

Co-authored-by: Jakub Jezek <jakubjezek001@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-10-11 17:42:26 +02:00