Commit graph

1215 commits

Author SHA1 Message Date
Jakub Jezek
1944643d78
make label key optional on instance.data 2023-04-05 11:39:28 +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
Jakub Ježek
ca92f15042
Merge branch 'develop' into extract_burnin_fix_env_pythonhome 2023-03-31 22:33:37 +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
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
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Roy Nieterau
d958f989e0 Remove "handles" backwards compatibility 2023-03-29 23:57:35 +02:00
Roy Nieterau
391b7450dd Don't pass empty env since it didn't do that prior to this either 2023-03-29 17:58:22 +02:00
Toke Stuart Jepsen
cfb9293348 Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	website/docs/admin_hosts_maya.md
2023-03-29 10:26:50 +01:00
Toke Jepsen
b7f6589886
Merge branch 'develop' into feature/OP-3278_camera-focal-length 2023-03-29 11:12:09 +02:00
Petr Kalis
1531708236
Global: persistent staging directory for renders (#4583)
* OP-4258 - Settings for transient template

* OP-4258 - added collector for transient staging dir

Allows setting profiles to create persistent stagingDir.

* OP-4258 - implemented persistent stagingDir in cleanup

* OP-4258 - updated logging

* OP-4258 - updated settings

* OP-4258 - Hound

* OP-4258 - renamed class to better name

* OP-4258 - changed location of Settings

Should be used in create and collecting phase also.

* OP-4258 - remove version placeholder from transient template

It was discussed that it shouldn't be used for now.

* OP-4258 - extracted transient dir query logic

This should be used in collection and creation phase for DCCs which are storing staging dir path directly into nodes.

* OP-4258 - added use of scene_name placeholder in collector

DCC dependent, way how to implement versioning, might not be used.

* OP-4258 - fix scene_name

* OP-4258 - remove wrong defaults

* OP-4258 - added possibility of different template name

Studio might want to put renders to different place from caches.

* OP-4258 - renamed according to GH comments

* OP-4258 - use is active filter

* OP-4258 - use is active filter

* OP-4793 - added project_settings to signature

* OP-4793 - updated logging message

* OP-4793 - added documentation

* OP-4258 - fix function arguments

* OP-4258 - updates to documentation


* OP-4258 - added known issues to documentation

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-03-24 16:30:46 +01:00
Roy Nieterau
f681e9843d
Extract Review code refactor (#3930)
* Tweak variable names

* Use `filter_profiles` from lib

* Fix type fallback

* Simplify additional family filters

* Use legacy_io.Session instead of os.environ

* Fix logging message

* Indent todo comment for better todo highlighting in Pycharm

* Simplify gap filling logic

* Optimize getting nearest frames

* Fix logic for nearest frame

- This fixes cases where nearest frame isn't directly the next frame

* Refactor `index` in variable `idx` to match `missing_idx` naming

* Use `filter_profiles` from lib

* Match family filter validation of extract review

* Fix typo `overscal` -> `overscan`

* Use `legacy_io.Session` instead of `os.environ`

* Remove unused import

* use 'KnownPublishError' instead of 'AssertionError'

* modify nearest frame logic in holes fill

* Fix unsupported indexing of clique Collection + slightly simplify

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-03-23 09:50:28 +01:00
Toke Stuart Jepsen
22dac59ccf Store burnin data as dictionary directly. 2023-03-22 14:58:46 +00:00
Toke Stuart Jepsen
e9eb09e100 Initial working version 2023-03-22 12:58:33 +00:00
Roy Nieterau
28b424bf2f
Publisher: Windows reduce command window pop-ups during Publishing (#4672)
* Avoid command pop-ups during publishing (tip by @iLLiCiTiT)

* No need to pass creationflags because it's already done in `run_subprocess`

* Hide command window for `shell=True` calls

* Update openpype/lib/execute.py

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

---------

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-22 12:13:21 +01:00
Roy Nieterau
96e184c8ca
Integrator: Enforce unique destination transfers, disallow overwrites in queued transfers (#4662)
* Fix #4656: Enforce unique destination transfer in Integrator

Note that this is per instance - it doesn't validate cross-instance destinations in the context

* Use explicit DuplicateDestinationError and raise as KnownPublishError
2023-03-21 15:29:19 +01:00
Petr Kalis
a0c599203e
Global: add tags field to thumbnail representation (#4660)
* Fix add tags field to thumbnail representation

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-21 10:42:06 +01:00
Toke Stuart Jepsen
216c99d839 Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	website/docs/admin_hosts_maya.md
2023-03-21 07:58:26 +00:00
Toke Stuart Jepsen
03c6fab3ea Remove hero edits. 2023-03-18 10:29:01 +00:00
Toke Stuart Jepsen
6490c1e387 Hound 2023-03-18 10:27:49 +00:00
Toke Stuart Jepsen
69ff474801 Remove hero suffix logic. 2023-03-18 10:26:59 +00:00
Kayla Man
fa69594c70 creator, validator and extractor for point cloud from tyFlow 2023-03-17 22:56:00 +01:00
moonyuet
739b2db0f0 MaxScene Family introduction 2023-03-17 22:52:50 +01:00
Jakub Trllo
3159bcb878 Use right plugic class for 'CollectInstanceCommentDef' 2023-03-17 17:39:54 +01:00
Toke Stuart Jepsen
0b67d9c758 Initial working GPU extractor 2023-03-17 12:07:43 +00:00
Simone Barbieri
6754e97490
Merge branch 'develop' into feature/blender-review 2023-03-14 10:04:49 +00:00
Jakub Trllo
b3636b9f55
General: Input representation ids are not ObjectIds (#4576)
* input representation ids are not ObjectIds during publishing

* changed set back to list

* use 'setdefault' to set 'inputVersions'

* added default value to 'get'

* Use default value in second loop too

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

* simplify variable assignment

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

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-03-07 13:45:49 +01:00
Jakub Ježek
f5ef4597b2
Merge pull request #4556 from ynput/feature/OP-5006_Nuke-publish-colorspaceData-from-rendered-images 2023-03-06 11:52:37 +01:00
Jakub Trllo
5efc9e0ff0
Editorial: Fix tasks removal (#4558)
Fix tasks removal in editorial
2023-03-06 11:00:02 +01:00
Ondřej Samohel
e7cf87d3ac
Merge branch 'develop' into feature/OP-5006_Nuke-publish-colorspaceData-from-rendered-images 2023-03-02 11:47:13 +01:00
Petr Kalis
9f35ed2a63
Fix - store target_colorspace as new colorspace (#4544)
When transcoding into new colorspace, representation must carry this information instead original color space.
2023-02-28 16:33:18 +01:00
Jakub Jezek
ee3e346c8d
Global: refactory colormanaged exctractor into plugin mixin 2023-02-28 14:53:49 +01:00
Petr Kalis
72a3572d95 Revert "OP-4643 - split command line arguments to separate items"
This reverts commit deaad39437.
2023-02-23 16:35:42 +01:00
Petr Kalis
9eaa0d1ff8 OP-4643 - split command line arguments to separate items
Reuse existing method from ExtractReview, put it into transcoding.py
2023-02-23 16:31:25 +01:00
Petr Kalis
cce048fd3e OP-4642 - refactored newly added representations 2023-02-23 16:30:54 +01:00
Petr Kalis
7f94f7ef71 OP-4643 - allow new repre to stay
One might want to delete outputs with 'delete' tag, but repre must stay there at least until extract_review.

More universal new tag might be created for this.
2023-02-23 16:29:05 +01:00
Petr Kalis
195e9b4360 OP-4643 - name of new representation from output definition key 2023-02-23 16:27:24 +01:00
Petr Kalis
c038fbf884 OP-4643 - fix no tags in repre 2023-02-23 16:26:25 +01:00
Petr Kalis
d2f8407111 OP-4643 - fix files to delete 2023-02-23 16:26:24 +01:00
Petr Kalis
64a142ef64 OP-4643 - fix for full file paths 2023-02-23 16:05:31 +01:00
Petr Kalis
945f1dfe55 OP-4643 - added explicit enum for transcoding type
As transcoding info (colorspace, display) might be collected from DCC, it must be explicit which should be used.
2023-02-23 15:39:55 +01:00
Petr Kalis
7ecf6fde48 OP-4643 - fix colorspace from DCC
representation["colorspaceData"]["colorspace"] is only input colorspace
2023-02-23 15:39:55 +01:00
Petr Kalis
f30b3c5230 OP-4643 - allow colorspace to be empty and collected from DCC 2023-02-23 15:39:55 +01:00