* 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>
* 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>
* 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>
* 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
* 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>