Commit graph

664 commits

Author SHA1 Message Date
Thomas Fricard
0a507d2bed fix linting errors 2023-04-12 12:45:40 +02:00
Thomas Fricard
6a276c0fdb set handles or not based on the include handles settings 2023-04-12 12:45:40 +02:00
Thomas Fricard
9392687b15 set framerange with or without handles based on the current task type 2023-04-12 12:45:40 +02:00
Thomas Fricard
b18672d963 set correct framerange and handles when setting context 2023-04-12 12:45:40 +02:00
Thomas Fricard
ea9b997e2b set and collect correct handles 2023-04-12 12:45:39 +02:00
Thomas Fricard
265fec770b add docstrings for get_custom_namespace function 2023-04-07 15:15:53 +02:00
Thomas Fricard
163e01542c create get_custom_namespace function to control the position of the unique index 2023-04-07 15:15:53 +02:00
Thomas Fricard
c38ee97246 refactor custom_namespace and custom_group_name 2023-04-07 15:15:53 +02:00
Thomas Fricard
fc928a1987 change RaiseError to OP LoadError 2023-04-07 15:15:53 +02:00
Thomas Fricard
9cfa795f47 remove 'group_name' from arguments and add it to 'options' dict 2023-04-07 15:15:50 +02:00
Thomas Fricard
cf0debf04b move namespace and group_name logic into for loop 2023-04-07 15:15:32 +02:00
Thomas Fricard
d13fc645e7 adapt custom namespace and group name to new settings + refactoring 2023-04-07 15:14:12 +02:00
Thomas Fricard
6ecaa7dd05 move custom naming logic outside the for loop since it is not dynamic 2023-04-07 15:12:52 +02:00
Thomas Fricard
92a35bc7d2 fix layout 2023-04-07 15:12:52 +02:00
Thomas Fricard
307e57bbfd change variables name for template 2023-04-07 15:12:51 +02:00
Thomas Fricard
8879c8e9e9 remove _ suffix on unique namespace 2023-04-07 15:11:02 +02:00
Thomas Fricard
599af2de23 remove unused import 2023-04-07 15:11:02 +02:00
Thomas Fricard
45f59b4e58 raise value error for wrong namespace format + make namespace unique 2023-04-07 15:11:02 +02:00
Thomas Fricard
1c207b91f4 process custom reference naming for maya 2023-04-07 15:11:02 +02:00
Thomas Fricard
91331acc4a create namespace if it doesn't already exists in maya + replace _ by : in namespace 2023-04-07 15:08:24 +02:00
Roy Nieterau
a93b635618
Maya: Remove pymel dependency (#4724)
* Remove pymel from `validate_no_namespace`

* Refactor `ValidateRigOutputIds` to remove pymel dependency

* Remove pymel dependency

* Fix logic

* Remove pymel dependency

* Remove py

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Opt-out early if possible

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove pymel dependency

* Remove code that should've been removed

* Cosmetics

* Shush hound

* Refactor `get_parent` -> `get_node_parent`

* Fix argument

* Refactor logic for Validate Mesh Arnold Attributes

* Fix load image plane camera transform name

* Merge remote-tracking branch 'upstream/develop' into maya_remove_pymel

# Conflicts:
#	openpype/hosts/maya/plugins/load/load_reference.py
#	openpype/hosts/maya/plugins/publish/collect_review.py

* Fix bug

* Improve labels on messagebox buttons

* Fix repair

* Create empty mesh instead of cube

* Tweak code style based on comments by @fabiaserra

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-04-04 11:23:19 +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
e670ac772d
Merge pull request #4650 from BigRoy/maya_collect_renderlayer_error_fix_4648 2023-04-03 17:54:52 +02:00
Ondřej Samohel
4f0fed10a6
Merge pull request #4460 from tokejepsen/feature/OP-4859_cant-assign-shaders-to-the-ass-file 2023-04-03 16:59:47 +02:00
Jakub Ježek
fa1f70274d
Merge branch 'develop' into maya_collect_renderlayer_error_fix_4648 2023-03-31 22:01:27 +02:00
Jakub Ježek
c0d4ab010a
Merge branch 'develop' into refactor/remove_handles 2023-03-31 21:58:53 +02:00
Jakub Ježek
0e8690e848
Merge branch 'develop' into refactor/cleanup_grammar 2023-03-30 17:59:39 +02:00
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Roy Nieterau
36f1a1103e Fix #4693: Add displayGradient key to allow disabling gradient background 2023-03-30 00:23:43 +02:00
Roy Nieterau
227b5620fb Remove edit_in and edit_out backwards compatibility 2023-03-29 23:58:36 +02:00
Roy Nieterau
d958f989e0 Remove "handles" backwards compatibility 2023-03-29 23:57:35 +02:00
Jakub Ježek
5c2b80d8c7
Merge branch 'develop' into feature/OP-4859_cant-assign-shaders-to-the-ass-file 2023-03-29 22:22:01 +02:00
Roy Nieterau
998d263a72 Merge remote-tracking branch 'upstream/develop' into maya_collect_renderlayer_error_fix_4648 2023-03-21 14:26:11 +01:00
Roy Nieterau
cf6242292e Fix #4648: Fix Collect Render for V-Ray, Redshift and Renderman
- Not entirely sure this is the correct colorspace solution for all renderers. But at least this hotfixes the collecting.
2023-03-17 13:10:44 +01:00
Roy Nieterau
a74e62a482 Merge remote-tracking branch 'upstream/develop' into maya_render_create_no_reset_frame_range 2023-03-16 16:18:16 +01:00
Toke Stuart Jepsen
143cd46ed6 Merge branch 'develop' into feature/OP-4859_cant-assign-shaders-to-the-ass-file
# Conflicts:
#	openpype/hosts/maya/api/lib.py
#	openpype/hosts/maya/tools/mayalookassigner/arnold_standin.py
#	openpype/hosts/maya/tools/mayalookassigner/lib.py
2023-03-16 14:27:29 +00:00
Roy Nieterau
88400b2173 Merge remote-tracking branch 'upstream/develop' into enhancement/unify-set-reset-buttons 2023-03-15 10:40:19 +01:00
Roy Nieterau
182bc4b5e8 Fix #4357: Move Look Assigner tool to maya since it's Maya only 2023-03-14 11:15:02 +01:00
Kayla Man
2bd0b5cb6a
Merge branch 'ynput:develop' into bugfix/OP-3022-Look-publishing-and-srgb-colorspace-in-Maya-2022 2023-03-13 11:38:37 +01:00
Roy Nieterau
e2902e8623 Fix #4109: Unify menu labels for "Set Frame Range" and "Set Resolution" 2023-03-11 20:49:26 +01:00
Roy Nieterau
c3becbffe0 Fix #4429: Do not reset fps or playback timeline on applying or creating render settings 2023-03-11 19:42:14 +01:00
Roy Nieterau
47de52bb03
Merge pull request #4566 from BigRoy/bugfix/maya_vray_set_image_format
Maya: V-Ray Set Image Format from settings
2023-03-11 07:49:52 +01:00
Jakub Trllo
de50783c04
Nuke: Add option to use new creating system in workfile template builder (#4545)
* added option to use new creating system in workfile template builder

* fix spaces

* use 'create' method on create context to trigger creation

* fix attribute access

* adding headless to creators and workfile builder abstraction

* adding noqa for hound

* hound

---------

Co-authored-by: Jakub Jezek <jakubjezek001@gmail.com>
Co-authored-by: Ondřej Samohel <33513211+antirotor@users.noreply.github.com>
2023-03-06 18:34:56 +01:00
Ondřej Samohel
d077ac5b5b
Merge branch 'develop' into bugfix/OP-3022-Look-publishing-and-srgb-colorspace-in-Maya-2022 2023-03-03 16:38:05 +01:00
Roy Nieterau
173ec225eb Set image format 2023-03-03 10:32:05 +01:00
Toke Stuart Jepsen
206bf55a49 Refactor len_flattened 2023-03-02 16:23:30 +01:00
Toke Stuart Jepsen
185623ff70 Set frame range with handles on review instance. 2023-03-02 14:27:33 +01:00
Toke Stuart Jepsen
d770547c29 Get all descendents in collector.
- refactor common code to lib.
2023-03-01 12:21:07 +00:00
Toke Stuart Jepsen
9bd3ff7184 Fix broken lib. 2023-02-24 17:51:24 +00:00
Kayla Man
8bbe10e18d hound fix 2023-02-24 12:49:39 +08:00