- InputMap-Actions mit physischen KEY_*-Codes (shortcut_keys.gd, idempotent) — DE-Layout/Windows-unabhängig - Freelook: RMT halten = Umsehen+Flug (WASD/EQ, Shift x3, Alt x0.3, Rad = Grundtempo dauerhaft), Shift+F toggle; Orbit bleibt Default, Flug-Exit ohne Kamera-Sprung (FlyMath pure) - F zentriert Auswahl (SelectionMath.focus_center); Esc = pure Prioritätskette (ShortcutPolicy) - Strg+LMB + Baum SELECT_MULTI: Mehrfachauswahl synchron Szene↔Baum; Entf/Strg+D wirken auf die ganze Auswahl (EIN Undo-Schritt) - docs/tasten.md = deutsche Source of truth (Karten 2/3 ergänzen) - Tests: test_shortcuts.gd NEU 70 Checks, Suite 571 grün, Builder-Export 21/0, Parse-Check grün
19 lines
No EOL
668 B
Bash
19 lines
No EOL
668 B
Bash
#!/bin/bash
|
|
# Parse-Check der Shortcuts-1-Karte (t_c46d31c2): alle geänderten/neuen Scripts.
|
|
cd "$(dirname "$0")/.."
|
|
GODOT=~/bin/godot4
|
|
fail=0
|
|
for f in src/ui/main.gd src/viewport/orbit_camera.gd src/editor/shortcut_keys.gd \
|
|
src/editor/fly_math.gd src/editor/shortcut_policy.gd \
|
|
src/editor/selection_math.gd src/editor/interaction.gd src/editor/object_ops.gd \
|
|
tests/test_shortcuts.gd tests/test_ux.gd; do
|
|
out=$("$GODOT" --headless --path . --check-only --script "res://$f" 2>&1 | grep -iv "godot engine\|^$" || true)
|
|
if [ -n "$out" ]; then
|
|
echo "FAIL $f:"
|
|
echo "$out"
|
|
fail=1
|
|
else
|
|
echo "OK $f"
|
|
fi
|
|
done
|
|
exit $fail |