Commit graph

33605 commits

Author SHA1 Message Date
Toke Jepsen
e78b6065ac
Add openpype_mongo command flag for testing. (#5676)
* Add openpype_mongo command flag for testing.

* Revert back to TEST_OPENPYPE_MONGO

TEST_OPENPYPE_MONGO is placeholder used in all source test sip in `input/env_vars/env_var` not a env variable itself

* Fix openpype_mongo fixture

Fixture decorator was missing.
If value passed from command line should be used, it must come first as `env_var` fixture should already contain valid default Mongo uri.

* Renamed command line argument to mongo_url

---------

Co-authored-by: kalisp <petr.kalis@gmail.com>
2023-10-03 19:18:02 +02:00
Ondřej Samohel
17dbe5b718
Merge pull request #5687 from ynput/bugfix/maya-validate-plugin-path-attribute 2023-10-03 16:54:20 +02:00
Kayla Man
5338d33067
Merge pull request #5589 from ynput/enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX
Maya: Add optional Fbx extractors in Rig and Animation family
2023-10-03 22:44:39 +08:00
Ondřej Samohel
1f265f064a
🐶 fix hound 2023-10-03 16:40:54 +02:00
Ondřej Samohel
56aa22af17
🐛 fix variable name
overwriting list with string is causing `TypeError: string indices must be integers` in subsequent iterations
2023-10-03 16:37:51 +02:00
Kayla
8b16bacb53 make sure the get_namespace won't error out if it doesn't get anything 2023-10-03 20:21:37 +08:00
Kayla
e0097ad517 Merge branch 'develop' into enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX 2023-10-03 20:06:51 +08:00
Kayla
71838b0515 abstract relativeNames namesapces into function 2023-10-03 20:06:14 +08:00
Libor Batek
25f7d3078b
Merge pull request #5679 from ynput/bugfix/blender_fix-remove-assets-in-new-layout-instance
Blender: Fix remove/update in new layout instance
2023-10-03 13:44:29 +02:00
Jakub Ježek
e7f93ff5c8
Merge pull request #5662 from ynput/bugfix/OP-6944_Nuke-publish-product-versions-not-in-sync-with-workfile-version
Nuke: workfile version synchronization settings fixed
2023-10-03 13:15:27 +02:00
Kayla Man
820304b651
Merge pull request #5499 from ynput/enhancement/ocio_configuration_max_2024
Max: Implementation of OCIO configuration
2023-10-03 18:09:27 +08:00
Kayla Man
c4202e7fca
Merge branch 'develop' into enhancement/ocio_configuration_max_2024 2023-10-03 18:09:15 +08:00
Simone Barbieri
7f5be3d61a Fix remove/update in new layout instance 2023-10-03 10:42:16 +01:00
Kayla
12be0186b0 minor tweak 2023-10-03 17:40:38 +08:00
Kayla
3d2b017285 minor tweak 2023-10-03 17:32:58 +08:00
Kayla
7cbe5e8f62 docstring tweak and some code twek 2023-10-03 15:39:48 +08:00
Kayla
004a032ed2 Merge branch 'develop' into enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX 2023-10-03 14:00:13 +08:00
Kayla
ae1c98d10c docstring edit for invalid hierarchy in validate rig content 2023-10-03 13:56:23 +08:00
Kayla
a49cacc74f hound 2023-10-03 13:54:37 +08:00
Kayla
4330281688 small bugfix on collect skeleton mesh and minor tweak 2023-10-03 13:53:30 +08:00
Roy Nieterau
7206757c13
Publisher: Refactor Report Maker plugin data storage to be a dict by plugin.id (#5668)
* Refactor plugin data storage to be a dict by plugin.id

+ Fix `_current_plugin_data` type on `__init__`

* Avoid plural when the plugin is singular

* Refactor `_plugin_data_by_plugin_id` to `_plugin_data_by_id`
2023-10-02 18:18:08 +02:00
Jakub Trllo
3328ba321d
AYON Workfiles Tool: Open workfile changes context (#5671)
* change context when opening workfile

* do not call 'set_context' in blender

* removed unused import
2023-10-02 17:01:54 +02:00
Libor Batek
a86b204273
Merge pull request #5438 from ynput/feature/OP-6372-blender-deadline
Blender: Deadline support
2023-10-02 16:37:05 +02:00
Simone Barbieri
35b3006f29 Improved naming for RenderProduct 2023-10-02 15:34:48 +01:00
Simone Barbieri
66fa00157c
Merge branch 'develop' into feature/OP-6372-blender-deadline 2023-10-02 14:51:51 +01:00
Simone Barbieri
8e1f3beff6 Fixed render job environment variables 2023-10-02 12:45:50 +01:00
Simone Barbieri
6b3aa6a247 Added Cycles render passes 2023-10-02 12:45:18 +01:00
Kayla
2850df81b9 fix the over-indented of the namespace function under context manager 2023-10-02 17:52:34 +08:00
Kayla
36aa9dd37d Merge branch 'develop' into enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX 2023-10-02 12:32:30 +08:00
Kayla
0ddf5ffd90 minor tweak & abstract some codes into functions in rig content 2023-10-02 12:29:41 +08:00
Jakub Trllo
baf6945b4d
Merge pull request #5667 from BigRoy/bugfix/publisher_reset_report_maker_memory_leak
Publisher: Fix report maker memory leak + optimize lookups using set
2023-10-01 22:56:07 +02:00
Roy Nieterau
52965a8275 Use set since it's supposed to be unique entries and is used in many lookups 2023-10-01 22:46:51 +02:00
Roy Nieterau
7f5879b0e8 Avoid memory leak - actually clear stored plugins on reset 2023-10-01 22:46:16 +02:00
Kayla
7967e9b0b9 Merge branch 'develop' into enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX 2023-10-01 20:18:10 +08:00
Kayla
64f436a74d hound 2023-10-01 20:17:21 +08:00
Kayla
00131ffd15 refactor the validators for skeletonMesh and use rig validators as abstract class & minor tweak on collectors and settings 2023-10-01 20:15:22 +08:00
github-actions[bot]
f113ddb4ed chore(): update bug report / version 2023-09-30 03:24:56 +00:00
ynbot
ea1028e8ac
[Automated] Merged main into develop 2023-09-30 05:24:32 +02:00
Ynbot
8520a91cc8 [Automated] Bump version 2023-09-30 03:24:20 +00:00
ynbot
33e69dc254
[Automated] Merged develop into main 2023-09-30 05:23:41 +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
f287144616 make sure validators for skeleton mesh are in rig.fbx family 2023-09-29 23:28:39 +08:00
Kayla
bdde5c93c7 Merge branch 'develop' into enhancement/OP-6629_Maya-Export-Rig-Animation-as-FBX 2023-09-29 23:11:47 +08:00
Kayla Man
d83eb73e04
Merge pull request #5623 from ynput/enhancement/OP-6451_Nuke---ExctractReviewDataMov-plugin-with-multiple-format-support
Nuke: Multiple format supports for ExtractReviewDataMov
2023-09-29 23:06:40 +08: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
Kayla
846bd0fd59 make sure there is a check in relative names in namespace before yield function & add docstring 2023-09-29 22:12:02 +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
Jakub Jezek
bafd908483
broken settings fixed by reverting changes form previous PR
https://github.com/ynput/OpenPype/pull/5409
2023-09-29 15:13:17 +02:00
Kayla
08f47c77fd hound 2023-09-29 18:29:58 +08:00
Kayla
37cefd892c abstract namespaced functions for extract fbx animation and add fbx loaders in animatin family 2023-09-29 18:26:58 +08:00