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

Tests: Fix failing maya automatic test #6235

Merged
merged 1 commit into from
Mar 5, 2024
Merged
Changes from all commits
Commits
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
10 changes: 5 additions & 5 deletions openpype/modules/deadline/plugins/publish/submit_max_deadline.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
replace_with_published_scene_path
)
from openpype.pipeline.publish import KnownPublishError
from openpype.hosts.max.api.lib import (
get_current_renderer,
get_multipass_setting
)
from openpype.hosts.max.api.lib_rendersettings import RenderSettings
from openpype_modules.deadline import abstract_submit_deadline
from openpype_modules.deadline.abstract_submit_deadline import DeadlineJobInfo
from openpype.lib import is_running_from_build
Expand Down Expand Up @@ -294,6 +289,9 @@ def get_plugin_info_through_camera(self, camera):
Args:
infos(dict): a dictionary with plugin info.
"""
from openpype.hosts.max.api.lib import get_current_renderer
from openpype.hosts.max.api.lib_rendersettings import RenderSettings

instance = self._instance
# set the target camera
plugin_info = copy.deepcopy(self.plugin_info)
Expand Down Expand Up @@ -359,6 +357,8 @@ def _use_published_name_for_multiples(self, data, project_settings):
job_info_list (list): A list of multiple job infos
plugin_info_list (list): A list of multiple plugin infos
"""
from openpype.hosts.max.api.lib import get_multipass_setting

job_info_list = []
plugin_info_list = []
instance = self._instance
Expand Down
Loading