Commit Graph

64 Commits

Author SHA1 Message Date
Thaddeus Crews e380a41752 Style: Add class_db.h includes explicitly 2026-02-26 15:50:28 -06:00
Max Aller d66c9cfeba Fix game speed UI not resetting when game is restarted
_reset_time_scales() has a visibility guard that was originally needed
to prevent resets on session start. After 4e06e305bf scoped the call to
only run when all sessions end, the guard is unnecessary and prevents
the speed state from being properly reset.

Replace is_visible_in_tree() with an is_inside_tree() guard on the UI
update only, to avoid theme access warnings while still allowing the
state reset when the Game tab is not active.

Also includes a fix to the reset-to-1.0x button, which will now always be
disabled if the speed is already 1.0x.

Fixes #115400.
2026-02-22 18:40:32 -08:00
kobewi f7b9703cbd Use actual class names in resource type hints 2026-01-29 21:07:56 +01:00
Michael Alexsander 6862edcede Move RuntimeNodeSelect to its own files 2026-01-29 11:02:25 -03:00
Thaddeus Crews 5853d99984 Merge pull request #114930 from KoBeWi/if_it's_runnable_can_it_run_doom
Move runnable out of export preset
2026-01-28 17:58:25 -06:00
Saulo-de-Souza 0bca218e01 Editor: Remove duplicate 2026-01-28 15:52:23 -03:00
Nintorch eb019511ed Optimize files that #include input.h header 2026-01-28 14:21:00 +05:00
onequid e5a7fdbfd5 Ensure debug features get cleared 2026-01-19 14:05:21 +08:00
Pāvels Nadtočajevs c3bef1b83f Split EmbeddedProcess::reset to allow stopping timers without full reset. 2026-01-15 11:19:43 +02:00
kobewi 91cc70f280 Move runnable out of export preset 2026-01-13 19:32:33 +01:00
Michael Alexsander 4e06e305bf Fix speed being reset when it shouldn't in the game editor 2026-01-13 15:00:25 -03:00
Rémi Verschelde 5543be106e Merge pull request #114862 from passivestar/table-spacing
Improve spacing in trees showing table data in modern theme
2026-01-12 09:23:17 +01:00
passivestar 6f0bd2efb9 Improve spacing in trees showing table data in modern theme 2026-01-12 00:01:49 +04:00
arkology 993d28c2cf Fix gray bar of embed game window in Windows 2026-01-11 11:14:07 +03:00
Rémi Verschelde 7552bbf80d Merge pull request #114571 from passivestar/interaction-colors
Improve interaction feedback in modern theme
2026-01-05 11:45:22 +01:00
xuhuisheng 75446fc4d0 Fix switch to GameView when closing game window 2026-01-05 11:09:43 +01:00
passivestar 411c47f87e Improve interaction feedback in modern theme 2026-01-04 00:11:03 +04:00
Rémi Verschelde 5a0026ba6e Merge pull request #112210 from Giganzo/hover-game-speed
Fix hover state for game speed button in game window
2025-12-18 23:31:00 +01:00
Thaddeus Crews 08e6cd181f Merge pull request #113915 from ydeltastar/game-view-node-lock
Prevent locked and child nodes of selection groups from being selected in the Game view
2025-12-12 14:15:12 -06:00
ydeltastar a92851c517 Add options to prevent selection of locked or child nodes of selection groups in the Game view 2025-12-12 14:22:48 -03:00
Michael Alexsander 5246b5fba9 Add leftover scroll hints, and panels for scrollables without hints 2025-12-12 10:59:03 -03:00
Thaddeus Crews 52d259d654 Merge pull request #113835 from passivestar/movie-maker-hover
Add missing hover indication to movie maker button
2025-12-10 18:10:35 -06:00
passivestar 3904c60507 Add missing hover indication to movie maker button 2025-12-10 11:04:25 +04:00
cpl-s-matsuyama 0baa47bb53 Fix crash on quit when settings_changed signal is emitted during exit
Add `is_inside_tree()` guard to `GameView::_editor_or_project_settings_changed()`
to prevent accessing invalid state when the signal is emitted during editor shutdown.

