Commit graph

454 commits

Author SHA1 Message Date
Roy Nieterau
b05afaa837
Global: Optimize anatomy formatting by only formatting used templates instead (#4784)
* TemplatesDict can create different type of template

* anatomy templates can be formatted on their own

* return objected templates on get item

* '_rootless_path' is public classmethod 'rootless_path_from_result'

* 'AnatomyStringTemplate' expect anatomy templates

* remove key getters

* fix typo 'create_ojected_templates' -> 'create_objected_templates'

* Fix type of argument

* Fix long line

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Optimize formatting to use single template formatting instead of formatting full anatomy

* Use format strict + code cosmetics

* Get template from the formatted data

* Update openpype/plugins/publish/integrate_legacy.py

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

* Cosmetics

* Move template obj definition for path up + rename to `path_template_obj`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

* Refactor more cases from `anatomy.format` to template obj `.format_strict`

---------

Co-authored-by: Jakub Trllo <jakub.trllo@gmail.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-04-17 14:53:15 +02:00
Milan Kolar
bbb62e8d2c
Merge pull request #4832 from tokejepsen/bugfix/OP-5566_Tile-rendering-still-not-working 2023-04-13 22:36:51 +02:00
Toke Stuart Jepsen
1663a309a6 Fix tile rendering 2023-04-12 12:06:54 +01:00
Roy Nieterau
25295c8677 Merge remote-tracking branch 'upstream/develop' into deadline_remove_framespertask
# Conflicts:
#	openpype/modules/deadline/plugins/publish/submit_max_deadline.py
2023-04-06 11:38:28 +02:00
Roy Nieterau
aaa991ac81 Merge remote-tracking branch 'upstream/develop' into deadline_remove_framespertask
# Conflicts:
#	openpype/modules/deadline/plugins/publish/submit_max_deadline.py
2023-04-06 11:36:46 +02:00
Toke Stuart Jepsen
3b680e2afa Replace hardcode with find_root_template_from_path 2023-04-04 12:58:07 +01:00
Jakub Ježek
0bd74df421
Merge branch 'develop' into feature/OP-5372_Nuke-Deadline-job-with-suspended-publishing 2023-04-04 11:56:55 +02:00
Roy Nieterau
5b163fe84d
Apply suggestions from code review
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
2023-03-30 22:40:44 +02:00
Roy Nieterau
3fae1f8521 Just some grammar tweaks 2023-03-30 13:59:22 +02:00
Jakub Jezek
9fbd84b0ee
nuke, dl: returning suspende_publish attribute 2023-03-27 11:36:48 +02:00
Kayla Man
3d787c3c0b Merge branch 'develop' into enhancement/OP-5227_3dsmax-render-instance-settings 2023-03-25 21:29:17 +08:00
Jakub Jezek
f5117f4593
celaction: fixes after testing 2023-03-23 14:28:05 +01:00
Roy Nieterau
afd6faffc3
Update openpype/modules/deadline/plugins/publish/submit_max_deadline.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-03-21 17:53:04 +01:00
Kayla Man
fc7f43c301 Merge branch 'develop' into enhancement/OP-5227_3dsmax-render-instance-settings 2023-03-21 19:24:07 +08:00
Kayla Man
a24dcd207c renaming chunksize variablesd 2023-03-21 18:53:12 +08:00
Jakub Ježek
a2f56b7921
Merge pull request #4623 from ynput/bugfix/nuke-deadline-submitter 2023-03-21 11:37:47 +01:00
Kayla Man
828f59bfb5 clean up attributes 2023-03-21 16:37:58 +08:00
Kayla Man
6bdca1561b clean up the duplicate attributes for pool settings 2023-03-21 16:00:29 +08:00
Kayla Man
6c18822364 hound fix 2023-03-21 15:56:15 +08:00
Kayla Man
d8441216e4 move the pool settings into the pool collectors 2023-03-21 15:55:07 +08:00
Kayla Man
c48fddbba3 cosmetic issue fix 2023-03-21 15:45:01 +08:00
Kayla Man
2af4c94e2c move the pool settings into the pool collectors 2023-03-21 15:43:45 +08:00
Kayla Man
fb6bc696f8 cosmetic issue fix 2023-03-20 23:54:16 +08:00
Kayla Man
36db7faab4 only allows user to set up the attributes in publish tab 2023-03-20 23:51:49 +08:00
Kayla Man
507941c208 use apply_settings 2023-03-20 18:36:36 +08:00
Kayla Man
7baa5754e0 cosmetic issue fix 2023-03-20 18:09:39 +08:00
Kayla Man
fff1e3f0c1 cosmetic fix and add optional for 3dsmax deadline submission 2023-03-20 18:08:51 +08:00
Kayla Man
d24c4e03dd 3dsmax: render instance settings in creator 2023-03-20 17:56:50 +08:00
Roy Nieterau
0cd7ddcef4 Remove setting of ChunkSize from instance data since CollectRender actually applies it through "renderGlobals" 2023-03-19 13:26:57 +01:00
Roy Nieterau
5ebca028ee Remove FramesPerTask as Deadline job info submission
- `FramesPerTask` does not exist and should be `ChunkSize` which is also set.
2023-03-19 13:25:22 +01:00
Milan Kolar
25edaa76f7
Merge pull request #4416 from tokejepsen/bugfix/OP-4820_maya_tile_assembly_fail_in_draft 2023-03-17 22:57:39 +01:00
mre7a
0cb3585d91
Resolve missing OPENPYPE_MONGO in deadline global job preload (#4484)
* replace SpawnProcess with subprocess

* clean up

* replace spawn process with run process

---------

Co-authored-by: Seyedmohammadreza Hashemizadeh <shashemizadeh@ws101.prs.vfx.int>
2023-03-15 12:55:50 +01:00
Toke Stuart Jepsen
ba305ee30f Merge branch 'bugfix/OP-4820_maya_tile_assembly_fail_in_draft' of https://github.com/tokejepsen/pype into bugfix/OP-4820_maya_tile_assembly_fail_in_draft 2023-03-14 14:54:27 +00:00
Toke Stuart Jepsen
32b42a5043 Merge branch 'develop' into bugfix/OP-4820_maya_tile_assembly_fail_in_draft
# Conflicts:
#	openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
#	website/docs/module_deadline.md
2023-03-14 14:53:51 +00:00
Toke Jepsen
f1b39494be
Update openpype/modules/deadline/plugins/publish/submit_maya_deadline.py
Co-authored-by: Kayla Man <64118225+moonyuet@users.noreply.github.com>
2023-03-14 14:50:15 +00:00
Jakub Jezek
1e458d6d1d
global and nuke: farm publishing workflow fixes 2023-03-14 14:44:29 +01:00
Jakub Jezek
24a22e964a
Nuke: fix families mixing up with old way. 2023-03-13 16:27:33 +01:00
Roy Nieterau
99fd03d2d3 Merge remote-tracking branch 'upstream/develop' into fusion-new-publisher 2023-03-06 16:16:00 +01:00
Jakub Ježek
a75c1bb172
Merge pull request #4519 from ynput/bugfix/OP-4932_Nuke-chunk-size-is-not-propagated-from-DL-setting-to-Nuke-Publisher
Nuke: creator farm attributes from deadline submit plugin settings
2023-03-03 12:13:43 +01:00
Toke Stuart Jepsen
d827ffa8fb Use publish pool for tile jobs. 2023-03-02 14:48:18 +01:00
Toke Stuart Jepsen
db98f65b43 Fix publish pool and secondary. 2023-03-02 14:48:18 +01:00
Toke Stuart Jepsen
91685e3d1f Move AOV code to host agnostic. 2023-03-02 11:06:47 +00:00
Toke Stuart Jepsen
a3508b1412 Fix _get_representations 2023-03-02 08:18:47 +00:00
Toke Stuart Jepsen
4f94a4454a Only run Maya specific code in Maya. 2023-03-01 16:02:12 +00:00
Toke Stuart Jepsen
8a565534c5 Merge branch 'develop' into bugfix/OP-4820_maya_tile_assembly_fail_in_draft 2023-02-28 18:43:24 +00:00
Jakub Trllo
2839e775e4
Deadline: Hint to use Python 3 (#4518)
* add shebank for python 3
2023-02-27 18:55:23 +01:00
Jakub Ježek
df0090816d
Merge branch 'develop' into bugfix/OP-4932_Nuke-chunk-size-is-not-propagated-from-DL-setting-to-Nuke-Publisher 2023-02-27 15:30:36 +01:00
Jakub Jezek
e444ab3f5e
hound comments 2023-02-27 15:16:27 +01:00
Jakub Jezek
557ce7c016
Nuke, Deadline: moving to module plugin centric approach 2023-02-27 15:08:03 +01:00
Jacob Danell
245e9944cd Merge remote-tracking branch 'BigRoy/fusion_new_publisher' into fusion-new-publisher
Merge BoyRoys PR with latest OP dev-branch
2023-02-23 19:14:16 +01:00