Commit graph

89 commits

Author SHA1 Message Date
Jakub Trllo
6196ded1a9
Chore: Python 2 support fix (#5375)
* remove f-string formatting

* added python 2 compatible click into python 2 vendor
2023-08-01 10:46:59 +02:00
Milan Kolar
93260948bf
Merge pull request #5297 from tokejepsen/bugfix/maya_include_disabled_plugins 2023-07-27 09:55:53 +02:00
Milan Kolar
0b58144f2c
Merge pull request #5303 from tokejepsen/bugfix/maya_creators_apply_settings 2023-07-27 09:14:43 +02:00
Toke Stuart Jepsen
70f97b2738 Fix get_pre_create_attr_defs query 2023-07-22 09:24:21 +01:00
Toke Stuart Jepsen
484108cb81 Fix MayaHiddenCreator 2023-07-21 14:59:56 +01:00
Jakub Trllo
464e621880 implemented base classes of auto creator and hidden creator for maya 2023-07-20 15:53:00 +02:00
Jakub Trllo
8c73d22d27 extracted common logic to 'MayaCreatorBase' 2023-07-20 15:51:12 +02:00
Toke Stuart Jepsen
16a9e707d8 Apply project settings to creators 2023-07-14 11:34:42 +01:00
Roy Nieterau
f58994d59c Loader: Remove context argument from Loader.__init__() (#4602)
* Remove Loader `context` argument to __init__

* Add backwards compatibility for Loader.load by still setting `.fname` attr

* Refactor/remove usage of `self.fname` in loaders

* Fix some refactoring

* Fix some refactoring

* Hound

* Revert invalid refactor

* Fix refactor

* Fix playblast panel collection

* Refactor missing method

* Fix typo

* Use the correct `context`

---------

Co-authored-by: Toke Stuart Jepsen <tokejepsen@gmail.com>
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
2023-07-11 17:48:33 +02:00
Ondrej Samohel
92d18eb970
🔀 Merge remote-tracking branch 'origin/develop' into maya_new_publisher 2023-07-11 15:58:18 +02:00
Roy Nieterau
c14255da22 Remove unused import 2023-06-30 23:21:33 +02:00
Ondrej Samohel
4b12f49dd6
🔀 Merge remote-tracking branch 'origin/develop' into maya_new_publisher 2023-06-30 14:24:33 +02:00
Roy Nieterau
67f012e441 Fix typo + cosmetics 2023-06-12 16:03:26 +02:00
Roy Nieterau
c940b82fb9 Merge branch 'develop' of https://github.com/pypeclub/OpenPype into enhancement/maya_template
# Conflicts:
#	openpype/hosts/maya/api/lib.py
2023-06-12 15:46:13 +02:00
Roy Nieterau
dfaad2d1df Allow conversion from legacy renderlayer singleton instances 2023-05-30 20:08:54 +02:00
Jakub Trllo
9e9a9bd5e6 Merge branch 'develop' into maya_new_publisher
# Conflicts:
#	openpype/hosts/maya/api/lib.py
#	openpype/plugins/publish/collect_scene_version.py
2023-05-26 12:36:03 +02:00
Toke Stuart Jepsen
544c043ece Merge branch 'develop' into maya_new_publisher
# Conflicts:
#	openpype/hosts/maya/api/lib.py
#	openpype/hosts/maya/api/plugin.py
#	openpype/hosts/maya/plugins/create/create_animation.py
#	openpype/hosts/maya/plugins/create/create_review.py
#	openpype/hosts/maya/plugins/load/load_reference.py
#	openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
2023-05-16 10:23:11 +01:00
Seyedmohammadreza Hashemizadeh
8ffe7f5552 fix function call 2023-05-15 16:27:03 +02:00
Seyedmohammadreza Hashemizadeh
2514709977 use custom namespace for animation instance 2023-05-15 15:46:20 +02:00
Toke Stuart Jepsen
f6c32300c2 Log warning when using plugin methods. 2023-04-21 10:32:26 +01:00
Toke Stuart Jepsen
b253e4366d Remove methods from plugin.py 2023-04-20 09:07:47 +01: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
3cb3641113 Be more explicit about the flattened creator attributes data structure 2023-04-06 20:23:26 +02:00
Roy Nieterau
3b2dce759c Use base class for Renderlayer linked creators 2023-04-06 17:55:07 +02:00
Roy Nieterau
49b2b657a4
Cleanup code from review suggestions
Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
2023-03-21 17:27:08 +01:00
Roy Nieterau
791c7deeb5
Update openpype/hosts/maya/api/plugin.py
Co-authored-by: Fabià Serra Arrizabalaga <fabia.serra92@gmail.com>
2023-03-21 17:20:19 +01:00
Roy Nieterau
9de0a81685 Merge remote-tracking branch 'upstream/develop' into maya_new_publisher
# Conflicts:
#	openpype/hosts/maya/plugins/create/create_animation.py
#	openpype/hosts/maya/plugins/create/create_arnold_scene_source.py
#	openpype/hosts/maya/plugins/create/create_pointcache.py
#	openpype/hosts/maya/plugins/create/create_render.py
#	openpype/hosts/maya/plugins/create/create_review.py
#	openpype/hosts/maya/plugins/create/create_vrayproxy.py
#	openpype/hosts/maya/plugins/create/create_xgen.py
#	openpype/hosts/maya/plugins/publish/extract_xgen_cache.py
#	openpype/hosts/maya/plugins/publish/validate_maya_units.py
#	openpype/hosts/maya/plugins/publish/validate_mesh_has_uv.py
#	openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
#	openpype/modules/deadline/plugins/publish/submit_maya_remote_publish_deadline.py
2023-03-18 10:38:32 +01:00
Toke Stuart Jepsen
926f23d392 Fix updating 2023-02-01 20:57:53 +00:00
Roy Nieterau
4f633aa5a4 Ignore cbId attribute on read 2023-02-01 01:12:17 +01:00
Toke Stuart Jepsen
ab0e3fab01 BigRoy feedback 2023-01-31 17:47:12 +00:00
Roy Nieterau
c895b09668 Implement data persistence for renderlayers 2023-01-30 11:15:36 +01:00
Roy Nieterau
082b6736eb Remove unused import 2023-01-27 02:02:59 +01:00
Roy Nieterau
4ed04c5baf Remove unused imports 2023-01-27 01:06:10 +01:00
Roy Nieterau
fa6f813ce1 Fix accidental comment 2023-01-27 01:06:01 +01:00
Roy Nieterau
ae2a1b22c4 Fix creator identifier 2023-01-27 01:05:10 +01:00
Roy Nieterau
b67018a2a4 Default use selection to True 2023-01-27 00:20:34 +01:00