Thaddeus Crews
42b50abf15
Merge pull request #106113 from lodetrick/add-dictionary-type-hints
...
Add missing dictionary and array type hints
2025-05-07 12:48:04 -05:00
Logan Detrick
247520b348
Add missing dictionary and array type hints
2025-05-06 12:35:19 -07:00
Thaddeus Crews
fd1168620f
Merge pull request #105718 from aaronfranke/nav-const-caps
...
Capitalize global navigation constants
2025-05-06 08:38:07 -05:00
kobewi
34b485d62b
Remove empty constructors and destructors from scene/
2025-05-06 14:46:54 +02:00
Aaron Franke
783728fcb4
Capitalize global navigation constants
2025-05-05 12:08:15 -07:00
Thaddeus Crews
c20ac6c01e
Merge pull request #106000 from funkysandwich/one_char_pr
...
Fix AudioStreamPlayer3D's `layer_mask` property using the wrong property hint (+ misc related fixes)
2025-05-05 11:24:09 -05:00
funkysandwich
721b1a3d64
Fix AudioStreamPlayer3D's layer_mask property using the wrong property hint
...
Also remove unnecessary physics layer property hints from some bool properties on raycast and shapecast nodes
2025-05-05 10:58:46 -05:00
Thaddeus Crews
da462c093a
Merge pull request #105147 from Lazy-Rabbit-2001/sprite_stretching
...
Allow `Sprite2D` being dragged to change their `region_rect`
2025-05-02 09:25:27 -05:00
lawnjelly
f8f350a32a
Add GLOBAL_GET cached macros.
...
GLOBAL_GET is an expensive operation which should not be used each frame / tick.
This PR adds macros which do a cheaper revision check, and only call the expensive GLOBAL_GET when project settings have changed.
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2025-04-30 15:08:50 +01:00
Thaddeus Crews
627547cb7d
Merge pull request #105861 from groud/fix_flipped_tile_rendering
...
Fix rotated/flipped tiles rendering origin
2025-04-28 14:10:48 -05:00
Thaddeus Crews
0bae1116af
Merge pull request #105473 from rbaker87/camera2d_smoothing_fix
...
Fix process callback state getting overwritten by calls to `set_process_smoothing_speed`
2025-04-28 10:01:26 -05:00
Lazy-Rabbit-2001
1410bca5ce
Allow Sprite2D being dragged to change their region_rect
2025-04-28 22:43:41 +08:00
Gilles Roudière
52aee9c325
Fix rotated/flipped tiles rendering origin
2025-04-28 13:34:39 +02:00
Ryan Baker
b7200d1e73
Fix process callback state getting overwritten by calls to set_process_smoothing_speed
2025-04-27 20:40:43 -04:00
Thaddeus Crews
3947cbe3b2
Merge pull request #104386 from Repiteo/core/cpp-math
...
Core: Replace C math headers with C++ equivalents
2025-04-27 19:21:22 -05:00
Thaddeus Crews
ad40939b6f
Core: Replace C math headers with C++ equivalents
...
- Minor restructuring to ensure `math_funcs.h` is the central point for math functions
2025-04-16 15:49:02 -05:00
cier
ebe9370724
Add enable checkboxes to editor sections
...
Fixes https://github.com/godotengine/godot-proposals/issues/4173
2025-04-15 13:49:41 -07:00
Thaddeus Crews
94282d88f9
Core: Use Math namespace for constants
2025-04-10 16:29:30 -05:00
Thaddeus Crews
171187d1aa
Merge pull request #101011 from aaronfranke/limit-max-contacts-reported
...
Place a hard limit on the `max_contacts_reported` property in 2D/3D physics
2025-04-09 18:11:53 -05:00
Pāvels Nadtočajevs
b106dfd4f9
Base accessibility API.
2025-04-08 20:14:28 +03:00
smix8
33fe4a2d87
Combined TileMapLayer debug quadrant shapes to a surface
...
Create a combined mesh surface for all mesh faces and mesh lines in the TileMapLayer debug quadrant. Before it created a new mesh surface for each shape crashing into the mesh surface limit of 256 quickly.
2025-04-06 19:08:53 +02:00
smix8
565ea927d2
Emit changed signal after baking navigation mesh
...
Emits changed signal after baking navigation mesh.
2025-04-02 16:54:48 +02:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Michael Alexsander
556933306a
Allow to compile templates without navigation features
2025-04-01 11:53:35 -03:00
Thaddeus Crews
d52b84e472
Merge pull request #103993 from aaronfranke/geometry-segment
...
Directly use segment points in Geometry2D/3D function parameters
2025-04-01 08:01:34 -05:00
Thaddeus Crews
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
Aaron Franke
c1acc839a8
Directly use segment points in Geometry2D/3D function parameters
2025-03-30 16:25:59 -07:00
Aaron Franke
a5de242a2f
Place a hard limit on the max_contacts_reported property
2025-03-29 01:17:55 -07:00
Rémi Verschelde
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
Rémi Verschelde
3b90bb56ad
Merge pull request #89782 from KoBeWi/stdArrayList
...
Use initializer list in Arrays
2025-03-28 17:29:40 +01:00
Michael Alexsander
5ad414d046
Allow to compile templates without physics servers
2025-03-28 11:00:44 -03:00
Rémi Verschelde
fd8c010541
Merge pull request #104677 from kleonc/tile_map_layer_self_modulation_fix
...
Fix applying `TileMapLayer.self_modulate` to tiles
2025-03-28 14:33:53 +01:00
kobewi
bc9d0c7835
Add templated version of ObjectDB::get_instance()
2025-03-27 15:43:23 +01:00
Malcolm Anderson
60a9c8e2ea
Add node configuration warnings for nested clipping and CanvasGroups
...
Many subclasses of CanvasItem had to have their `get_configuration_warnings` methods updated so they would display the warning as well
Make clip children warning update whenever clip_children_mode is modified
Update scene/main/canvas_item.h
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com >
Add warning if ancestor of clipping CanvasItem is CanvasGroup
Add warnings for CanvasGroup when ancestors are CanvasGroups or clip children
2025-03-26 21:40:49 -07:00
kleonc
943bec398f
Fix applying TileMapLayer.self_modulate to tiles
2025-03-27 03:15:53 +01:00
kobewi
75881f8322
Use initializer list in Arrays
2025-03-26 18:38:15 +01:00
Thaddeus Crews
581d675eeb
Core: Convert Math class to namespace
2025-03-21 10:29:18 -05:00
A Thousand Ships
432b4be1c3
Fix incorrect guards in VisibleOnScreenNotifier2D
...
Some methods used `DEBUG_ENABLED` instead of `TOOLS_ENABLED`.
2025-03-21 14:08:02 +01:00
Rémi Verschelde
55cb380c3f
Merge pull request #100874 from Lazy-Rabbit-2001/visible-on-screen-rect
...
Optimize usability of VisibleOnScreenNotifier2D
2025-03-21 13:03:14 +01:00
kobewi
10f6c01b9c
Remove ABS in favor of Math::abs
2025-03-19 13:52:40 +01:00
Rémi Verschelde
9ca0de58bb
Merge pull request #104136 from KoBeWi/cleaning_camera
...
Camera2D code cleanup
2025-03-19 12:27:14 +01:00
Thaddeus Crews
85258ec1a5
Merge pull request #102662 from groud/chunk_tilemap_physics
...
Chunk tilemap physics
2025-03-17 16:03:29 -05:00
kobewi
ecda6b9b0b
Camera2D code cleanup
2025-03-15 19:20:48 +01:00
Thaddeus Crews
ba5edb2a77
Merge pull request #103784 from Dominrog/fix-visible-avoidance-debug
...
Fix visible avoidance debug rendering in NavigationRegion2D
2025-03-13 08:57:15 -05:00
Thaddeus Crews
7e6c4681c6
Merge pull request #101427 from Lazy-Rabbit-2001/camera_2d_draggable
...
Improve usability of `Camera2D`
2025-03-12 10:31:51 -05:00
Thaddeus Crews
c8cd979552
Merge pull request #103966 from rburing/fti_2d_particles_oops
...
CPUParticles2D: Fix physics interpolation after entering tree with `emitting = false`
2025-03-12 10:31:47 -05:00
Lazy-Rabbit-2001
5ca70d88a7
Improve usability of Camera2D
2025-03-12 09:57:31 +08:00
Thaddeus Crews
e54a4408ad
Merge pull request #102249 from Arnklit/particles2d-emission-shapes
...
Add emission shape gizmos to Particles2D
2025-03-11 14:01:00 -05:00
Ricardo Buring
5892ddbe24
CPUParticles2D: Fix fixed timestep interpolation after entering tree with emitting = false
...
This line was left over from earlier testing; the intended functionality
is now contained in _refresh_interpolation_state().
2025-03-11 12:12:32 +01:00
Domino
ae6c87372c
Fix visible avoidance debug rendering in NavigationRegion2D
2025-03-08 02:15:08 +01:00