diff --git a/pype/plugins/maya/publish/extract_camera_mayaScene.py b/pype/plugins/maya/publish/extract_camera_mayaScene.py index 8fce48badf..a01c5885b0 100644 --- a/pype/plugins/maya/publish/extract_camera_mayaScene.py +++ b/pype/plugins/maya/publish/extract_camera_mayaScene.py @@ -102,6 +102,7 @@ class ExtractCameraMayaScene(pype.api.Extractor): def process(self, instance): """Plugin entry point.""" # get settings + # TODO: load all settings directly, rather than passing them through context ext_mapping = instance.context.data["presets"]["maya"].get("ext_mapping") # noqa: E501 if ext_mapping: self.log.info("Looking in presets for scene type ...") diff --git a/pype/scripts/otio_burnin.py b/pype/scripts/otio_burnin.py index 0bd636c6c5..dfa94adf1f 100644 --- a/pype/scripts/otio_burnin.py +++ b/pype/scripts/otio_burnin.py @@ -428,13 +428,6 @@ def burnins_from_data( } """ - # Use legacy processing when options are not set - # TODO: remove legacy review - if options is None or burnin_values is None: - presets = config.get_presets().get("tools", {}).get("burnins", {}) - options = presets.get("options") - burnin_values = presets.get("burnins") or {} - burnin = ModifiedBurnins(input_path, options_init=options) frame_start = data.get("frame_start")