diff --git a/pype/hosts/harmony/__init__.py b/pype/hosts/harmony/__init__.py index 7ea261292e..390ede39d9 100644 --- a/pype/hosts/harmony/__init__.py +++ b/pype/hosts/harmony/__init__.py @@ -9,7 +9,7 @@ import avalon.tools.sceneinventory import pyblish.api from pype import lib -from pype.api import config +from pype.api import (get_current_project_settings) def set_scene_settings(settings): @@ -48,12 +48,13 @@ def get_asset_settings(): "resolutionWidth": resolution_width, "resolutionHeight": resolution_height } + settings = get_current_project_settings() try: skip_resolution_check = \ - config.get_presets()["harmony"]["general"]["skip_resolution_check"] + settings["harmony"]["general"]["skip_resolution_check"] skip_timelines_check = \ - config.get_presets()["harmony"]["general"]["skip_timelines_check"] + settings["harmony"]["general"]["skip_timelines_check"] except KeyError: skip_resolution_check = [] skip_timelines_check = [] diff --git a/pype/settings/defaults/project_settings/harmony.json b/pype/settings/defaults/project_settings/harmony.json index 5eca4f60eb..83d63d3392 100644 --- a/pype/settings/defaults/project_settings/harmony.json +++ b/pype/settings/defaults/project_settings/harmony.json @@ -1,7 +1,7 @@ { "publish": {}, "general": { - "skip_resolution_check": false, - "skip_timelines_check": false + "skip_resolution_check": [], + "skip_timelines_check": [] } } \ No newline at end of file diff --git a/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_harmony.json b/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_harmony.json index 791a08cb8d..92ad39ac2c 100644 --- a/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_harmony.json +++ b/pype/tools/settings/settings/gui_schemas/projects_schema/schema_project_harmony.json @@ -19,14 +19,16 @@ "label": "General", "children": [ { - "type": "boolean", + "type": "list", "key": "skip_resolution_check", - "label": "Skip Resolution Check" + "object_type": "text", + "label": "Skip Resolution Check for Tasks" }, { - "type": "boolean", + "type": "list", "key": "skip_timelines_check", - "label": "Skip Timeliene Check" + "object_type": "text", + "label": "Skip Timeliene Check for Tasks" } ] }