Commit graph

2573 commits

Author SHA1 Message Date
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
Dynamic-Pistol
c8fed1e1d0 Add PROPERTY_HINT_INPUT_NAME
Added PROPERTY_HINT_INPUT_NAME for StringName based off https://github.com/godotengine/godot-proposals/discussions/7559
2025-04-23 22:23:44 +02:00
lawnjelly
40c05c69f9 Physics Interpolation - Add editor configuration warnings
* For physics bodies that are on non-interpolated branches
2025-04-20 10:03:04 +01: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
Haoyu Qiu
b2bd8e4d06 Relax the range hint for canvas layer properties 2025-04-10 23:50:02 +08: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
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once 2025-03-07 17:33:47 -06:00
kobewi
92ab92114e Don't duplicate internal nodes 2025-03-07 16:08:53 +01:00
Qbieshay
419e5c40fa Fix particle not re-randomizing every emission 2025-02-20 19:25:05 +01:00
Kasper Arnklit Frandsen
03812fde8a Add emission shape gizmos to Particles2D 2025-02-18 11:29:29 +00:00
Rémi Verschelde
f0f65af16d
Merge pull request #102868 from arkology/camera_2_unlimited
Fix `Camera2D` limits drawing
2025-02-15 23:09:49 +01:00
arkology
698cc24416 Fix Camera2D limits drawing 2025-02-15 10:02:58 +03:00
Timo Schwarzer
ebef20f556
Fix Line2D not rendering anything when total length is not computed 2025-02-14 19:00:35 +01:00
Stuart Carnie
1272310a14 Sprite2D: Use correct name to hide region_filter_clip_enabled 2025-02-13 10:06:30 +11:00
kobewi
842421ea61 Prevent errors when Line2D has 0 length 2025-02-12 17:43:53 +01:00
Gilles Roudière
4765bc883c Chunk tilemap physics 2025-02-11 16:28:58 +01:00
Rémi Verschelde
65b81646a4 Merge pull request #102688 from caleb98/master
Fix TileMapLayer bug where dirty cells could be marked twice
2025-02-11 10:54:39 +01:00