Jakub Trllo
70087468c3
General: Anatomy templates formatting ( #4773 )
...
* 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
2023-04-05 15:59:36 +02:00
Jakub Ježek
ca92f15042
Merge branch 'develop' into extract_burnin_fix_env_pythonhome
2023-03-31 22:33:37 +02:00
Roy Nieterau
35a5d5f172
Revert for backwards compatibility of client code
...
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-30 19:43:33 +02:00
Roy Nieterau
3fae1f8521
Just some grammar tweaks
2023-03-30 13:59:22 +02:00
Roy Nieterau
168a49dba6
Remove both PYTHONPATH and PYTHONHOME
...
- Fixes an issue with Houdini Py3.7 conflict with OpenPype Py3.9 because Houdini sets `PYTHONHOME`
2023-03-29 18:00:03 +02:00
Roy Nieterau
9a71cfec41
Allow passing an empty environment explicitly like env = {}
2023-03-29 17:57:12 +02:00
Toke Jepsen
b7f6589886
Merge branch 'develop' into feature/OP-3278_camera-focal-length
2023-03-29 11:12:09 +02:00
Toke Jepsen
7264ce3aaf
Update openpype/lib/execute.py
2023-03-29 09:17:20 +01:00
Roy Nieterau
4d53e4f5fb
Application launch context: Include app group name in logger ( #4684 )
...
* Include app group name with app name for logger
* Include app group name in launch finished log message
* Include app group name with launching message
* Use `application.full_name` instead
2023-03-23 10:27:02 +01:00
Roy Nieterau
90f5cdf7f3
Use app.full_name ( #4686 )
2023-03-23 09:59:56 +01:00
Roy Nieterau
654bef0afc
Tweak logging - preserve order and clarify versions with groups
2023-03-22 23:53:30 +01: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
Jakub Trllo
f96670d9df
use right validation for ffmpeg executable
2023-03-16 11:20:00 +01:00
Petr Kalis
be6a22b485
Fix - newline
2023-02-23 16:42:48 +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
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
5678bdbf06
OP-4643 - different splitting for oiio
...
It seems that logic in ExtractReview does different thing.
2023-02-23 15:39:55 +01:00
Petr Kalis
559d54c3a1
Revert "OP-4643 - split command line arguments to separate items"
...
This reverts commit deaad39437 .
2023-02-23 15:39:55 +01:00
Petr Kalis
984974d7e0
OP-4643 - split command line arguments to separate items
...
Reuse existing method from ExtractReview, put it into transcoding.py
2023-02-23 15:39:54 +01:00
Petr Kalis
3921982365
OP-4642 - added additional command arguments for oiiotool
...
Some extension requires special command line arguments (.dpx and binary depth).
2023-02-23 15:39:54 +01:00
Petr Kalis
925c7a9564
OP-4643 - updated docstring for convert_colorspace
2023-02-23 15:39:53 +01:00
Petr Kalis
016111ab33
OP-4643 - changed docstring
...
Elaborated more that 'target_colorspace' and ('view', 'display') are disjunctive.
2023-02-23 15:39:53 +01:00
Petr Kalis
97a2014c12
OP-4643 - moved output argument to the end
2023-02-23 15:39:53 +01:00
Petr Kalis
7e9d707226
OP-4643 - updated docstring, standardized arguments
2023-02-23 15:39:52 +01:00
Petr Kalis
be176bbeb2
OP-4643 - implemented display and viewer color space
2023-02-23 15:39:52 +01:00
Petr Kalis
83d21d9d77
OP-4643 - changed oiio_cmd creation
...
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-02-23 15:39:52 +01:00
Petr Kalis
9fc4070e06
OP-4643 - refactored according to review
...
Function turned into single filepath input.
2023-02-23 15:39:51 +01:00
Petr Kalis
ec299f0d3c
OP-4643 - pass path for ocio config
2023-02-23 15:39:51 +01:00
Petr Kalis
2f1888bbfb
OP-4643 - added ExtractColorTranscode
...
Added method to convert from one colorspace to another to transcoding lib
2023-02-23 15:39:50 +01:00
Petr Kalis
6cb8cbd6fc
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:36:03 +01:00
Petr Kalis
840f681134
OP-4643 - different splitting for oiio
...
It seems that logic in ExtractReview does different thing.
2023-02-23 15:36:03 +01:00
Petr Kalis
94ee028792
Revert "OP-4643 - split command line arguments to separate items"
...
This reverts commit deaad39437 .
2023-02-23 15:36:03 +01:00
Petr Kalis
b304d63461
OP-4643 - split command line arguments to separate items
...
Reuse existing method from ExtractReview, put it into transcoding.py
2023-02-23 15:36:02 +01:00
Petr Kalis
b1d30058b0
OP-4642 - added additional command arguments for oiiotool
...
Some extension requires special command line arguments (.dpx and binary depth).
2023-02-23 15:36:01 +01:00
Petr Kalis
7eacd1f30f
OP-4643 - updated docstring for convert_colorspace
2023-02-23 15:36:00 +01:00
Petr Kalis
190a79a836
OP-4643 - changed docstring
...
Elaborated more that 'target_colorspace' and ('view', 'display') are disjunctive.
2023-02-23 15:36:00 +01:00
Petr Kalis
8598c1ec39
OP-4643 - moved output argument to the end
2023-02-23 15:36:00 +01:00
Petr Kalis
176f53117f
OP-4643 - updated docstring, standardized arguments
2023-02-23 15:35:59 +01:00
Petr Kalis
382074b54c
OP-4643 - implemented display and viewer color space
2023-02-23 15:35:59 +01:00
Petr Kalis
756661f71b
OP-4643 - changed oiio_cmd creation
...
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-02-23 15:35:59 +01:00
Petr Kalis
5a562dc821
OP-4643 - refactored according to review
...
Function turned into single filepath input.
2023-02-23 15:35:58 +01:00
Petr Kalis
52a5865341
OP-4643 - pass path for ocio config
2023-02-23 15:35:57 +01:00
Petr Kalis
8a67065fce
OP-4643 - added ExtractColorTranscode
...
Added method to convert from one colorspace to another to transcoding lib
2023-02-23 15:35:57 +01:00
Fabia Serra Arrizabalaga
c41a3b1cb8
Pass module name and set __file__ on module to avoid AttributeErrors saying module has no __file__ attribute
2023-02-22 17:21:37 +01:00
Jakub Trllo
cf17ff50b5
use detached process in ffprobe
2023-02-22 14:07:38 +01:00
Jakub Trllo
c177c26c86
safe access to constants
2023-02-22 14:07:38 +01:00
Jakub Trllo
ed909ca527
add 'CREATE_NO_WINDOW' to flags (if is available)
2023-02-22 14:07:38 +01:00
Jakub Trllo
0f9e12955c
look for creationflags in kwargs instead of explicit argument
2023-02-22 14:07:38 +01:00