Fixes #113829
2025-12-10 10:41:43 +09:00
Thaddeus Crews e56ea15a03 Merge pull request #113701 from lodetrick/debugger-oops
Fix Debugger Dock not opening and unused BottomPanel code
2025-12-08 11:53:43 -06:00
Logan Detrick 58969218d6 Remove unused code in EditorBottomPanel and remove deprecated bottom panel operation 2025-12-07 02:19:50 -08:00
Pāvels Nadtočajevs e2b8c9f038 [Editor] Fix missing "+" in the bunch of tooltips. 2025-12-05 10:20:50 +02:00
Rémi Verschelde c5e643380d Merge pull request #113387 from m4gr3d/fix_run_scene_shortcut
[XR] Update the shortcuts to play current / specific scene based on the last selected XR run mode option
2025-12-03 14:58:13 +01:00
Rémi Verschelde f6092acb7b Merge pull request #113407 from deralmas/no-arguments-in-my-town
EmbeddedProcess: Fix invalid deferred call
2025-12-02 14:17:19 +01:00
Dery Almas 0580d79b87 EmbeddedProcess: Fix invalid deferred call
`Window::grab_focus` does not take any argument.
2025-12-01 18:22:19 +01:00
Rémi Verschelde c7ae694d6b Merge pull request #113300 from LanzaSchneider/fix-focus-grab-warning-macos
MacOS: Fix focus grab warning on macOS when running game in embedded mode.
2025-12-01 11:49:58 +01:00
Rémi Verschelde d1b9e51e12 Merge pull request #113269 from bruvzg/emb_headless
[Editor] Disable embedded mode, if `--headless` is in the main instance argument list.
2025-12-01 11:49:41 +01:00
Fredia Huya-Kouadio 4e29217e01 Update the shortcuts for 'run the current scene' and 'run specific scene' so they trigger the last selected XR mode option 2025-12-01 00:25:30 -08:00
xuhuisheng 54b738dea4 Fix signal too early causing theme warning 2025-11-29 09:23:42 +08:00
LanzaSchneider fc79b3c115 Fix focus grab warning on macOS when running game in embedded mode. 2025-11-29 09:19:14 +08:00
Pāvels Nadtočajevs bb8537f657 [Editor] Disable embedded mode, if --headless is in the main instance argument list. 2025-11-28 10:48:43 +02:00
Dery Almas bbf65ae72f Wayland: Implement game embedding
This patch introduces a new protocol proxy, which multiplxes Wayland
clients into a single connection, allowing us to redirect calls (e.g.
create toplevel -> create subsurface). Mixed with some state tracking
and emulation, we can embed a full-featured client into the editor.
2025-11-19 21:24:18 +01:00
Thaddeus Crews afa07c1a76 Merge pull request #109987 from van800/shakhov/dap-devices
Refactor debugging on a device with DAP - now possible with all device types
2025-11-12 11:24:10 -06:00
Ivan Shakhov 49ac9f63fd Refactor debugging on a device with DAP - now possible with all device types
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>
2025-11-11 22:54:01 +01:00
Thaddeus Crews 41bba306e0 Merge pull request #109306 from Calinou/editor-run-bar-tweak-shortcut-tooltips
Improve EditorRunBar shortcut tooltips to be more informative
2025-11-10 17:47:00 -06:00
arkology cb8e592b5e Improve and reduce Game window sizing 2025-11-10 20:48:52 +03:00
Hugo Locurcio 49cf945778 Improve EditorRunBar shortcut tooltips to be more informative 2025-11-10 18:03:18 +01:00
Giganzo b326b15f7f Fix hover state for game speed button in game window 2025-10-30 17:33:50 +01:00
Michael Alexsander e06f015f95 Add a new editor theme
Co-authored-by: passivestar <60579014+passivestar@users.noreply.github.com>
2025-10-30 00:31:54 -03:00
kobewi 52775a82c6 Fix verbose running message 2025-10-24 23:18:55 +02:00
Thaddeus Crews 620a4f17a8 Merge pull request #109637 from van800/shakhov/dap
Extend DAP to allow debug main/current/specific_scene/secondary_editor and also commanline arguments
2025-10-24 11:23:05 -05:00
Thaddeus Crews 9d2b619f51 Merge pull request #108737 from bruvzg/adb_scrcpy
[Android] Add export option to use "scrcpy" to run project from editor.
2025-10-24 11:23:03 -05:00
Thaddeus Crews f9460763b1 Merge pull request #111847 from akien-mga/akien/embedded-run-respect-override
EditorRun: Load `override.cfg` to get window configuration for embedded mode
2025-10-22 13:48:37 -05:00
Thaddeus Crews d6c5c4eeb5 Merge pull request #107671 from dsnopek/editor-run-control
Allow editor plugins to modify run arguments
2025-10-20 18:09:32 -05:00
Rémi Verschelde 42000e27fe EditorRun: Load override.cfg to get window configuration for embedded mode 2025-10-20 16:59:38 +02:00