Commit graph

8494 commits

Author SHA1 Message Date
Jakub Jezek
b2588636e9
add removing of media pool item for clip remove.
no way to remove timeline item so they stay offline at timeline
2023-10-06 15:11:19 +02:00
Jakub Jezek
1984086242
finalizing update of importing clips with multiple frames 2023-10-06 14:03:38 +02:00
Jakub Jezek
26e0cacd3a
removing test scrips 2023-10-06 14:03:15 +02:00
Jakub Jezek
908e980a40
updating importing to media pool to newer api 2023-10-06 13:21:25 +02:00
Jakub Jezek
4656e59759
debug logging cleaning 2023-10-03 13:10:51 +02:00
Jakub Jezek
f5e8f4d3fa
removing debugging prints 2023-10-03 13:02:17 +02:00
Jakub Jezek
4bd820bc30
removing attachmets from self and moving into timeline_basename 2023-10-03 13:00:49 +02:00
Jakub Ježek
f0b38dbb9a
Update openpype/hosts/resolve/api/lib.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-10-03 12:49:37 +02:00
Jakub Jezek
01eb8ade9b
fixing inventory management for version update 2023-10-02 17:04:04 +02:00
Jakub Jezek
b8cee701a3
resolve: load multiple clips to new timeline fix 2023-10-02 16:38:51 +02:00
Jakub Jezek
42f7549e05
resolve: adding input arg to create new timeline 2023-10-02 16:37:45 +02:00
Petr Kalis
a66edaf1d0
Maya: implement matchmove publishing (#5445)
* OP-6360 - allow export of multiple cameras as alembic

* OP-6360 - make validation of camera count optional

* OP-6360 - make ValidatorCameraContents optional

This validator checks number of cameras, without optionality publish wouldn't be possible.

* OP-6360 - allow extraction of multiple cameras to .ma

* OP-6360 - update defaults for Ayon

Changes to Ayon settings should also bump up version of addon.

* OP-6360 - new matchmove creator

This family should be for more complex sets (eg. multiple cameras, with geometry, planes etc.

* OP-6360 - updated camera extractors

Added matchmove family to extract multiple cameras.
Single camera is protected by required validator.

* OP-6360 - added matchmove to reference loader

* Revert "OP-6360 - make ValidatorCameraContents optional"

This reverts commit 4096e81f785b1299b54b1e485eb672403fb89a66.

* Revert "OP-6360 - update defaults for Ayon"

This reverts commit 4391b25cfc93fbb783146a726c6097477146c467.

* OP-6360 - performance update

Number of cameras might be quite large, set operations will be faster than loop.

* Revert "OP-6360 - make validation of camera count optional"

This reverts commit ee3d91a4cbec607b0f8cc9d47382684eba88d6d0.

* OP-6360 - explicitly cast to list for Maya functions

cmds.ls doesn't like sets in some older versions of Maya apparently. Sets are used here for performance reason, so explicitly cast them to list to make Maya happy.

* OP-6360 - added documentation about matchmove family

* OP-6360 - copy input planes

* OP-6360 - expose Settings to keep Image planes

Previous implementation didn't export Image planes in Maya file, to keep behavior backward compatible new Setting was added and set to False.

* OP-6360 - make both camera extractors optional

In Settings Alembic extractor was visible as optional even if code didn't follow that.

* OP-6360 - used long name

* OP-6360 - fix wrong variable

* Update openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py

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

* OP-6360 - removed shortening of varible

* OP-6360 - Hound

* OP-6360 - fix wrong key

* Update openpype/hosts/maya/plugins/publish/extract_camera_mayaScene.py

Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>

* Update openpype/hosts/maya/api/lib.py

Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>

* Update openpype/hosts/maya/plugins/publish/extract_camera_alembic.py

Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>

* OP-6360 - fix wrong variable

* OP-6360 - added reattaching method

Image planes were attached wrong, added method to reattach them properly.

* Revert "Update openpype/hosts/maya/api/lib.py"

This reverts commit 4f40ad613946903e8c51b2720ac52756e701f8b8.

* OP-6360 - exported baked camera should be deleted

Forgotten commenting just for development.

* OP-6360 - updated docstring

* OP-6360 - remove scale keys

Currently parentConstraint from old camera to new one doesn't work for keyed scale attributes. To key scale attributes doesn't make much sense so as a workaround, keys for scale attributes are checked AND if they are diferent from defaults (1.0) publish fails (as artist might want to actually key scale). If all scale keys are defaults, they are temporarily removed, cameras are parent constrained, exported and old camera returned to original state.

* OP-6360 - cleaned up resetting of scale keys

Batch calls used instead of one by one.
Cleaned up a return type as key value is no necessary as we are not setting it, just key.

* OP-6360 - removed unnecessary logging

* OP-6360 - reattach image plane to original camera

Image plane must be reattached before baked camera(s) are deleted.

* OP-6360 - added context manager to keep image planes attached to original camera

Without this image planes would disappear after removal of baked cameras.

* OP-6360 - refactored contextmanager

* OP-6360 - renamed flag

Input connections are not copied anymore as they might be dangerous. It is possible to epxlicitly attach only image planes instead.

* OP-6360 - removed copyInputConnections

Copying input connections might be dangerous (rig etc.), it is possible to explicitly attach only image planes.

* OP-6360 - updated plugin labels

* Update openpype/hosts/maya/plugins/create/create_matchmove.py

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

* OP-6360 - fixed formatting

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-09-29 17:33:28 +02:00
Kayla Man
bc0f95dcaa
Merge branch 'develop' into enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support 2023-09-29 23:06:06 +08:00
Libor Batek
0b40dd88f3
Merge pull request #5618 from tokejepsen/bugfix/maya_audio
Maya: Missing "data" field and enabling of audio
2023-09-29 15:18:45 +02:00
Kayla Man
a6522b345a Merge branch 'develop' into enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support 2023-09-29 15:56:23 +08:00
Kayla Man
f57c1eb888 edit docsting and rename BakingStreamModel as IntermediateOutputModel 2023-09-28 23:32:39 +08:00
Kayla Man
f45552ff79 label tweak 2023-09-28 20:29:09 +08:00
Kayla Man
ef12a5229d plural form for extract_review_intermediate 2023-09-28 20:27:55 +08:00
Kayla Man
6c1e066b3b Rename ExtractReviewDataBakingStreams to ExtractReviewIntermediate 2023-09-28 20:07:28 +08:00
Kayla Man
356f05ff91 docstring tweaks 2023-09-28 19:20:37 +08:00
64qam
38f9673cc9
Merge branch 'develop' into bugfix/OP-6884_Tray-Publisher-Publishing-Plates-fails-on-gathering-FPS 2023-09-27 17:55:32 +02:00
Kayla Man
973e4804d5 make sure not using .replace 2023-09-27 23:30:57 +08:00
Kayla Man
e493886f4d improve docstring on lib.py and add comment on the condition of setting filename with extension and improved the deprecrated settings 2023-09-27 23:17:12 +08:00
Kayla Man
abef01cd05 edit docstring 2023-09-27 22:54:18 +08:00
Kayla Man
ebdcc49cd7 implement more concise function for getting filenames with hashes 2023-09-27 22:52:53 +08:00
Kayla Man
6deb9338cb fix the typo of rstrip 2023-09-27 21:47:02 +08:00
Kayla Man
9fdd895bb6 rename current_selection to current_sel 2023-09-27 21:44:19 +08:00
Kayla Man
49e8a4b008 hound 2023-09-27 21:42:08 +08:00
Kayla Man
42132e50e9 # noqa makes the maxscript not working 2023-09-27 21:34:57 +08:00
Kayla Man
723d187835 hound 2023-09-27 19:54:01 +08:00
Jakub Jezek
1c8ab8ecfa
better label 2023-09-27 13:47:16 +02:00
Kayla Man
8897cdaa92 bug fix delete items from container to remove item 2023-09-27 19:43:21 +08:00
Jakub Jezek
e90d227a23
reverting the functionality
- sequencial original frame data should be optional plugin
- sequential data are added if activated
- asset data frame data are not optional anymore and are added only if missing
2023-09-27 13:37:01 +02:00
Jakub Jezek
5b1cbfaa67
removing debug prints 2023-09-27 12:35:36 +02:00
Jakub Jezek
fbafc420aa
reverting enhancing UX of sequence or asset frame data collection 2023-09-27 12:28:42 +02:00
Kayla Man
9ffc657ee6 Merge branches 'enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support' and 'develop' of https://github.com/ynput/OpenPype into develop 2023-09-26 14:08:11 +08:00
Kayla Man
65bfe023c7 transform the files with frame hashes to the list of filenames when publishing 2023-09-26 00:41:04 +08:00
Kayla Man
0595afe8a3 add % check on the fhead in the lib.py 2023-09-26 00:34:44 +08:00
Petr Kalis
1bd07bd15b
OP-6874 - remove trailing underscore in subset name (#5647)
If {layer} placeholder is at the end of subset name template and not used (for example in auto_image where separating it by layer doesn't make any sense) trailing '_' was kept.
This updates cleaning logic and extracts it as it might be similar in regular `image` instance.
2023-09-25 18:01:24 +02:00
Kayla Man
0c62e195dd Merge branch 'develop' into enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support 2023-09-25 22:00:44 +08:00
Jakub Ježek
f4659b526c
Merge pull request #5634 from ynput/bugfix/nuke-set-colorspace-writes 2023-09-25 15:28:30 +02:00
Roy Nieterau
905038f6e8 Fix typo 2023-09-25 13:42:39 +02:00
Roy Nieterau
c77faa4be4 Fix audio node source in - source out on updating audio version 2023-09-25 13:42:22 +02:00
Kayla Man
ed18c908ae Merge branch 'develop' into enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support 2023-09-25 19:32:21 +08:00
Kayla Man
e2509a9447 hound 2023-09-25 19:29:35 +08:00
Kayla Man
8b76238b2d fixing get_head_filename_without_hashes not being able to get multiple hashes & some strip fix 2023-09-25 19:25:44 +08:00
Simone Barbieri
a14464331f
Merge pull request #5643 from ynput/feature/OP-6593_Unreal_Yeti_support 2023-09-25 12:17:00 +01:00
Simone Barbieri
e0ce8013f4 Use f-string 2023-09-25 11:32:44 +01:00
Kayla Man
3da4bac77d typo in lib 2023-09-25 18:26:16 +08:00
Kayla Man
41e81ef7a8 rename the function and the elaborate the docstring 2023-09-25 18:03:22 +08:00