1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-04 19:21:46 +00:00
Commit Graph

2537 Commits

Author SHA1 Message Date
Thaddeus Crews
9ecdeb3723 Merge pull request #98747 from tetrapod00/standardize-renderer-strings
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
clayjohn
f2a993aa1d Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes 2024-12-13 11:36:36 -08:00
Thaddeus Crews
c4aaad6aa2 Merge pull request #100183 from smix8/collision_polygon_shape_edit
Add basic editor editing for `ConvexPolygonShape2D` and `ConcavePolygonShape2D`
2024-12-11 17:35:55 -06:00
smix8
476479419b Despaghettify NavigationServer path queries
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
smix8
7c84eba663 Add basic editor editing for ConvexPolygonShape2D and ConcavePolygonShape2D
Adds basic editor tooling to move the existing points of a ConvexPolygonShape2D or move the  segments of a ConcavePolygonShape2D while a CollisionShape2D node is selected.
2024-12-11 02:31:42 +01:00
Thaddeus Crews
b88fd31687 Merge pull request #99397 from yosoyfreeman/master
Allow `apply_floor_snap` to preserve the horizontal position regardless of `stop_on_slopes`
2024-12-10 14:15:59 -06:00
clayjohn
4c0fb2110b Move texture property back to the top level of the Particles inspector.
This property needs to be set before the particles can be used. It should not be hidden away in an unrelated sub menu
2024-12-09 16:13:24 -08:00
YoSoyFreeman
72650f9787 Allow apply_floor_snap to preserve the horizontal position after the snapping independently of stop_on_slopes 2024-12-07 23:00:46 +01:00
Danil Alexeev
8bf2afd341 Fix CollisionShape{2D,3D}.debug_color inconsistencies 2024-12-06 15:12:20 +03:00
Daylily-Zeleen
4eba3d8377 Hide NavigationRegion2D debug instance instead of free it, and hide it when navigation_polygon is set to null. 2024-12-04 17:58:12 +08:00
Rémi Verschelde
ca1440fafb Merge pull request #99759 from Mickeon/audio-stream-player-3d-seek-fix-for-real
Fix AudioStreamPlayer2D/3D's `get_playback_position` returning `0` right after calling `seek`
2024-12-02 15:51:38 +01:00
Rémi Verschelde
e6125ef51b Merge pull request #98763 from AThousandShips/more_sname_uses
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
A Thousand Ships
af56d6e8e8 Use SceneStringName in more places 2024-12-02 14:39:16 +01:00
rune-scape
d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
Rémi Verschelde
ab08876e5c Merge pull request #89566 from AThousandShips/range_val_fix
Fix some invalid `int` property ranges
2024-11-29 22:45:35 +01:00
Rémi Verschelde
56a7dba10b Merge pull request #99799 from akien-mga/fix-typos
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
Rémi Verschelde
c1fb342287 Merge pull request #99664 from arkology/camera2d_double_is_editor_hint_check
Remove double `is_editor_hint()` check inside `NOTIFICATION_READY` for `Camera2D` node
2024-11-29 22:02:22 +01:00
Rémi Verschelde
88e81ee730 Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
Micky
99cbcd250a Fix AudioStreamPlayer2D/3D's get_playback_position returning 0 right after calling seek 2024-11-27 16:02:46 +01:00
Trevor Davenport
70a55540b7 Ensure primitive meshes are created before connected to changed signal.
Primitive meshes are special in that they aren't created until calling
one of their methods which cause it to actually create the mesh
resources.  If this is not done early enough, a changed signal can be
triggered from an unexpected thread resulting in a threading warning.

This follows the pattern of mesh_instance_3d which also does this before
connecting to the change signal.  Future cleanup could provide a better
means to populate the meshes.
2024-11-26 20:51:08 -07:00
arkology
99886f3204 Remove double is_editor_hint() check inside NOTIFICATION_READY for Camera2D node
`Engine::get_singleton()->is_editor_hint()` is already a part of `is_part_of_edited_scene()` function.
2024-11-25 09:28:16 +03:00
A Thousand Ships
f6ea6cdb67 Fix some invalid int property ranges
* `HeightMapShape3D` had ranges configured for `float` instead of `int`
* Particles had `amount` that used `exp` which is not supported, added
  note
