Commit Graph

101 Commits

Author SHA1 Message Date
b01b84e3a1 Fix single-object inspect command regression 2025-09-01 20:28:39 +02:00
098214b64c Merge pull request #108297 from YeldhamDev/inverse_sel_fix
Fix remote deselection not working when selection limit is reached
2025-08-11 09:55:24 -05:00
5eee6d22a0 Fix remaining physics and navigation disabling issues. 2025-07-12 17:12:42 +03:00
efc2ecc04c Fix remote deselection not working when selection limit is reached 2025-07-04 20:39:21 -03:00
43b41092a0 Add support for taking embedded window screenshots. 2025-06-09 11:40:36 +03:00
f36499f9c5 Editor: Explicit parse_message handlers
Using custom macros for defining and registering message handlers hurts
readability and navigability.

This commit simplifies the ParseMessageFunc signature, expands the
macros, and streamlines initialization.
2025-06-03 13:24:58 +02:00
75d118fba1 Merge pull request #105034 from YeldhamDev/fix_remote_error
Fix error spam when inspecting remote nodes outside the tree
2025-05-08 07:19:35 -05:00
b7d4426fff Merge pull request #104269 from lawnjelly/fti_scene_tree4
Physics Interpolation - Move 3D FTI to `SceneTree`
2025-04-28 10:01:34 -05:00
ae04a3a5dd Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from server to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-04-26 14:13:30 +01:00
bf18021462 Add Embed Game Window hotkeys support and pause/next frame shortcuts 2025-04-25 02:36:00 -03:00
1f787b63a5 Merge pull request #104895 from stuartcarnie/scene_debugger_handlers
Editor: Refactor `SceneDebugger::parse_message` into handler functions
2025-04-24 09:09:32 -05:00
94282d88f9 Core: Use Math namespace for constants 2025-04-10 16:29:30 -05:00
e1e5242fa9 Fix error spam when inspecting remote nodes outside the tree 2025-04-04 19:22:32 -03:00
4f4031a675 Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
2e99565bcb Editor: Refactor parse_message into handler functions
Move the individual message handlers to separate functions, to make it
easier to follow and add additional message handlers. The function
is also more efficient as it only performs a single hash lookup for
the handler and then dispatches to the member function.

Similar to #104425
2025-04-02 08:39:40 +11:00
8f6bb119f4 Merge pull request #100602 from KoBeWi/over_100_changes_in_50_random_files_aka_the_best_kind_of_PR
Add templated version of `ObjectDB::get_instance()`
2025-03-31 12:03:47 -05:00
e8bc75f056 Merge pull request #103373 from YeldhamDev/build_remove_physics
Allow to compile templates without physics servers
2025-03-28 17:30:03 +01:00
5ad414d046 Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
bc9d0c7835 Add templated version of ObjectDB::get_instance() 2025-03-27 15:43:23 +01:00
75881f8322 Use initializer list in Arrays 2025-03-26 18:38:15 +01:00
d01d40490f Fix regressions regarding multiple remote object selection 2025-03-24 18:07:12 -03:00
6858607e74 Add "Mute Audio" button to Game view in editor
Update servers/audio_server.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Apply suggestions from code review

Co-authored-by: Adam Scott <ascott.ca@gmail.com>

Fix a few lines for new member names

Add command-line argument `--debug-mute-audio`, and pass it to game if started with mute enabled

Apply suggestions from code review

Co-authored-by: arkology <43543909+arkology@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>

Fix icon for svgo
2025-03-19 08:20:17 -07:00
7a5267dfad Fix build errors when building with disable_3d=yes 2025-03-15 01:51:46 +05:30
6c586d20df Fix game view visual streaking when selecting nodes 2025-03-13 17:58:22 -04:00
186d8259d5 Fix wrong canvas camera override panning in the runtime debugger 2025-03-12 12:36:19 -03:00
5c66129e62 Allow to select multiple remote nodes at runtime 2025-03-11 12:35:41 -03:00
b7f823c4c7 Make Game view follow more editor settings 2025-03-06 23:08:34 -03:00
cedcc2444e Add changeable freelook speed in Game Window 2025-02-10 17:18:52 +01:00
4c32d27e8e Fix runtime crash with 3D selection with no camera 2025-02-02 13:58:38 -03:00
226f7aee20 Added check to prevent exception during remote debugging 2025-01-20 15:11:55 -08:00
2e4eb59e56 Fix camera override when there is no camera in scene tree 2025-01-18 14:38:05 +05:30
055b418e4d Fix Selection Game View 2025-01-10 09:53:17 -05:00
a1846b27ea Improve use of Ref.is_null/valid
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
4887172a59 Fix ViewPanner panning mouse warp
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.

This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.

This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.

This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
a8caad3437 [Debugger] Fix scene debugger crash when editor shortcuts are invalid 2024-12-10 10:49:24 +01:00
f3a3452bca Fix for RuntimeNodeSelect selection_list showing up as an orphaned node when editor is open during runtime 2024-12-04 11:22:12 -05:00
827a525996 Merge pull request #98777 from AThousandShips/debug_no_3d_fix
Add missing checks for non-3D builds in scene debugger
2024-11-10 12:12:50 -06:00
f3294e59e1 Merge pull request #98891 from Faless/debugger/game_view_settings
[Debugger] Better settings configuration for RuntimeNodeSelect and Window quit
2024-11-10 12:12:46 -06:00
c3e2e46855 [Debugger] Add configuration to the GameView debugger plugin 2024-11-07 15:03:17 +01:00
7cd850b909 [Debugger] Move quit shortcut configuration to the SceneDebugger 2024-11-07 15:03:17 +01:00
81cb7658f8 Reload cached resources in runtime on file reimport 2024-11-05 10:51:20 -03:00
5085c1f530 Add missing checks for non-3D builds in scene debugger 2024-11-02 23:21:27 +01:00
16524a8a01 Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
fb58ea6c89 Fixed Remote Nodes missing custom icons 2024-10-15 22:28:53 +03:00
955d5affa8 Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
67e38709fd Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport 2024-02-13 18:53:21 +09:00
966a3ffbba Merge pull request #86659 from MajorMcDoom/live-debug-local-transform
Improved synchronization of Transforms during live debug sessions
2024-02-12 13:33:35 +01:00
684752e75b Replace error checks against size with is_empty 2024-02-09 12:50:15 +01:00
97f9dbda81 Changed various editor transform operations to be committed in local instead of global space. Fixed a couple of bugs when syncing transforms to debug instance. 2024-01-05 17:07:20 -06:00