initialize and handle missing

This commit is contained in:
2026-02-06 18:57:16 +01:00
parent e303b7349e
commit e442fc9f0f

View File

@@ -81,6 +81,8 @@ class MainPanel(wx.Panel):
self.instance = None
self.camera = None
self.orig_cfg = None
self.pls = pls = Pipelines()
pl_names = [GOOD + n for n in pls.active]
@@ -326,7 +328,7 @@ def check_incoming_cfg(cfg):
def check_outgoing_cfg(cfg):
bkg = cfg["image_background"]
bkg = cfg.get("image_background", None)
cfg["image_background_enable"] = "passive" if bkg else None
cfg["image_threshold"] = None