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:
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
+15
-6
@@ -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)
|
||||
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
{0
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
�}q.
|
||||
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user