Commit graph

1231 commits

Author SHA1 Message Date
Kayla Man
5f309994c3 cosmetic tweaks and code clean up 2023-12-21 18:30:44 +08:00
Jakub Jezek
d5c5f4f9aa
Merge branch 'develop' into enhancement/OP-6659_nuke-explicit-thumbnail-workflow 2023-12-07 13:15:07 +01:00
Jakub Trllo
2ea4bcc3af fix versions loop 2023-11-30 19:08:35 +01:00
Jakub Trllo
6f293e231a ignore additional filters if are not filled 2023-11-30 18:52:37 +01:00
Jakub Trllo
3dcbc2ff18 formatting fix 2023-11-30 12:09:18 +01:00
Jakub Trllo
767e8d46ca workfile template builder should work in ayon mode now 2023-11-30 12:02:12 +01:00
Ondřej Samohel
02342c864d ♻️ filter render set types 2023-11-27 17:19:09 +01:00
Ondřej Samohel
f01532062e
Merge branch 'develop' into bugfix/maya-crashing-model-renderset-collector 2023-11-24 17:51:53 +01:00
Ondřej Samohel
319109be59 🐛 fix issue with render sets collection and inventory action 2023-11-24 17:47:23 +01:00
Kayla Man
182287c032 resolve conflict 2023-11-24 12:56:17 +08:00
Jakub Jezek
e0776c8548
farm: remove publish_on_farm from representations to metadata.json 2023-11-21 17:32:37 +01:00
iLLiCiTiT
f4d6199b8d fix 'create' from 'CreateContext' 2023-11-17 12:33:10 +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
Jakub Trllo
b382b7c776
Chore: Create plugin auto-apply settings (#5908)
* implemented default logic 'apply_settings' to auto-apply values

* added docstring to 'apply_settings'

* replace auto apply settings logic in maya

* add missing quote

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

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-14 14:57:53 +01:00
Jakub Trllo
a28d6d34d2 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/client/server/entities.py
#	openpype/pipeline/context_tools.py
2023-11-13 16:39:09 +01:00
Jakub Trllo
42c61fa348 do not check for "/" if asset name is empty 2023-11-09 16:22:17 +01:00
Jakub Trllo
14ddd5cb51 use 'get_ayon_server_api_connection' in core functions 2023-11-09 14:36:42 +01:00
Jakub Trllo
06856644d1 modify 'registered_root' function docstring 2023-11-08 17:07:48 +01:00
Jakub Trllo
1676f37d3a change default value of registered root 2023-11-08 16:32:33 +01:00
Jakub Trllo
81d054799c
Apply suggestions from code review
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-08 15:26:21 +01:00
Jakub Trllo
389b568f6b removed AVALON_PROJECTS 2023-11-08 14:10:06 +01:00
Jakub Trllo
e5d3a1aeb0 'AVALON_ASSET' is not required 2023-11-08 14:09:39 +01:00
Jakub Trllo
3cade9a288 removed unused keys 2023-11-08 14:09:34 +01:00
Jakub Trllo
d3fc80f905 allow forward slash in AVALON_ASSET 2023-11-08 14:09:30 +01:00
Jakub Trllo
2bc41f53bf chnaged title of schema 2023-11-08 14:09:26 +01:00
Jakub Trllo
e85504b80c use new schema in 'legacy_io' 2023-11-08 14:09:15 +01:00
Jakub Trllo
8f1648f87a duplicated session 3 > session 4 2023-11-08 14:09:09 +01:00
Jakub Trllo
1207ef3bbb autofix folder path on older instances 2023-11-08 12:00:59 +01:00
Jakub Trllo
ff8cd30244 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-02 11:40:01 +01:00
Jakub Trllo
918770f817 'get_current_context_template_data' returns same values as base function 'get_template_data' 2023-10-31 18:57:28 +01:00
Jakub Ježek
0cd38b3625
Merge branch 'develop' into bugfix/nuke_template_workfile 2023-10-30 12:33:23 +01:00
Jakub Trllo
0ddd95eacf use 'get_asset_name_identifier' in pipeline logic 2023-10-24 18:02:41 +02:00
Jakub Trllo
4c6ec4b9bc instances in AYON mode have 'folderPath' instead of 'asset' 2023-10-24 18:00:58 +02:00
Jakub Trllo
7324f1370b
Merge pull request #5805 from ynput/enhancement/remove-unused-asset-variable
Chore: Removed unused variable from `AbstractCollectRender`
2023-10-24 12:05:18 +02:00
Jakub Trllo
31b4b57976 fix 'mark_as_stored' on 'PublishAttributes' 2023-10-23 16:47:52 +02:00
Jakub Trllo
d16cb87671 mark instances as saved after save changes 2023-10-23 16:11:13 +02:00
Jakub Trllo
e00e2ec271 better origin data handling 2023-10-23 16:10:56 +02:00
Jakub Trllo
cc970effbc moved content of 'contants.py' to 'constants.py' 2023-10-23 12:12:19 +02:00
Jakub Trllo
b5fc212933 removed unused _asset variable from RenderInstance 2023-10-20 17:23:29 +02:00
Jakub Jezek
2445f6a1e4
fixing lost commit content
- loading updating fixed and container data are imprinted with updated representation id
- not failing due `::` split on NoneType object
- workfile colorspace is separated key from ocio look items
- validator treating workfile colorspace key separately
2023-10-18 15:19:46 +02:00
Jakub Ježek
b06b45dbc1
Merge branch 'develop' into enhancement/OP-6154_Publishing-Luts 2023-10-12 14:22:14 +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 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 Ježek
627363d476
Merge branch 'develop' into enhancement/OP-6154_Publishing-Luts 2023-10-11 13:02:15 +02: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
Jakub Jezek
b9185af47f
hound and docstring suggestion 2023-10-09 16:30:38 +02:00
Jakub Jezek
5c6a7b6b25
hound suggestions 2023-10-09 16:13:25 +02:00
Jakub Jezek
9d6340a8a1
colorspace: addconvert_colorspace_enumerator_item
- improving unittests
- adding unittest for `convert_colorspace_enumerator_item`
- separating `config_items` from `get_colorspaces_enumerator_items` so they can be stored in context
2023-10-05 17:03:54 +02:00
Jakub Jezek
957a713db2
adding display and views 2023-10-04 20:04:06 +02:00
Jakub Jezek
042d5d9d16
colorspace types in plural
also updating and fixing unit tests
2023-10-04 19:10:26 +02:00