Commit graph

2709 commits

Author SHA1 Message Date
Jakub Jezek
ec47c7466f
enhancing code 2023-11-21 22:12:41 +01:00
Jakub Jezek
178f044869
ftrack: ignore representations with publish_on_farm tag 2023-11-21 21:49:17 +01:00
Jakub Jezek
e0b4cef87e
nuke: deadline removing redundant code 2023-11-21 17:28:25 +01:00
Jakub Jezek
0f6cecb29a
nuke: deadline not adding explicit farm representation to expected files 2023-11-21 17:26:58 +01:00
Jakub Trllo
a3fc30b408
use project, task and host name from context data (#5918) 2023-11-16 15:27:33 +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
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
14ddd5cb51 use 'get_ayon_server_api_connection' in core functions 2023-11-09 14:36:42 +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
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
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 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
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
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
Toke Stuart Jepsen
523633c1aa Optional workfile dependency 2023-10-09 12:53:46 +01:00
Mustafa-Zarkash
2def83c481 Merge branch 'develop' into bugfix/OP-6806_Houdini-wrong-frame-calculation-with-handles 2023-10-06 22:22:44 +03:00
Mustafa-Zarkash
4b02645618 update frame data when rendering current frame 2023-10-06 17:27:35 +03:00
Petr Kalis
12f4128901
Fusion: added missing env vars to Deadline submission (#5659)
* OP-6930 - added missing env vars to Fusion Deadline submission

Without this injection of environment variables won't start.

* OP-6930 - removed unnecessary env var

* OP-6930 - removed unnecessary env var
2023-10-05 16:46:20 +02:00
Petr Kalis
52c65c9b6c
Fusion: implement toggle to use Deadline plugin FusionCmd (#5678)
* OP-6971 - changed DL plugin to FusionCmd

Fusion 17 doesn't work in DL 10.3, but FusionCmd does. It might be probably better option as headless variant.

* OP-6971 - added dropdown to Project Settings

* OP-6971 - updated settings for Ayon

* OP-6971 - added default

* OP-6971 - bumped up version

* Update openpype/settings/entities/schemas/projects_schema/schema_project_deadline.json

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

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-05 16:03:56 +02:00
Ondřej Samohel
4a418c4c28
Merge pull request #5669 from BigRoy/chore/reduce_get_project_settings 2023-10-05 13:01:17 +02:00
Mustafa-Zarkash
0c63b26915 resolve some comments and add frame range validator 2023-10-04 23:29:25 +03:00
Mustafa-Zarkash
cc7f152404 resolve hound 2023-10-04 17:15:42 +03:00
Mustafa-Zarkash
8ab9e6d6b2 consider handleStart and End when submitting a deadline render job 2023-10-04 17:00:01 +03:00