diff options
| author | Christian Kolset <christian.kolset@gmail.com> | 2026-06-03 17:11:41 -0600 |
|---|---|---|
| committer | Christian Kolset <christian.kolset@gmail.com> | 2026-06-03 17:11:41 -0600 |
| commit | a3ff221496f58d67ac962bfa6d011cc3e9d6ad3d (patch) | |
| tree | a1cd6d27d61abef12f3d2727aecf3f17e7d583cc /plugins/motion_capture/camera_panel.py | |
| parent | 7f80e836029dfd3d81ffe92593d6ccb7769298e3 (diff) | |
Fix virtual channels not appearing in Plot Builder
Root cause: PlotWindow deepcopied _chart._cfg on init, so refresh_channels()
operated on a stale copy. Also, when _win_plot was None, _on_derived_changed
did nothing to prepare the config for when it opened.
Fix:
- refresh_channels() now owns the derived-pane sync: adds panes for new
virtual channels (updating BSP tree), removes panes for deleted ones
- _open_plot always passes current _chart._cfg reference then calls
refresh_channels() so derived panes sync on every open
- _on_derived_changed syncs cfg reference before calling refresh_channels()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'plugins/motion_capture/camera_panel.py')
0 files changed, 0 insertions, 0 deletions