2024-11-23 19:17:29 +01:00
Thaddeus Crews
37305e40bc Merge pull request #95711 from TokageItLab/warn-oneshot-prop
Add hint for oneshot property & warning when it will be updated continuously by Force Continuous in `AnimationMixer`
2024-11-22 14:54:30 -06:00
Rie
31a3b418f7 Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
Mack
282425eefb Fix setting TileMap data compatibility format broken by #98898. 2024-11-15 01:20:30 +00:00
Thaddeus Crews
e960aa319f Merge pull request #99030 from tracefree/obstacle_2d_transform
Make use of NavigationObstacle2D's transform
2024-11-12 09:28:03 -06:00
Thaddeus Crews
0ad3181d14 Merge pull request #98951 from AThousandShips/fix_more_super_call
Fix a few more super calls in `get_configuration_warnings` methods
2024-11-12 09:27:33 -06:00
Rie
e39fc3e8c2 Make use of NavigationObstacle2D's transform 2024-11-11 23:34:47 +01:00
Thaddeus Crews
80345758ff Merge pull request #96188 from Khusheete/tilemaplayer-cell-update
Add a way to know when a TileMapLayer's cell is modified
2024-11-11 14:18:17 -06:00
Thaddeus Crews
9be806aef1 Merge pull request #92986 from Repiteo/core/ref-instantiate-integration
Core: Integrate Ref `instantiate` where possible
2024-11-11 14:18:15 -06:00
Souchet Ferdinand
d92f5e5799 Add TileMapLayer._update_cells virtual callback called when the TileMapLayer's cells are updated
Made `_update_cells` a hook into the `TileMapLayer`'s internal update
2024-11-11 13:29:38 +01:00
tetrapod00
899f5151c3 Standardize terms for renderers in error strings
Use "Forward+", "Mobile", "Compatibility", and "renderer" or "rendering method".
2024-11-10 13:30:44 -08:00
Thaddeus Crews
8d1462c748 CI: Update Linux runners to Ubuntu 24.04 2024-11-10 14:05:27 -06:00
Thaddeus Crews
925b690c98 Core: Integrate Ref::instantiate where possible 2024-11-10 12:41:26 -06:00
Thaddeus Crews
4f416378a5 Merge pull request #98773 from KeyboardDanni/tileset_collision_priority
Add collision priority property to TileSet physics layers
2024-11-10 12:12:49 -06:00
Silc Lizard (Tokage) Renew
761a20f7a7 Add hint for oneshot & warning when it will be updated continuously 2024-11-11 01:12:45 +09:00
A Thousand Ships
26938086eb Fix a few more super calls in get_configuration_warnings methods
A few missed last pass and one incorrect from that pass
2024-11-08 14:58:37 +01:00
Danni
3d132076b2 Add collision priority property to TileSet physics layers 2024-11-02 15:37:49 -04:00
Michael Alexsander
58e79bfa9a Compile certain CanvasItem._edit_*() functions with DEBUG_ENABLED 2024-11-02 15:43:18 -03:00
Thaddeus Crews
49c22e06d0 Merge pull request #98637 from SubmergedTree/creating-light-occluder-2d-polygon-makes-warning-exclamation-mark-disappear
Clear warning in the scene tree by creating an LightOccluder2D polygon
2024-10-31 20:14:40 -05:00
Michael Alexsander
16524a8a01 Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Jannik Seemann
a12cdc202d creating LightOccluder2D polygon makes exclamation mark in scene tree disappear
fixes #21225

This commit fixes an UI bug which leads to a persistent warning in scene tree. Before
this fix the only way to get rid of the warning was to reload the complete scene.

The inspector issue mentioned in #21225 that polygon updates aren't reflected seems to be
fixed in v4.3 and therefore not part of this commit.
2024-10-29 15:01:29 +01:00
Adam Scott
0d350e7108 Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
66d19abdfa Merge pull request #96629 from ditiem-games/path2d
Fix Animated Path2D doesn't update PathFollow2D progress when scene is running.
2024-10-21 16:39:28 -05:00
Thaddeus Crews
3fcbb1d436 Merge pull request #97770 from tdaven/fix-94151
Fix immediate mesh modifications that don't call set_mesh
2024-10-14 14:09:56 -05:00
Trevor Davenport
47f75547ce Fix immediate mesh modifications that don't call set_mesh
Mesh_instance_2d has no way to know when the mesh had been modified
unless you called set_mesh.  This meant that you could modify the
underlying mesh without it knowing which could result in incorrect
result.

Modified mesh_instance_2d to be more similar to mesh_instance_3d which
connects to the changed signal of the mesh and reacts occordingly.
2024-10-03 18:08:49 -06:00
Nazarii
1ba168fcbc Use local vector for skeleton 2024-10-02 20:38:40 +03:00
Rémi Verschelde
53f30bfb7e Merge pull request #95132 from LeonStansfield/gpu_particles_ui_consistency
GPU/CPU particle parameter list consistency changes
2024-10-01 17:30:29 +02:00
Thaddeus Crews
9f9ee0c813 SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde
73bf121ceb Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00