mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
remove legacy preset loading
This commit is contained in:
parent
27fbe814f5
commit
c8c6902ae8
2 changed files with 1 additions and 7 deletions
|
|
@ -102,6 +102,7 @@ class ExtractCameraMayaScene(pype.api.Extractor):
|
||||||
def process(self, instance):
|
def process(self, instance):
|
||||||
"""Plugin entry point."""
|
"""Plugin entry point."""
|
||||||
# get settings
|
# 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
|
ext_mapping = instance.context.data["presets"]["maya"].get("ext_mapping") # noqa: E501
|
||||||
if ext_mapping:
|
if ext_mapping:
|
||||||
self.log.info("Looking in presets for scene type ...")
|
self.log.info("Looking in presets for scene type ...")
|
||||||
|
|
|
||||||
|
|
@ -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)
|
burnin = ModifiedBurnins(input_path, options_init=options)
|
||||||
|
|
||||||
frame_start = data.get("frame_start")
|
frame_start = data.get("frame_start")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue