Commit graph

33754 commits

Author SHA1 Message Date
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
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 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
sjt-rvx
135f2a9e57
do not override the output argument (#5745) 2023-10-11 17:03:47 +02:00
github-actions[bot]
d1e1e591f2 chore(): update bug report / version 2023-10-11 03:26:11 +00:00
ynbot
74e65a3376
[Automated] Merged main into develop 2023-10-11 05:25:38 +02:00
Ynbot
a00d456cb1 [Automated] Bump version 2023-10-11 03:25:25 +00:00
ynbot
9722fa248b
[Automated] Merged develop into main 2023-10-11 05:24:10 +02:00
Jakub Ježek
e1cb61729f
Merge pull request #5739 from ynput/bugfix/nuke-loaders-extensions 2023-10-10 22:21:08 +02:00
Jakub Jezek
bb4134d96a
fixing variable name to be plural 2023-10-10 13:43:46 +02:00
Roy Nieterau
067aa2ca4d
Bugfix: ServerDeleteOperation asset -> folder conversion typo (#5735)
* Fix typo

* Fix docstring typos
2023-10-10 10:49:39 +02:00
Kayla Man
36c25e91a5
Merge pull request #5705 from tokejepsen/feature/mayapy
Maya: Add MayaPy application.
2023-10-10 15:58:46 +08:00
Kayla Man
d38beb58f8
Merge branch 'develop' into feature/mayapy 2023-10-10 15:58:36 +08:00
Toke Stuart Jepsen
ea4e4729e4 Merge branch 'feature/mayapy' of https://github.com/tokejepsen/pype into feature/mayapy 2023-10-09 17:41:50 +01:00
Toke Stuart Jepsen
f2772d5857 AYON settings 2023-10-09 17:41:35 +01:00
Toke Jepsen
b59dd55726
Update openpype/settings/defaults/system_settings/applications.json
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-10-09 17:36:56 +01:00
Fabià Serra Arrizabalaga
ca1492c839
General: Avoid fallback if value is 0 for handle start/end (#5652)
* Change defaults for handleStart so if it returns 0 it doesn't fallback to the context data

* Update get fallbacks for the rest of arguments

* Create context variable to shorten lines

* Add step to TimeData object
2023-10-09 17:36:11 +02:00
Sharkitty
71a1365216
Fix: Hardcoded main site and wrongly copied workfile (#5733) 2023-10-09 17:11:35 +02:00
Sharkitty
1d02f46e15
Feature: Copy resources when downloading last workfile (#4944)
* Feature: Copy resources when downloading workfile

* Fixed resources dir var name

* Removing prints

* Fix wrong resources path

* Fixed workfile copied to resources folder + lint

* Added comments

* Handling resource already exists

* linting

* more linting

* Bugfix: copy resources backslash in main path

* linting

* Using more continue statements, and more comments

---------

Co-authored-by: Petr Kalis <petr.kalis@gmail.com>
2023-10-09 14:12:26 +02:00
Kayla Man
f6b2ff764b
Merge pull request #5693 from ynput/enhancement/OP-6854_Maya-resolution-validator
Maya: Optional Resolution Validator for Render
2023-10-09 18:37:31 +08:00
Roy Nieterau
c12ae59efc
Merge branch 'develop' into enhancement/OP-6854_Maya-resolution-validator 2023-10-09 12:13:32 +02:00
Simone Barbieri
f1084775b4
Merge pull request #5711 from ynput/enhancement/OP-6845-blender_alembic_animation
Blender: Alembic Animation loader
2023-10-09 10:39:24 +01:00
Kayla Man
60834f6997 hound 2023-10-09 17:18:34 +08:00
Kayla Man
548ca106ad paragraph tweaks on description for validator 2023-10-09 17:14:21 +08:00
Simone Barbieri
b711758e1f Code improvements 2023-10-09 10:14:03 +01:00
Jakub Trllo
f863e3f0b4
change version regex to support blender 4 (#5723) 2023-10-09 10:43:15 +02:00
github-actions[bot]
25c023290f chore(): update bug report / version 2023-10-07 03:25:38 +00:00
ynbot
3ce3f06ac4
[Automated] Merged main into develop 2023-10-07 05:25:06 +02:00
Ynbot
32052551e2 [Automated] Bump version 2023-10-07 03:24:54 +00:00
ynbot
958352eb49
[Automated] Merged develop into main 2023-10-07 05:24:00 +02:00
Milan Kolar
d41ac2a3fd
Merge pull request #5651 from ynput/bugfix/OP-4326_Houdini-switching-context-doesnt-update-variables 2023-10-06 18:41:48 +02:00
Kayla Man
1d531b1ad5 hound 2023-10-06 22:54:16 +08:00