Commit graph

1279 commits

Author SHA1 Message Date
Jakub Jezek
b47143b472
collect frames to fix settings 2023-05-25 17:41:36 +02:00
Jakub Trllo
124493affd
Publisher: UI works with instances without label (#5032)
* implemented helper function to get instance label

* use 'get_publish_instance_label' in some of existing plugins

* use 'get_publish_instance_label' in publisher controller
2023-05-25 11:51:44 +02:00
Petr Kalis
e5733450e4
Global: plugins cleanup plugin will leave beauty rendered files (#4790)
* OP-1066 - add expected files in Deadline into explicit cleanup

Implicit cleanup doesn't work correctly, safest option is for DL submissions to mark only files that should be rendered to be deleted after successful publish.

* OP-1066 - moved collecting of expected files into collector

Parsing of json didn't have context implemented, it is easier to mark expected files in collector.

* OP-4793 - delete full stagingDir

Reviews might be extracted into staging dir, should be removed too.

* Revert "OP-4793 - delete full stagingDir"

This reverts commit 8b002191e1ad3b31a0cbe439ca1158946c43b049.

* OP-1066 - added function to mark representation files to be cleaned up

Should be applicable for all new representations, as reviews, thumbnails, to clean up their intermediate  files.

* OP-1066 - moved files to better file

Cleaned up occurences where not necessary.

* OP-1066 - removed unused import

* OP-1066 - removed unnecessary setdefault

* OP-1066 - removed unnecessary logging

* OP-1066 - cleanup metadata json

Try to cleanup parent folder if empty.
2023-05-24 12:18:57 +02:00
Roy Nieterau
17a38c32a4
Enhancement: Improve logging levels and messages for artist facing publish reports (#5018)
* Tweak log levels and message to be more informative to artist in report page

* Tweak levels and clarity of logs

* Tweak levels and clarity of logs + tweak grammar

* Cosmetics

* Improve logging

* Simplify logging

* Convert to debug log if it's skipping thumbnail integration if there's no thumbnail whatsoever to integrate

* Tweak to debug since they only show representation ids hardly understandable to the artist

* Match logging message across hosts + include filepath for full clarity

* Tweak message to clarify it only starts checking and not that it requires filling + to debug log

* Tweak to debug log if there's basically no thumbnail to integrate at the end

* Tweak log levels

- Artist doesn't care what's prepared, especially since afterwards it's logged what gets written to the database anyway

* Log clearly it's processing a legacy instance

* Cosmetics
2023-05-24 10:54:31 +02:00
Roy Nieterau
bad6aa2d96
DJV open action extensions as set (#5005)
* Allow to open with djv by extension instead of representation name

* Turn extensions into `set` like on base loader class

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-22 16:50:38 +02:00
Roy Nieterau
72fee37af6
Allow to open with djv by extension instead of representation name (#5004) 2023-05-22 16:42:12 +02:00
Ondřej Samohel
9ccde2d013
Merge pull request #4939 from ynput/bugfix/remove-obsolete-validator 2023-05-15 17:59:49 +02:00
Ondřej Samohel
2019fddd2c
Merge branch 'develop' into feature/remove_and_load_inv_action 2023-05-15 12:38:16 +02:00
Sharkitty
5ff9ab368b pre cache loader by name, loader name in error 2023-05-12 17:07:52 +02:00
Sharkitty
d8b569b160
Update openpype/plugins/inventory/remove_and_load.py
Discover plugins only once

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-05-12 14:14:44 +00:00
Sharkitty
9a2a25a957 Added continue statement + linting 2023-05-08 18:05:18 +02:00
Sharkitty
291432d49b
Update openpype/plugins/inventory/remove_and_load.py
Changed representation assertion into a warning with more info

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-08 16:01:57 +00:00
Sharkitty
43b71e4f1e Fixed wrong variable 2023-05-05 14:24:46 +02:00
Sharkitty
c0499c46b8 Changes based on suggestions 2023-05-05 14:02:40 +02:00
Ondrej Samohel
feaa01eff5
🔥 remove obsolete validator 2023-05-05 11:49:47 +02:00
Sharkitty
e2da9a0552 Using for else to raise loader not found error 2023-05-03 10:20:50 +02:00
Sharkitty
273eb74791
Update openpype/plugins/inventory/remove_and_load.py
Fix typo

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-05-03 08:13:37 +00:00
Sharkitty
865ba2c975 edited assertion 2023-05-02 17:12:36 +02:00
Sharkitty
0d2a0f8723 Feature: Remove and load inv action 2023-05-02 17:09:26 +02:00
Roy Nieterau
551146ebe9 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-24 14:44:29 +02:00
Jakub Jezek
f05f7510b4
adding slate condition to plugin 2023-04-20 21:39:49 +02:00
Roy Nieterau
3c56b89606
Merge branch 'develop' into substance_integration 2023-04-19 10:18:37 +02:00
Roy Nieterau
b05afaa837
Global: Optimize anatomy formatting by only formatting used templates instead (#4784)
* TemplatesDict can create different type of template

* anatomy templates can be formatted on their own

* return objected templates on get item

* '_rootless_path' is public classmethod 'rootless_path_from_result'

* 'AnatomyStringTemplate' expect anatomy templates

* remove key getters

* fix typo 'create_ojected_templates' -> 'create_objected_templates'

* Fix type of argument

* Fix long line

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Use format strict + code cosmetics

* Get template from the formatted data

* Update openpype/plugins/publish/integrate_legacy.py

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

* Cosmetics

* Move template obj definition for path up + rename to `path_template_obj`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-04-17 14:53:15 +02:00
Ondřej Samohel
84cc7e12cc
Merge branch 'develop' into bugfix/OP-3951_Deadline-checking-existing-frames-fails-when-there-is-number-in-file-name 2023-04-13 12:35:26 +02:00
Ondřej Samohel
f8386fe66a
Merge branch 'develop' into substance_integration 2023-04-13 12:01:20 +02:00
Ondřej Samohel
25bb76226b
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-04-13 11:58:33 +02:00
Ondřej Samohel
707eedf98d
Merge branch 'develop' into houdini_opengl 2023-04-12 14:28:49 +02:00
Jakub Trllo
d8987149ad
General: Extract burnin hosts filters (#4749)
* remove hosts filter in ExtractBurnin

* skip instances without representations instead of crash

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-04-12 10:34:11 +02:00
Roy Nieterau
5cca466c04
Merge branch 'develop' into houdini_opengl 2023-04-05 12:34:53 +02:00
Jakub Jezek
1944643d78
make label key optional on instance.data 2023-04-05 11:39:28 +02:00
Roy Nieterau
4633f97cd2
Merge branch 'develop' into substance_integration 2023-04-04 16:27:45 +02:00
Roy Nieterau
af7e4d035f
Merge branch 'develop' into houdini_opengl 2023-04-04 12:05:12 +02:00
Roy Nieterau
eb0f15002b
Merge branch 'develop' into houdini_opengl 2023-04-04 02:06:20 +02:00
Roy Nieterau
439967c8c2 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-04 00:15:30 +02:00
Roy Nieterau
93f7eedfe5
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-04-03 18:20:15 +02:00
Roy Nieterau
0b590ea31d Merge remote-tracking branch 'upstream/develop' into refactor/remove_handles
# Conflicts:
#	openpype/hosts/maya/plugins/publish/collect_review.py
2023-04-03 18:07:15 +02:00
Milan Kolar
852f6fedd0
Merge pull request #4740 from BigRoy/extract_burnin_fix_env_pythonhome 2023-04-03 17:59:12 +02:00
Roy Nieterau
4bdf5b79b8
Improve speed of Collect Custom Staging Directory 2023-04-03 17:44:21 +02:00
Roy Nieterau
053021eb64 Merge remote-tracking branch 'upstream/develop' into substance_integration 2023-04-03 11:33:00 +02:00
Jakub Ježek
ca92f15042
Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-31 22:33:37 +02:00
Jakub Ježek
21db6ee9fc
Merge branch 'develop' into instance_collect_no_asset_framerange 2023-03-31 22:03:21 +02:00
Jakub Ježek
a0b31195b5
Merge branch 'develop' into houdini_opengl 2023-03-31 22:00:26 +02:00
Jakub Ježek
c0d4ab010a
Merge branch 'develop' into refactor/remove_handles 2023-03-31 21:58:53 +02:00
Toke Stuart Jepsen
7fb5242fca Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	openpype/settings/defaults/project_settings/maya.json
#	openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json
2023-03-31 16:20:08 +01:00
Roy Nieterau
74f73969ad
Remove "preview" data from representation (#4759)
* Remove "preview" data from representation

* pop "preview" from component in standalone publisher

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-31 17:08:58 +02:00
Roy Nieterau
0a5e82f132 Merge remote-tracking branch 'upstream/develop' into houdini_opengl 2023-03-31 16:18:23 +02:00
Jakub Ježek
d933917a53
Merge branch 'develop' into refactor/cleanup_grammar 2023-03-31 14:28:22 +02:00
Roy Nieterau
5b163fe84d
Apply suggestions from code review
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-30 22:40:44 +02:00
Jakub Trllo
ac4ed94a97
Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-30 19:59:38 +02:00
Jakub Trllo
d2e48426a6
add all sites of previous files to new files (#4737)
Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-03-30 19:04:44 +02:00