Commit graph

916 commits

Author SHA1 Message Date
Kayla Man
379674d793 remove the condition with the deprecated environment variable in AYON 2024-01-03 15:27:09 +08:00
Kayla Man
cf29a532d2 make sure the texture only loaded when the texture is being enabled 2024-01-02 22:51:51 +08:00
Kayla Man
7acbef9328 change the args oder in viewport_default_options 2023-12-22 00:35:21 +08:00
Kayla Man
a3f93790f1 repharse the preset pop for panel 2023-12-22 00:07:16 +08:00
Kayla Man
1d4acb7853 hound 2023-12-21 18:33:25 +08:00
Kayla Man
5f309994c3 cosmetic tweaks and code clean up 2023-12-21 18:30:44 +08:00
Roy Nieterau
67a6a1169e
Update openpype/hosts/maya/api/lib.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-12-21 07:41:47 +01:00
Roy Nieterau
f922d3c8f7
Update openpype/hosts/maya/api/lib.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-12-21 07:41:39 +01:00
Roy Nieterau
fa032d5f55 Cosmetis + improve comment 2023-12-20 23:27:20 +01:00
Roy Nieterau
9f543f8929 Remove capture import that's already imported at top 2023-12-20 21:51:08 +01:00
Roy Nieterau
0dd4d7b505 Code cleanup 2023-12-20 21:46:23 +01:00
Kayla Man
4b6e5e29dc add material_loading_mode into enter_context 2023-12-20 23:59:00 +08:00
Kayla Man
8ce8d72c03 add reloadTextures argument back to cmds.ogs 2023-12-20 23:56:40 +08:00
Kayla Man
04f9d4caaa hound 2023-12-20 23:44:40 +08:00
Kayla Man
0ae3ef03d2 refactor the capture and capture preset function 2023-12-20 23:41:39 +08:00
Kayla Man
29876a496e hound 2023-12-20 17:32:27 +08:00
Kayla Man
25e216b0c4 hound 2023-12-20 17:31:31 +08:00
Kayla Man
2f03b61c11 refactor the capture and playblast functions and put them into lib.py 2023-12-20 17:28:58 +08:00
Kayla Man
f9603bb0a5 refactor the capture function and move it to lib 2023-12-19 22:44:18 +08:00
Kayla Man
7dc19ec759 hound 2023-12-15 23:56:55 +08:00
Kayla Man
4e005bfd57 hound 2023-12-15 23:55:46 +08:00
Kayla Man
b7da570878 hound 2023-12-15 23:53:40 +08:00
Kayla Man
9f1ab7519f add exitstack.py into maya api folder & code tweaks 2023-12-15 23:48:05 +08:00
Kayla Man
4648895291 make sure the contextlib.nested used before material loading while it is compatible for both python2 and 3 2023-12-15 23:09:11 +08:00
Kayla Man
28a62bff59 make sure the material loading mode is parallel 2023-12-12 00:15:25 +08:00
Kayla Man
2dda5c7007 Merge branch 'develop' into bugfix/OP-7281_Maya-Review---playblast-renders-without-textures 2023-11-27 18:09:29 +08:00
Milan Kolar
f6723fa157
Merge pull request #5836 from BigRoy/chore/maya_remove_renderlayer_observers 2023-11-24 23:51:23 +01:00
Kayla Man
2d85b5f106 code tweaks on capturing playblast and reloadtexture function 2023-11-24 12:32:15 +08:00
Kayla Man
51f4d8f06f make the reload texture being optional and only enabled when the reloadTextures being enabled 2023-11-23 17:28:08 +08:00
Kayla Man
ba83d4cc2f remove unused variables 2023-11-22 19:05:36 +08:00
Kayla Man
2b98ac1ef2 rename regenerateUVTilePreview as reload_textures 2023-11-22 19:04:20 +08:00
Kayla Man
15923ddf9c move the regenerate uv_tile_preview code right before the capture 2023-11-22 19:02:38 +08:00
Ondřej Samohel
c9a494876f
Merge branch 'develop' into bugfix/maya-cmds-mel-imports 2023-11-22 11:11:01 +01:00
Kayla Man
6074876adf regenerate UV Tile Preview and reload textures during playblasting 2023-11-22 17:29:12 +08:00
Jakub Trllo
40a1dbed3e Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/hosts/blender/plugins/publish/extract_abc.py
#	openpype/hosts/blender/plugins/publish/extract_abc_animation.py
#	openpype/hosts/blender/plugins/publish/extract_blend.py
#	openpype/hosts/blender/plugins/publish/extract_blend_animation.py
#	openpype/hosts/blender/plugins/publish/extract_camera_abc.py
#	openpype/hosts/blender/plugins/publish/extract_camera_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx.py
#	openpype/hosts/blender/plugins/publish/extract_fbx_animation.py
#	openpype/hosts/blender/plugins/publish/extract_layout.py
2023-11-15 18:26:48 +01:00
Roy Nieterau
5d10f7f2dd
Remove global RENDER_ATTRS, refactor to a RenderSettings.get_padding_attr method (#5801)
- Partial cleanup extracted from #3880
2023-11-15 13:15:50 +01:00
Jakub Trllo
58fd1aa8e2 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-15 11:33:20 +01:00
Jakub Trllo
b382b7c776
Chore: Create plugin auto-apply settings (#5908)
* implemented default logic 'apply_settings' to auto-apply values

* added docstring to 'apply_settings'

* replace auto apply settings logic in maya

* add missing quote

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
2023-11-14 14:57:53 +01:00
Jakub Trllo
a28d6d34d2 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier
# Conflicts:
#	openpype/client/server/entities.py
#	openpype/pipeline/context_tools.py
2023-11-13 16:39:09 +01:00
Kayla Man
c05aded1fa
Merge branch 'develop' into bugfix/fbx_animation_extraction_error_out_without_animated_skeleton 2023-11-10 16:04:38 +08:00
Ondrej Samohel
eaf3e1d3f8
🐛 fix broken imports
maya specific imports were moved to specific methods but not in all cases by #5775. This is just quickly restoring functionality without questioning that decision.
2023-11-09 17:07:45 +01:00
Kayla Man
b3649b5c5c improve debug message & use debug instead of info for artist-facing report 2023-11-09 13:29:48 +08:00
Jakub Trllo
67bc4530da Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-08 12:07:35 +01:00
Milan Kolar
17a884de07
Merge pull request #5781 from BigRoy/enhancement/maya_usd_reference_loader_to_native 2023-11-08 08:33:27 +01:00
Jakub Trllo
fc8342751d Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-07 17:40:40 +01:00
Toke Jepsen
f7d76617c0
Testing: Validate Maya Logs (#5775)
* Working version

* Improve launched app communication

* Move imports to methods.

* Update tests/integration/hosts/maya/test_publish_in_maya.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>

* Collect errors from process

* fix startup scripts arguments

* Update openpype/lib/applications.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>

* Fix application polling

* Docstring

* Revert stdout and stderr

* Revert subprocess.PIPE

* Added missed imports

If we are moving these because of testing, lets move all of them

---------

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: kalisp <petr.kalis@gmail.com>
2023-11-07 16:51:54 +01:00
Jakub Trllo
ff8cd30244 Merge branch 'develop' into feature/OP-7176_Use-folder-path-as-unique-identifier 2023-11-02 11:40:01 +01:00
Roy Nieterau
90c8922a8a Remove remaining unused function 2023-10-30 22:54:54 +01:00
Roy Nieterau
246c408ce7 Maya: Remove RenderSetup layer observers that are not needed since new publisher 2023-10-30 22:48:53 +01:00
Jakub Ježek
0cd38b3625
Merge branch 'develop' into bugfix/nuke_template_workfile 2023-10-30 12:33:23 +01:00