Rémi Verschelde
1737494479
Merge pull request #60321 from rburing/pathfollow_offset_yes_a_number
2022-04-27 13:27:19 +02:00
Rémi Verschelde
8dfa12cae7
Merge pull request #59979 from bruvzg/cpp_check2
2022-04-27 10:08:26 +02:00
Samuel Wilson
a4c38aa92e
Fix TileMap::set_pattern offsets
...
Currently it is trying to use the target coordinates (i.e., in the destination TileMap) to pull from the pattern, rather than the pattern-local coordinates.
2022-04-27 09:35:33 +02:00
Rémi Verschelde
02bb8e948f
Merge pull request #60261 from fire-forge/theme-prop-renames
2022-04-25 16:20:19 +02:00
RedHeadphone
f603c75035
correct initial cpu particle velocity
2022-04-24 14:50:42 +05:30
FireForge
3073b85de9
Rename theme properties to include underscores
...
- check_vadjust -> check_v_adjust
- close_h_ofs -> close_h_offset
- close_v_ofs -> close_v_offset
- commentfocus -> comment_focus
- hseparation -> h_separation
- ofs -> offset
- selectedframe -> selected_frame
- state_machine_selectedframe -> state_machine_selected_frame
- table_hseparation -> table_h_separation
- table_vseparation -> table_v_separation
- vseparation -> v_separation
2022-04-23 11:16:18 -05:00
bruvzg
de4c97758a
Fix more issues found by cppcheck.
2022-04-20 10:34:00 +03:00
Ricardo Buring
eb9157df23
PathFollow2D and PathFollow3D: don't set offset to NaN
2022-04-17 17:26:05 +02:00
bruvzg
f851c4aa33
Fix some issues found by cppcheck.
2022-04-06 14:34:37 +03:00
kobewi
6e622c58c5
Change gizmo_extents to property
2022-04-05 16:16:28 +02:00
Rémi Verschelde
f8ab79e68a
Zero initialize all pointer class and struct members
...
This prevents the pitfall of UB when checking if they have been
assigned something valid by comparing to nullptr.
2022-04-04 19:49:50 +02:00
Markus Sauermann
01c37dc277
Revert "Fix that collision objects ignore canvas transform"
...
This reverts commit 5521b93750
.
2022-04-04 18:08:05 +02:00
kobewi
db19cc60fb
Fix TouchScreenButton error spam
2022-04-04 01:47:40 +02:00
Rémi Verschelde
26048c805b
Merge pull request #59331 from bartekd97/navigation-agent-layers
2022-04-01 13:35:51 +02:00
Markus Sauermann
5521b93750
Fix that collision objects ignore canvas transform
...
This aligns collision areas with visual areas within a viewport
2022-03-31 16:07:05 +02:00
Rémi Verschelde
324215c485
Merge pull request #59525 from fire-forge/fix-group-names
2022-03-28 21:44:35 +02:00
FireForge
88b09694e7
Fix inspector group name capitalization
2022-03-28 14:02:06 -05:00
Rémi Verschelde
7119d355eb
String: Remove TTR and DTR defines in non-tools build
...
This ensures we don't use TTR in runtime code, as it's specifically meant
to source translations for the editor.
2022-03-28 20:26:35 +02:00
BARTEK-PC\Bartek
4972f1b864
Expose navigable layers for NavigationAgent2D/3D
2022-03-20 15:04:56 +01:00
Rémi Verschelde
acc9b5b390
Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershape
...
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-18 08:21:59 +01:00
Rémi Verschelde
b7bc8dbebe
Merge pull request #57392 from madmiraal/implement-3888
2022-03-14 08:31:58 +01:00
Rémi Verschelde
4f40a71e03
Merge pull request #57436 from AnilBK/change-scopes
...
Scope Changes for some variables.
2022-03-13 22:10:16 +01:00
Igor Kordiukiewicz
8f49150b10
Changed TileMap::set_cell alternative_tile default value to 0
2022-03-02 12:13:45 +01:00
Ricardo Buring
cb5bc58e81
Joint2D and Joint3D: make set_exclude_nodes_from_collision respect signals
2022-02-28 22:25:45 +01:00
Ricardo Buring
9e100c3e7a
Joint2D and Joint3D: update joint on NOTIFICATION_POST_ENTER_TREE
...
This allows reparenting, etc.
2022-02-28 22:21:32 +01:00
Rémi Verschelde
f968c11b86
Merge pull request #58596 from rburing/joints_disconnect_connected_signals
...
`Joint2D` and `Joint3D`: disconnect only connected signals
2022-02-28 11:00:14 +01:00
Haoyu Qiu
3a439a9c03
Fix AnimatedSprite infinite loop
2022-02-28 16:00:45 +08:00
Ricardo Buring
184105e753
Joint2D and Joint3D: disconnect only connected signals
2022-02-27 16:55:57 +01:00
Chris Bradfield
849d34ba8e
Rename motion_velocity to velocity
2022-02-22 23:31:33 -08:00
Hugo Locurcio
6b52aa67b8
Add a property hint for the Line2D Round Precision property
...
This prevents choosing extremely high values which cause performance
issues for no visual benefit.
2022-02-17 00:21:00 +01:00
Rémi Verschelde
b8b4580448
Style: Cleanup single-line blocks, semicolons, dead code
...
Remove currently unused implementation of TextureBasisU, could be re-added
later on if needed and ported.
2022-02-16 14:06:29 +01:00
Rémi Verschelde
0f5455230c
Use switch
consistently in _notification
(scene
folder)
2022-02-15 18:44:55 +01:00
Hendrik Brucker
b396fd4eef
Improve compilation speed (forward declarations/includes cleanup)
2022-02-12 02:46:22 +01:00
Anilforextra
bb5d130509
Code quality cleanup for some variable scopes.
2022-02-10 15:56:01 +05:45
Raul Santos
68b04a5a07
Add array element type to _get_polygons
and _get_outlines
2022-02-08 21:15:25 +01:00
Haoyu Qiu
bbcd9c5b97
Fix RayCast{2,3}D.clear_exceptions clears parent
2022-02-08 16:31:07 +08:00
Anilforextra
fc27636999
Vectors: Use clear() and has().
...
Use clear() instead of resize(0).
Use has() instead of "find(p_val) != -1".
2022-02-02 00:11:09 +05:45
Rémi Verschelde
f1bff648f2
Merge pull request #57355 from akien-mga/method-bindings-clearer-types
2022-02-01 14:24:35 +01:00
Marcel Admiraal
15ea6706e2
Invert Camear2D zoom to make it intuitive
2022-01-31 16:35:28 +00:00
Rémi Verschelde
1c6f0aa3a0
Merge pull request #56601 from Scony/fix-navigation-obstacle-errors
2022-01-28 23:25:55 +01:00
Rémi Verschelde
7072b359b4
Improve some method bindings to use specific Object
subtypes
...
This was made possible by changes to `VariantCaster` which now make
it possible to pass any `Object`-derived type as pointer.
2022-01-28 15:07:22 +01:00
Rémi Verschelde
b8b33df178
TileSetAtlasSource: Make get_tile_data
return TileData *
...
This is now possible thanks to `Variant` changes.
Also unbind some `_` prefixed methods which don't need to be exposed.
2022-01-28 14:27:12 +01:00
fabriceci
cc3c4d6323
Revert #53174 (applying the delta in move and collide), rename rec_vel to distance and improve the doc description
2022-01-26 23:09:30 +01:00
Haoyu Qiu
a775744742
Store ObjectID instead of raw pointer for Shape Owners
2022-01-25 17:16:06 +08:00
Rémi Verschelde
672363f295
Merge pull request #56888 from FreegleBarr/implement_gpuparticle_subemitters2d
2022-01-24 22:19:55 +01:00
Rémi Verschelde
2255777fb9
Merge pull request #57144 from AnilBK/fix-pos-dragging
2022-01-24 21:32:38 +01:00
freeglebarr
6f88294528
ported particle sub-emission to 2D
2022-01-24 17:28:59 -03:00
Rémi Verschelde
5f8f6ae7f6
Merge pull request #57120 from KoBeWi/grandpa_issue
2022-01-24 21:03:48 +01:00
Anilforextra
80187b77a9
Node2D/Node3D: Fix Undraggable Position Property.
2022-01-25 00:52:11 +05:45
fabriceci
856142a97d
rename free mode to floating mode
2022-01-24 15:19:43 +01:00