summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2022-12-10Enable assigning an owner to navigation regions and linksJosh Jones
This allows users of the server APIs to get back the nodes that created certain regions and links.
2022-12-09Merge pull request #69644 from radenling/fix-viewport-update-in-editorRémi Verschelde
Fix for 2D viewport not updating in the editor when the camera moves
2022-12-09Fix TileMap drawing itself twice on creationVladislav Slobodenyuk
Adds a check before calling `item_rect_changed()` in `_recompute_rect_cache()` of `scene/2d/tile_map.cpp`. Makes sure TileMap is only redrawn if the rect is actually changed. Fixes #69754
2022-12-09Merge pull request #69774 from ↵Rémi Verschelde
Calinou/backbuffercopy-only-show-rect-when-relevant Fix BackBufferCopy `rect` property appearing when not relevant in inspector
2022-12-08Fix BackBufferCopy `rect` property appearing when not relevant in inspectorHugo Locurcio
The `rect` property is only effective if `copy_mode` is Rect.
2022-12-08TouchScreenButton: Fix screen capability checkRémi Verschelde
Fixes #69572.
2022-12-07Merge pull request #69713 from groud/rename_get_surrounding_tilesRémi Verschelde
Rename get_surrounding_tiles to get_surrounding_cells
2022-12-07Rename get_surrounding_tiles to get_surrounding_cellsGilles Roudière
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-06Fix Path2D fish bone directionYaohua Xiong
2022-12-06Fix for 2D viewport not updating in the editor when the camera movesRichard Adenling
This fixes a problem with 2D viewports not taking the camera position into consideration when previewed in the editor. Fixes #40441
2022-12-06Path2D: Fix build issue after conflicts between #68860 and #69115Rémi Verschelde
2022-12-06Merge pull request #68860 from xiongyaohua/path3d_fishbonesRémi Verschelde
Draw fish bones for Path3D and Path2D in the Editor
2022-12-05Refactor baking code for Curve2DYaohua Xiong
The main change is to caculate tangent directly from bezier curve, without going through discretized polyline, avoiding pitfalls of discretization. A similar refacor had been applied to Curve3D. The test cases for Curve2D is updated, comparing floating point with is_equal_approxmiate() instead of `==`, in order to avoid float precision problem.
2022-12-05draw fish bones for Path2D and Path3DYaohua Xiong
These fish bones are add to indicate the direction and local transforms alone the path.
2022-11-29Move z_index, z_as_relative and y_sort_enabled from Node2D to CanvasItemHendrik Brucker
2022-11-28Merge pull request #68486 from smix8/navpoly_outline_convex_error_4.xRémi Verschelde
Add detail to NavigationPolygon outline error msg
2022-11-28Merge pull request #59801 from Sauermann/fix-node2d-viewport-root-orderRémi Verschelde
Fix Viewport root order after Node2D raise
2022-11-25Merge pull request #69146 from clayjohn/Polygon2D-errorRémi Verschelde
Ensure that mesh instance is properly freed when freeing Polygon2D
2022-11-25Fix inspector not showing name for LabelSettings.fontHaoyu Qiu
2022-11-24Ensure that mesh instance is properly freed when freeing Polygon2Dclayjohn
2022-11-24Merge pull request #67330 from KoBeWi/immortal_scenesRémi Verschelde
Don't free instanced scenes when recreating tiles
2022-11-22Fix AudioStreamPlayer2D and 3D's `playing` not updating right awayMicky
2022-11-20Merge pull request #68886 from timothyqiu/motion-distanceRémi Verschelde
Revert move vector parameter name to "motion"
2022-11-19Improve collision exception error messages for easier understandingHugo Locurcio
2022-11-19Revert move vector parameter name to motionHaoyu Qiu
2022-11-18Fix drawing of 2D skeletons in the RD renderer.clayjohn
Also clean up skeleton code in preparation for adding them to GLES3 Properly update Mesh2D AABBs when skeleton is updated
2022-11-15Merge pull request #64077 from ↵Rémi Verschelde
Calinou/tweak-audiostreamplayer2d3d-default-panning Decrease default AudioStreamPlayer2D/3D panning strength
2022-11-15Fix false warning when renaming Joint2D's nodekobewi
2022-11-14Add GPUParticles to the OpenGL3 renderer.clayjohn
This includes collision (2D SDF, Box, Sphere, Heightmap), attraction (Box, Sphere), and all sorting modes. This does not include 3D SDF collisions, trails, or manual emission.
2022-11-14Remove redundant Variant-types initializationsMarkus Sauermann
2022-11-10Add detail to NavigationPolygon outline error msgsmix8
Adds additional information to the error msg when the convex partition fails due to invalid outline arrays.
2022-11-07Rename GPUParticles2D/3D's `trail_length_secs` to `trail_lifetime`Hugo Locurcio
The property already has a "seconds" suffix in the inspector. The "lifetime" term makes it more obvious that the property is specified as time, not a distance in units. The property hint now allows manually entering values greater than 10 seconds. The internal rendering value's default now matches the particles nodes' default.
2022-11-07Don't free instanced scenes when recreating tileskobewi
2022-11-04Merge pull request #68222 from groud/fix_corner_terrain_paintingRémi Verschelde
Fix terrain painting in corner-only matching mode
2022-11-03Fix terrain painting in corner-only matching modeGilles Roudière
2022-11-02Fix Viewport root order after Node2D raiseMarkus Sauermann
2022-11-02Merge pull request #68137 from kleonc/shape-cast-get-collider-ridRémi Verschelde
Add `ShapeCast2D/3D::get_collider_rid` method
2022-11-01Add `ShapeCast2D/3D::get_collider_rid` methodkleonc
2022-11-01Move rotation sampling from Path2D to Curve2DYaohua Xiong
The rotation sampling code is moved from Path2D to a new method `sample_baked_with_rotation` on Curve2D.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #65452 from timothyqiu/agent-targetRémi Verschelde
Make NavigationAgent `target_location` a property
2022-10-31Merge pull request #67445 from Zylann/rename_queue_deleteRémi Verschelde
Rename queue_delete => queue_free
2022-10-31Merge pull request #67580 from KoBeWi/little_thingsRémi Verschelde
Minor code improvements
2022-10-30Merge pull request #67754 from kleonc/tilemap-fix-collision-shapes-debug-drawMax Hilbrunner
Fix `TileMap` collision shapes debug draw
2022-10-28Merge pull request #67956 from RedMser/safe-velocity-typeClay John
Fix type of `safe_velocity` parameter
2022-10-27Fix type of safe_velocity parameterRedMser
2022-10-27Emit target_reached signal after state is updatedSam Briels
2022-10-27Make NavigationAgent `target_location` a propertyHaoyu Qiu
2022-10-24Rename queue_delete => queue_freeMarc Gilleron
# Conflicts: # editor/plugins/tiles/tiles_editor_plugin.cpp