Repository navigation
Commit eab2c19
committed
fix(viewer): fly camera disables Genesis default keybinds (W/A/S/D conflict)
Genesis' default_controls bind W/A/S/D (world-frame / camera-rotation / save-image / wireframe), which collide with fly-mode WASD. Genesis only auto-disables default keybinds when the ImGui overlay is on, so without imgui the defaults fired alongside fly movement. Force enable_default_keybinds=False in ViewerOptions whenever fly_camera is on, so fly owns the keyboard regardless of the overlay.1 parent 5be90e8 commit eab2c19
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 | | |
96 | 110 | | |
97 | 111 | | |
| |||
0 commit comments