Commit graph

27 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
Michael Alexsander
6862edcede
Move RuntimeNodeSelect to its own files 2026-01-29 11:02:25 -03:00
Saulo-de-Souza
0bca218e01 Editor: Remove duplicate 2026-01-28 15:52:23 -03:00
Pāvels Nadtočajevs
c3bef1b83f
Split EmbeddedProcess::reset to allow stopping timers without full reset. 2026-01-15 11:19:43 +02:00
Michael Alexsander
4e06e305bf
Fix speed being reset when it shouldn't in the game editor 2026-01-13 15:00:25 -03: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
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
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
Pāvels Nadtočajevs
e2b8c9f038
[Editor] Fix missing "+" in the bunch of tooltips. 2025-12-05 10:20:50 +02: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
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
arkology
cb8e592b5e Improve and reduce Game window sizing 2025-11-10 20:48:52 +03: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
DexterFstone
7ddce8ab26 Add game speed controls to the embedded game window 2025-10-05 11:13:15 +05:30
PiCode
dd11265c4c Improve suspend button 2025-09-01 14:38:45 +03:00
Giganzo
54ac5cd068 Fix shortcut reset for spatial_editor/tool_select 2025-08-12 10:46:20 +02:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Renamed from editor/plugins/game_view_plugin.cpp (Browse further)