summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-10Merge pull request #51591 from Calinou/call-group-default-immediateRémi Verschelde
Make `{call,set,notify}_group()` immediate by default
2022-05-09Mention that Area2D doesn't support one_way_collisionkobewi
2022-05-05Make `{call,set,notify}_group()` immediate by defaultHugo Locurcio
This results in less surprising behavior out of the box. Internal usages were modified to keep the existing behavior identical there.
2022-05-05Add autocompletion for AnimatedSprite.play()Haoyu Qiu
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-02Style: Partially apply clang-tidy's `cppcoreguidelines-pro-type-member-init`Rémi Verschelde
Didn't commit all the changes where it wants to initialize a struct with `{}`. Should be reviewed in a separate PR. Option `IgnoreArrays` enabled for now to be conservative, can be disabled to see if it proposes more useful changes. Also fixed manually a handful of other missing initializations / moved some from constructors.
2022-05-01Merge pull request #60655 from smix8/navigation_region_rid_4.xRémi Verschelde
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-30Add get_region_rid() NavigationRegion2D and NavigationRegion3Dsmix8
Add get_region_rid() to NavigationRegion2D and NavigationRegion3D
2022-04-29Merge pull request #59297 from fabriceci/fix-jitter-2D-slight-slopeRémi Verschelde
2022-04-29Rename Transform2D "elements" to "columns"Aaron Franke
2022-04-28Merge pull request #59438 from ↵Rémi Verschelde
fabriceci/fix-move-and-collide-reported-collisions Fix wrong collision reported on move_and_collide
2022-04-27Merge pull request #58685 from ↵Rémi Verschelde
IgorKordiukiewicz/gpu_particles_2d_interpolation_property Added interpolation property to GPUParticles2D
2022-04-27Merge pull request #60321 from rburing/pathfollow_offset_yes_a_numberRémi Verschelde
2022-04-27Merge pull request #59979 from bruvzg/cpp_check2Rémi Verschelde
2022-04-27Fix TileMap::set_pattern offsetsSamuel Wilson
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-25Merge pull request #60261 from fire-forge/theme-prop-renamesRémi Verschelde
2022-04-24correct initial cpu particle velocityRedHeadphone
2022-04-23Rename theme properties to include underscoresFireForge
- 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-20Fix more issues found by cppcheck.bruvzg
2022-04-17PathFollow2D and PathFollow3D: don't set offset to NaNRicardo Buring
2022-04-06Fix some issues found by cppcheck.bruvzg
2022-04-05Change gizmo_extents to propertykobewi
2022-04-04Zero initialize all pointer class and struct membersRémi Verschelde
This prevents the pitfall of UB when checking if they have been assigned something valid by comparing to nullptr.
2022-04-04Revert "Fix that collision objects ignore canvas transform"Markus Sauermann
This reverts commit 5521b93750977b3c283672f478360b866e8de202.
2022-04-04Added interpolation property to GPUParticles2DIgor Kordiukiewicz
2022-04-04Fix TouchScreenButton error spamkobewi
2022-04-01Merge pull request #59331 from bartekd97/navigation-agent-layersRémi Verschelde
2022-03-31Fix that collision objects ignore canvas transformMarkus Sauermann
This aligns collision areas with visual areas within a viewport
2022-03-28Merge pull request #59525 from fire-forge/fix-group-namesRémi Verschelde
2022-03-28Fix inspector group name capitalizationFireForge
2022-03-28String: Remove TTR and DTR defines in non-tools buildRémi Verschelde
This ensures we don't use TTR in runtime code, as it's specifically meant to source translations for the editor.
2022-03-23When only a recovery occurs, don't report a collision on move_and_collidefabriceci
2022-03-21Fix 2D jitter on slight slopefabriceci
2022-03-20Expose navigable layers for NavigationAgent2D/3DBARTEK-PC\Bartek
2022-03-18Merge pull request #55399 from RPicster/particlesmaterial-sphere-emittershapeRémi Verschelde
ParticleMaterial: Sphere emission shape emitting from the volume.
2022-03-14Merge pull request #57392 from madmiraal/implement-3888Rémi Verschelde
2022-03-13Merge pull request #57436 from AnilBK/change-scopesRémi Verschelde
Scope Changes for some variables.
2022-03-02Changed TileMap::set_cell alternative_tile default value to 0Igor Kordiukiewicz
2022-02-28Joint2D and Joint3D: make set_exclude_nodes_from_collision respect signalsRicardo Buring
2022-02-28Joint2D and Joint3D: update joint on NOTIFICATION_POST_ENTER_TREERicardo Buring
This allows reparenting, etc.
2022-02-28Merge pull request #58596 from rburing/joints_disconnect_connected_signalsRémi Verschelde
`Joint2D` and `Joint3D`: disconnect only connected signals
2022-02-28Fix AnimatedSprite infinite loopHaoyu Qiu
2022-02-27Joint2D and Joint3D: disconnect only connected signalsRicardo Buring
2022-02-22Rename motion_velocity to velocityChris Bradfield
2022-02-17Add a property hint for the Line2D Round Precision propertyHugo Locurcio
This prevents choosing extremely high values which cause performance issues for no visual benefit.
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-15Use `switch` consistently in `_notification` (`scene` folder)Rémi Verschelde
2022-02-12Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker