1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-18 14:21:41 +00:00
Commit Graph

3603 Commits

Author SHA1 Message Date
lawnjelly
8bf24dcc44 FTI - Add multimesh_instances_reset_physics_interpolation() 2025-06-29 18:54:46 +01:00
lawnjelly
5743ec5f51 Merge pull request #107696 from timothyqiu/revert-hover-pressed-3.x
[3.x] Revert "Fix Button not listing `hover_pressed` stylebox"
2025-06-23 17:21:16 +01:00
Haoyu Qiu
312d13b897 Allow constructing Quat from two Vector3s 2025-06-19 17:39:54 +08:00
Haoyu Qiu
62feeaab33 Revert "Fix Button not listing hover_pressed stylebox"
This reverts commit cc11089786.
2025-06-19 12:06:28 +08:00
lawnjelly
d164443cd3 Add ability to mute AudioServer.
Adds the option to change the audio driver to the Dummy driver and back at runtime, with a set of MuteState flags - Disabled (user control), Silence (period of silence), Focus Loss (when app is not in focus), and Paused (when app is paused).

Control for the flags is added for the editor in EditorSettings, and for the project in ProjectSettings.

Editor defaults to muted (Dummy driver) when there is no audio output, and automatically switches to active on output. This significantly reduces CPU usage.
2025-06-10 16:53:58 +01:00
lawnjelly
65eb3a2e31 FTI - Optimize SceneTree traversal 2025-05-24 18:26:25 +01:00
Haoyu Qiu
87f9b06f52 Expose some helper methods on Viewport
Expose gui_release_focus and gui_get_focus_owner to Viewport
Expose a method to get hovered Control in Viewport

Co-Authored-By: Gilles Roudiere <gilles.roudiere@gmail.com>
Co-Authored-By: Claire Blackshaw <evilkimau@gmail.com>
2025-05-20 07:55:55 +08:00
lawnjelly
2f4336b117 Merge pull request #99434 from arkology/3.x_to-infinity-and-beyond
[3.x] Improve `TextureProgress.set_radial_initial_angle()` by removing loops
2025-05-17 19:34:44 +01:00
Asaduji
50ab06d73e Change ARVR Nodes default interpolation to off 2025-04-03 16:18:16 +02:00
lawnjelly
66a2efe491 Physics Interpolation - Move 3D FTI to SceneTree
Moves 3D interpolation from `VisualServer` to the client code (`SceneTree`).
Complete rework of 3D physics interpolation, but using the same user API.
2025-03-17 17:55:26 +00:00
axewizardbgg
f38ce8bdbe Docs: BitMap: Added description for opaque_to_polygons method 2025-02-11 10:34:29 +01:00
lawnjelly
cd92ad0f69 Merge pull request #99869 from arkology/3.x_radial-center-offset-bounds
[3.x] Document `radial_center_offset` bounds for `TextureProgress`
2024-12-15 17:59:41 +00:00
A Thousand Ships
45d1948b64 [Editor] Add EditorPlugin::scene_saved signal (3.x backport)
Matches the `EditorNode` one for parity with the exposed
`resource_saved` signal

3.x backport: Adjusted documentation slightly, backported to 3.x branch

Co-authored-by: t20kdc <asdd2808@gmail.com>
2024-11-30 12:04:17 +00:00
arkology
fc4f40127e Document radial_center_offset bounds 2024-11-30 11:47:40 +03:00
arkology
46dfd9747a Improve set_radial_initial_angle by removing loops 2024-11-19 21:12:39 +03:00
arkology
0e674d74f2 [3.x] Document Timer autostart in tool scripts 2024-11-11 06:34:03 +00:00
Haoyu Qiu
cc11089786 Fix Button not listing hover_pressed stylebox 2024-10-25 12:32:10 +08:00
lawnjelly
3ee8ecdf25 Merge pull request #96135 from aaronfranke/3.x-bind-array-get-set
[3.x] Bind Array and Pool*Array get and set functions
2024-10-16 14:13:37 +01:00
lawnjelly
c61a5edd7e Document that Input.is_action should not be used during input-handling
In most cases `InputEvent.is_action*` is more appropriate during input-handling.
2024-09-28 07:15:31 +01:00
Yuri Rubinsky
5d1e7e509d [3.x] Implement glow map effect 2024-09-24 20:47:32 +03:00
Rémi Verschelde
32ddd4f4e0 Doctool: Remove version attribute from XML header
We don't use that info for anything, and it generates unnecessary diffs
every time we bump the minor version (and CI failures if we forget to
sync some files from opt-in modules (mono, text_server_fb).

(cherry picked from commit 81064cc239)
2024-09-11 12:41:48 +02:00
Aaron Franke
699a48d8f1 [3.x] Bind Array and Pool*Array get and set functions 2024-08-26 15:07:12 -07:00
lawnjelly
fc78fa7ec5 ImageTexture - document workaround for mipmap generation 2024-06-27 17:04:02 +01:00
lawnjelly
d80b206643 Physics Interpolation - refactor client interpolation pump
* Move client interpolation pump to earlier in the iteration before 3D physics synced
* Allow `get_global_transform_interpolated()` to prime the client interpolation inside a physics tick
2024-06-19 08:44:33 +01:00
lawnjelly
0b30d77384 Physics Interpolation - refactor Camera and fix get_camera_transform()
* Moves 3D Camera interpolation scene side.
* Automatically switches `get_camera_transform()` to report interpolated transform during `_process()`.
* Fixes `ClippedCamera` to work with physics interpolation.
2024-06-09 12:08:27 +01:00
lawnjelly
0f5cadfb56 Fix Viewport interpolation mode
Viewport interpolation mode is a special case, which should be set to ON instead of INHERIT.
2024-05-20 10:28:58 +01:00
Frederick Kramer Dal Pra
20646810ae Fix typo in @GlobalScope.xml
"inteters" instead of "integers"
2024-05-15 11:49:48 -07:00
Rémi Verschelde
e66b52989d doc: Fix cherry-pick mistake for Vector3.cross description 2024-05-01 12:22:02 +02:00
A Thousand Ships
a9988c5501 [Doc] Clarify the behavior of Vector2/3.cross and mention parallel vectors
(cherry picked from commit 47a8033698)
2024-05-01 12:07:21 +02:00
Rémi Verschelde
d7e2a6f525 Merge pull request #88186 from Cammymoop/backport-shape-index-docfix
[3.x] Backport code snippet correct usage of shape index in class docs
2024-04-25 12:50:21 +02:00
lawnjelly
d56d1ff4d2 Deprecate NOTIFICATION_MOVED_IN_PARENT
* NOTIFICATION_MOVED_IN_PARENT makes node children management very inefficient.
* Replaced by a NOTIFICATION_CHILD_ORDER_CHANGED (and children_changed signal).
* Most of the previous tasks carried out by NOTIFICATION_MOVED_IN_PARENT are now done not more than a single time per frame.

This PR breaks compatibility (although this notification was very rarely used, even within the engine), but provides an alternate way to do the same.
2024-04-20 07:52:05 +01:00
Haoyu Qiu
ed952f82bd Add is_zero_approx methods to Vector{2,3} 2024-04-10 19:02:42 +08:00
Haoyu Qiu
fe65682937 Add Node.is_node_ready 2024-04-08 17:44:23 +08:00
lawnjelly
1a9b5b7c99 Merge pull request #88345 from SysError99/3.x-get_or_add
[3.x] Add a `get_or_add` method to Dictionary
2024-04-04 13:04:16 +01:00
lawnjelly
75cadbabcb Merge pull request #81089 from SysError99/3.x-dont-warm-about-return-value-discarded
[3.x] GDScript: Don't warn about `RETURN_VALUE_DISCARDED` by default
2024-04-04 13:02:22 +01:00
Rémi Verschelde
ae7dfd1f13 Merge pull request #85437 from lawnjelly/lod_scene_side
[3.x] Discrete Level of Detail
2024-03-08 17:53:58 +01:00
Aleksey Kapustyanenko
99c8cd2b17 Rotary input for 3.x 2024-02-18 22:25:10 +04:00
SysError99
b3f93ad127 [3.x] Add a get_or_add method to Dictionary
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-02-15 19:49:43 +07:00
Charlie Burnham
51681ed501 Backport fix documentation about body_shape_index 2024-02-10 17:39:54 -06:00
lawnjelly
1b5fa74e39 Discrete Level of Detail
Add scene side discrete level of detail.

New node `LOD` for UI, and `LODManager` within `World` for automatically updating child visibilities based on distance from cameras.
2024-02-10 18:54:25 +00:00
Ansraer
b9cbffd957 add ORMSpatialMaterial 2024-02-08 20:34:11 +01:00
lawnjelly
0aa22b8f13 Vertex cache optimizer
Optimizes indices to make good use of vertex cache on GPU.
2024-02-07 09:35:50 +00:00
Rémi Verschelde
e96ebf9218 Merge pull request #61568 from lawnjelly/merge_node
[3.x] Add MergeGroup node to simplify merging Meshes at runtime
2024-02-07 09:49:45 +01:00
Rémi Verschelde
dc776e46b6 Merge pull request #60246 from Calinou/directional-light-add-fade-start-3.x
[3.x] Backport DirectionalLight `fade_start` property
2024-02-07 09:49:21 +01:00
Rémi Verschelde
6f8d35138b Merge pull request #87920 from kleonc/image-doc-unlocking-methods-3x
[3.x] Document some `Image` methods can unlock it (making `set_pixel` fail)
2024-02-07 09:41:46 +01:00
Rémi Verschelde
5eeb4f220d Merge pull request #87713 from lawnjelly/portal_include_in_bound
[3.x] Portals - include in bound and special cases in start room
2024-02-07 09:41:22 +01:00
Rémi Verschelde
273d5897a0 Merge pull request #85229 from ztc0611/3.x-ios-add-pause-resume-notifs
[3.x] Enhance mobile suspend MainLoop notifications
2024-02-07 09:40:13 +01:00
Rémi Verschelde
862d63e9f7 Merge pull request #81559 from matorin57/3.x-backport-finished-singal-GPU-particles
[3.x] Backport "Add `finished` signal to GPUParticles"
2024-02-07 09:39:49 +01:00
Rémi Verschelde
60b34ed67d Merge pull request #81426 from Rubonnek/expose-inspector-methods
[3.x] Expose `EditorInspector::get_edited_object` to GDScript
2024-02-07 09:39:24 +01:00
kleonc
d0f9fe2ac5 [3.x] Document some Image methods can unlock it (making set_pixel fail) 2024-02-04 02:30:45 +01:00