Commit graph

2720 commits

Author SHA1 Message Date
Jakub Trllo
572122777f
Merge pull request #5817 from ynput/feature/OP-7176_Use-folder-path-as-unique-identifier
AYON: Use folder path as unique identifier
2023-11-21 18:30:14 +01:00
Jakub Trllo
8dddc31706 change debug log message 2023-11-21 12:06:38 +01:00
Jakub Trllo
3f850f1b0a fix module settings usage 2023-11-21 12:02:01 +01:00
Jakub Trllo
f78f9c98f3 added harmony and flame to skipped addons 2023-11-21 11:07:10 +01:00
Jakub Trllo
cdf49c4d40 Added 'AYONAddon' class which is initialized with AYON settings 2023-11-20 18:48:28 +01:00
Jakub Trllo
79c079961b Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-16 17:22:33 +01:00
Jakub Trllo
a3fc30b408
use project, task and host name from context data (#5918) 2023-11-16 15:27:33 +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
Roy Nieterau
5d10f7f2dd
Remove global RENDER_ATTRS, refactor to a RenderSettings.get_padding_attr method (#5801)
- Partial cleanup extracted from #3880
2023-11-15 13:15:50 +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
Roy Nieterau
4d48a6981b
Bugfix: Ayon Deadline env vars + error message on no executable found (#5815)
* Fix ingesting env vars correctly for `DeadlinePlugin.RunProcess`

* Fix error message reporting `;` between each character of the string

* Cosmetics

* Use `SetEnvironmentVariable` instead of `SetProcessEnvironmentVariable` because it's a Simple Plugin

See: https://docs.thinkboxsoftware.com/products/deadline/10.1/1_User%20Manual/manual/environment.html#job-rendering
2023-11-15 11:25:47 +01:00
Roy Nieterau
91e230a321
Enhancement: Some publish logs cosmetics (#5917)
* Write logs in sorted order for better logs

* Typo in log message

* More descriptive log

* Skip logging profile since `filter_profiles` already logs "Profile selected: {profile}"

* Fix grammar

* Fix grammar

* Improve logged information
2023-11-15 10:09:37 +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
14ddd5cb51 use 'get_ayon_server_api_connection' in core functions 2023-11-09 14:36:42 +01:00
Jakub Trllo
fc8342751d Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-07 17:40:40 +01:00
Toke Jepsen
f7d76617c0
Testing: Validate Maya Logs (#5775)
* Working version

* Improve launched app communication

* Move imports to methods.

* Update tests/integration/hosts/maya/test_publish_in_maya.py

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

* Collect errors from process

* fix startup scripts arguments

* Update openpype/lib/applications.py

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

* Fix application polling

* Docstring

* Revert stdout and stderr

* Revert subprocess.PIPE

* Added missed imports

If we are moving these because of testing, lets move all of them

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: kalisp <petr.kalis@gmail.com>
2023-11-07 16:51:54 +01:00
Jakub Trllo
0818788096
Merge pull request #5856 from ynput/bugfix/bundles-access
AYON: Fix bundles access in settings
2023-11-07 14:53:31 +01:00
Jakub Trllo
cf4590f532 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-07 14:38:04 +01:00
Jakub Trllo
541d333ab8 more specific message when loaded multiple modules in addon dir 2023-11-02 14:56:33 +01:00
Jakub Trllo
87c3682d61 imported modules must have Module class 2023-11-02 14:55:06 +01:00
Jakub Trllo
27dd549c7d ignore pycahce folders 2023-11-02 14:54:40 +01:00
Jakub Trllo
2d940227b1 skip openpype addon 2023-11-02 14:54:29 +01:00
Jakub Trllo
3428ec08a5 log which method was used to get plugins 2023-11-02 13:46:05 +01:00
Jakub Trllo
e9699d2cef
fix grammar and use warning
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-02 13:43:27 +01:00
Jakub Trllo
f912c2c69c change if conditions order 2023-11-02 12:32:35 +01:00
Jakub Trllo
36f928151d safe call of get plugins path 2023-11-02 12:32:18 +01:00
Jakub Trllo
13ec4d9a53 fix formatting order 2023-11-02 12:31:58 +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
bd8638caa1 ftrack events are not processed if project is not available in OpenPype database 2023-11-01 17:16:37 +01:00
Roy Nieterau
98f91ce932 Fix typo actions_dir -> path to fix register launcher actions from OpenPypeModule 2023-10-31 15:39:19 +01:00
Jakub Trllo
60ddcfe37d
Merge pull request #5828 from ynput/bugfix/skip-kitsu-for-ayon-addon
AYON: Skip kitsu module when creating ayon addons
2023-10-30 12:23:42 +01:00
Jakub Trllo
05ab5e2e0f use 'asset' from context instead of from anatomy data 2023-10-30 12:14:55 +01:00
Jakub Ježek
8e3b40a0b9
Merge pull request #5732 from tokejepsen/enhancement/nuke_workfile_dependency 2023-10-30 12:00:11 +01:00
Jakub Trllo
fe4e38190f skip 'kitsu' addon in openpype modules load 2023-10-30 10:00:37 +01:00
Jakub Trllo
1790c5516c Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-10-27 18:07:55 +02:00
Jakub Trllo
efef9e2fd3 small fix in timers manager 2023-10-27 18:06:54 +02:00
Roy Nieterau
cedbc4edaa
Merge branch 'develop' into bugfix/OP-6806_Houdini-wrong-frame-calculation-with-handles 2023-10-24 15:19:57 +02:00
Jakub Trllo
0240b2665d use context data instead of 'legacy_io' 2023-10-20 17:17:35 +02:00
MustafaJafar
1ac2ab902e Merge branch 'develop' into bugfix/OP-6806_Houdini-wrong-frame-calculation-with-handles 2023-10-19 14:06:45 +03:00
MustafaJafar
3abc227198 Merge branch 'develop' into bugfix/OP-6806_Houdini-wrong-frame-calculation-with-handles 2023-10-18 17:31:39 +03:00
Jakub Trllo
a704fd44e8 ignore some predefined names to import 2023-10-18 10:45:52 +02:00
Jakub Trllo
2088c7d7e6 use 'is_dev_mode_enabled' from 'ayon_'settings' 2023-10-17 17:06:38 +02:00
Jakub Trllo
74acdd63ee change env variable key 2023-10-17 16:41:27 +02:00
Jakub Trllo
f214751be3 modules can be loaded in dev mode correctly 2023-10-17 16:29:55 +02:00
Jakub Trllo
11d2f27526
Merge pull request #5777 from ynput/bugfix/ftrack-task-entities
Ftrack: Skip tasks when looking for asset equivalent entity
2023-10-17 13:45:34 +02:00
Jakub Trllo
7c035a157e fix args names 2023-10-17 12:52:46 +02:00
Jakub Trllo
9ce0ef1d9c use object type id to skip tasks 2023-10-17 11:31:40 +02:00
Jakub Trllo
2e34fc444a skip tasks when looking for asset entity 2023-10-17 10:53:21 +02:00
Petr Kalis
32ce067132 OP-7134 - added missing OPENPYPE_VERSION 2023-10-17 10:11:47 +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