Fix: img.cache gehört ins Repo (Control-Panel-Bitmaps) + EQ-Koordinatenpfad

img.cache (~378 MB) sind die vor-gerenderten Button-/Status-Bitmaps der
Control-Panels und NICHT regenerierbar (keine PNG-Quellen). Ohne sie bricht das
Panel mit "Failed to get image ..." (z.B. cs_in3_off). Waren versehentlich per
.gitignore ausgeschlossen -> zurück ins Repo.

Zusätzlich: VA_SVG_WINPATH deckt jetzt auch diagram.py ab, damit der EQ nicht auf
negatives Y (außerhalb des Panels) positioniert wird.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
maik
2026-08-20 20:31:13 +02:00
co-authored by Claude Opus 4.8
parent a7c93fa266
commit dbc60c7504
46 changed files with 33 additions and 11 deletions
+1
View File
@@ -0,0 +1 @@
}q.
+15 -6
View File
@@ -51,12 +51,21 @@ except Exception:
# Windows-Pfad, indem mac_names so gesetzt wird, dass os.name='posix' NICHT enthalten ist.
# Aktivieren mit VA_SVG_WINPATH=1.
if os.environ.get('VA_SVG_WINPATH') == '1':
try:
import svg_panel as _sp
_sp.mac_names = '__winpath__'
sys.stderr.write('[launch] VA_SVG_WINPATH=1 -> svg_panel nutzt Windows-Koordinatenpfad\n')
except Exception:
pass
# GUI-Module, deren `mac_names`-Zweige reine Koordinaten/Rendering-Logik sind
# (Mac-Pfad = Y gespiegelt/versetzt -> auf Linux falsch: Fader nicht greifbar,
# EQ-Diagramm auf negatives Y = ausserhalb des Panels). Bewusst NUR GUI-Module -
# die Protokoll-Module (d_protocol, d_keepalive) nutzen mac_names fuer Zeilenenden/
# Serial und werden NICHT angefasst.
_gui_mods = ['svg_panel', 'diagram']
_done = []
for _m in _gui_mods:
try:
__import__(_m)
sys.modules[_m].mac_names = '__winpath__'
_done.append(_m)
except Exception:
pass
sys.stderr.write('[launch] VA_SVG_WINPATH=1 -> Windows-Koordinatenpfad fuer: %s\n' % ', '.join(_done))
if __name__ == '__main__':
frame = one_unit.main_application(sys.argv)
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
{0
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
{0
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
{0
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1
View File
@@ -0,0 +1 @@
}q.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.