Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

General: Reduce usage of legacy io #4723

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
39849a7
General: Connect to AYON server (base) (#3924)
iLLiCiTiT Mar 24, 2023
1316e3b
replace 'legacy_io' with context functions in load plugins
iLLiCiTiT Mar 27, 2023
01ae9f3
added 'get_global_context' to pipeline init
iLLiCiTiT Mar 27, 2023
4546f88
use context getters instead of legacy_io in publish plugins
iLLiCiTiT Mar 27, 2023
beee910
use data on context instead of 'legacy_io' in submit publish job
iLLiCiTiT Mar 27, 2023
77d32b7
skip query of asset docs in collect nuke reads
iLLiCiTiT Mar 27, 2023
b34875c
use context functions on other places
iLLiCiTiT Mar 27, 2023
cde736d
'list_looks' expects project name
iLLiCiTiT Mar 27, 2023
06bbff1
remove 'get_context_title'
iLLiCiTiT Mar 27, 2023
0410a51
don't pass AvalonMongoDB to prelaunch hooks
iLLiCiTiT Mar 27, 2023
a1c985b
change how context is calculated in hiero
iLLiCiTiT Mar 27, 2023
8289730
implemented function 'get_fps_for_current_context' for maya
iLLiCiTiT Mar 27, 2023
19cdffc
initialize '_image_dir' and '_image_prefixes' in init
iLLiCiTiT Mar 27, 2023
6681e78
legacy creator is using 'get_current_project_name'
iLLiCiTiT Mar 27, 2023
8079fd0
fill docstrings
iLLiCiTiT Mar 27, 2023
16e1f12
use context functions in workfile builders
iLLiCiTiT Mar 27, 2023
b028cd4
hound fixes
iLLiCiTiT Mar 27, 2023
3759412
'create_workspace_mel' can expect project settings
iLLiCiTiT Mar 28, 2023
8b9fa2c
swapped order of arguments
iLLiCiTiT Mar 28, 2023
057db1b
use information from instance/context data
iLLiCiTiT Mar 28, 2023
8a56fb1
Use self.project_name in workfiles tool
iLLiCiTiT Mar 28, 2023
17ea073
Remove outdated todo
iLLiCiTiT Mar 28, 2023
4ff2b71
don't query project document in nuke lib
iLLiCiTiT Mar 28, 2023
c036d76
Fix access to context data
iLLiCiTiT Mar 28, 2023
a0c409b
Use right function to get project name
iLLiCiTiT Mar 28, 2023
bc18caf
fix submit max deadline and swap order of arguments
iLLiCiTiT Mar 28, 2023
61a26d9
added 'get_context_label' to nuke
iLLiCiTiT Mar 28, 2023
8fa2bb7
fix import
iLLiCiTiT Mar 28, 2023
63bdf7b
fix typo 'curent_context' -> 'current_context'
iLLiCiTiT Mar 28, 2023
7b4113a
fix project_setting variable
iLLiCiTiT Mar 28, 2023
fc49d4a
fix submit publish job environments
iLLiCiTiT Mar 28, 2023
4fd2727
use task from context
iLLiCiTiT Mar 28, 2023
ae2c058
Removed unused import
iLLiCiTiT Mar 28, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
swapped order of arguments
  • Loading branch information
iLLiCiTiT committed Apr 3, 2023
commit 8b9fa2c972f3418300dcd2854e74122d5d29ca1a
4 changes: 2 additions & 2 deletions openpype/hosts/aftereffects/plugins/publish/collect_render.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def get_instances(self, context):
if is_local:
# for local renders
instance = self._update_for_local(
project_settings, instance, project_entity
instance, project_entity, project_settings
)
else:
fam = "render.farm"
Expand Down Expand Up @@ -213,7 +213,7 @@ def _get_output_dir(self, render_instance):
# for submit_publish_job
return base_dir

def _update_for_local(self, project_settings, instance, project_entity):
def _update_for_local(self, instance, project_entity, project_settings):
"""Update old saved instances to current publishing format"""
instance.stagingDir = tempfile.mkdtemp()
instance.projectEntity = project_entity
Expand Down
4 changes: 2 additions & 2 deletions openpype/hosts/max/plugins/publish/extract_pointcloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def export_particle(self,
job_args.append(mode)

additional_args = self.get_custom_attr(
point_cloud_settings, operator)
operator, point_cloud_settings)
for args in additional_args:
job_args.append(args)

Expand Down Expand Up @@ -133,7 +133,7 @@ def get_operators(self, container):

return opt_list

def get_custom_attr(self, point_cloud_settings, operator):
def get_custom_attr(self, operator, point_cloud_settings):
"""Get Custom Attributes"""

custom_attr_list = []
Expand Down