Commit graph

1966 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
c3651da644 remove with_handles options in project settings 2023-04-12 12:45:40 +02:00
Thomas Fricard
56e93cd339 add with_handles attribute and calculate handles 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
73c2ef6d56 add group_name argument to process_reference method 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
e88288c53a add group_name argument to process_reference method for ReferenceLoader subclasses 2023-04-07 15:12:47 +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
b3d62c5174 remove create namespace if it doesn't exsits 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
6ceb7ef8b3 reset group name variable as before 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
fe5853fcf1
Fix Py2 support - attr dataclass must be new style class (#4808) 2023-04-06 16:12:34 +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
38200c9353
Merge pull request #4720 from BigRoy/refactor/maya_collect_review_cleanup 2023-04-03 17:57:05 +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
Ondřej Samohel
9f61b72546
Merge pull request #4649 from tokejepsen/feature/OP-3926_gpu-cache 2023-04-03 16:48:38 +02:00
Toke Jepsen
12084d1f9e
Maya: Validate Render Settings. (#4735)
* Fixes error message when using attribute validation

* BigRoy feedback

* Failsafe for empty values.

---------

Co-authored-by: Jakub Ježek <jakubjezek001@gmail.com>
2023-04-03 14:09:51 +02:00
Toke Jepsen
e218fb4b6d
Update openpype/hosts/maya/plugins/publish/extract_gpu_cache.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-04-03 12:58:28 +01: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
dbb12ca165
Merge branch 'develop' into refactor/maya_collect_review_cleanup 2023-03-31 21:58:27 +02:00
Toke Stuart Jepsen
b17f5218fe Hound 2023-03-31 19:42:50 +01:00
Toke Stuart Jepsen
dd6dedffe3 Merge branch 'feature/OP-4859_cant-assign-shaders-to-the-ass-file' of https://github.com/tokejepsen/pype into feature/OP-4859_cant-assign-shaders-to-the-ass-file 2023-03-31 19:41:39 +01:00
Toke Stuart Jepsen
e244778b3a Log 2023-03-31 19:41:22 +01:00
Toke Jepsen
89f9003c91
Update openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py 2023-03-31 19:31:54 +01:00
Toke Stuart Jepsen
7b17e1d461 Merge branch 'feature/OP-4859_cant-assign-shaders-to-the-ass-file' of https://github.com/tokejepsen/pype into feature/OP-4859_cant-assign-shaders-to-the-ass-file 2023-03-31 17:53:40 +01:00
Toke Stuart Jepsen
90113168cf Doc string for shading_engine_assignments 2023-03-31 17:53:32 +01:00
Toke Jepsen
26d1c8df55
Update openpype/hosts/maya/plugins/publish/extract_arnold_scene_source.py
Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-03-31 17:25:19 +01:00
Toke Stuart Jepsen
7fb5242fca Merge branch 'develop' into feature/OP-3926_gpu-cache
# Conflicts:
#	openpype/settings/defaults/project_settings/maya.json
#	openpype/settings/entities/schemas/projects_schema/schemas/schema_maya_publish.json
2023-03-31 16:20:08 +01:00
Roy Nieterau
74f73969ad
Remove "preview" data from representation (#4759)
* Remove "preview" data from representation

* pop "preview" from component in standalone publisher

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-31 17:08:58 +02:00
Jakub Ježek
d933917a53
Merge branch 'develop' into refactor/cleanup_grammar 2023-03-31 14:28:22 +02:00
Jakub Ježek
4fee255813
Merge branch 'develop' into maya_extract_look_tx_colorspace 2023-03-31 14:15:57 +02:00
Roy Nieterau
6d4e01dad5
Update openpype/hosts/maya/plugins/publish/collect_review.py
Co-authored-by: Toke Jepsen <tokejepsen@gmail.com>
2023-03-31 12:55:11 +02:00