* 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>
* OP-6345 - updated logic to return path and comp for FootageItem
Used later to check existance of file in published comps
* OP-6345 - added validator if footage files exist
Comp could contain multiple FootageItems, eg imported file(s). If file is missing render triggered by jsx fails silently.
* OP-6345 - updated extension
* OP-6345 - small updates after testing
* OP-6345 - fix - handle Solid Footage items
JSX failed silently on Solid item as it doesn't have any `.file`
* OP-6345 - enhance documentation
* OP-6345 - remove optionality
This plugin shouldn't be optional as when needed and skipped it result in really weird behavior.
* OP-6345 - updated documentation
Added missing plugins.
* OP-6345 - missed functionality for optionality
* OP-6345 - removed unneeded import
* OP-6763 - refresh all visible for Flatten image
Previously newly added layers were missing.
* OP-6763 - added explicit image collector
Creator was adding 'layer' metadata from workfile only during collect_instances, it was missing for newly added layers. This should be cleaner approach
* OP-6763 - removed unnecessary method overwrite
Creator is not adding layer to instance, separate collector created.
* OP-6763 - cleanup of names
Was failing when template for subset name for image family contained {layer}
* OP-6763 - cleanup, removed adding layer metadata
Separate collector created, cleaner.
Fixed propagation of mark_for_review
* OP-6763 - using members instead of layer data
Members should be more reliable.
* OP-6763 - updated image from Settings
Explicit subset name template was removed some time ago as confusing.
* OP-6763 - added explicit local plugin
Automated plugin has different logic, local would need to handle if auto_image is disabled by artist
* OP-6763 - Hound
* OP-6345 - fix - review for image family
Image family instance contained flattened content. Now it reuses previously extracted file without need to re-extract.
* OP-6358 - allow not creation of group for reference loader in Maya
Creation of wrapping group could be controlled by checkbox in ReferenceLoader options.
* OP-6358 - group name could be empty in Settings
This enables default behavior of not creating wrapping group without need of artists unchecking `Group imported assets`.
* OP-6358 - changed to safer logic
Stripping of | was weird and potentially dangerous (collision of names), this logic should be safer.