Age | Commit message (Collapse) | Author |
|
Values above 1.0 (or below 0.0) are no longer allowed, as these make
no visual difference whatsoever (and may cause particles not to appear
at all if looping is disabled).
|
|
|
|
Stop NavigationAgents without a target from moving to world origin
|
|
Added signal to NavigationAgent when entering a link
|
|
Signed-off-by: Quentin Guidée <quentin.guidee@gmail.com>
|
|
[4.x] Fix typo and ensure backwards compatibility for changed property names
|
|
Changes to the name of the `navmesh` and `navpoly` properties on
`NavigationRegion` caused navigation data to be lost on load.
This PR creates uses `_set`/`_get` to handle compatibility with the
older names on load, preserving the data.
Also fixes a typo on `get_vertices_per_polygon` in `NavigationMesh`,
and renames the property to remove the `polygon_` prefix which doesn't
match the setter/getter.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Restore 'rotation_degrees' properties.
|
|
|
|
By popular demand, restoring the helper properties to rotate objects in degrees.
Affected are local and global rotations for:
* Node2D
* Node3D
* Control
|
|
|
|
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
|
|
Moves NavigationPolygon resource class from NavigationRegion2D file to a dedicated file in resource folder.
|
|
Use large offset for tilemap layer level canvas items
|
|
Fixes: #66849
This is a 4.0 version of #54899.
|
|
This matches the logic in _rendering_update_dirty_quadrants
|
|
|
|
Various fixes and documentation for CanvasGroup
|
|
Properly apply custom materials with CanvasGroups in the GLES3 backend
Properly blur backbuffer when using a partial rect in forward_plus and
gl_compatibility renderers
Properly set fit_margin when clear_margin is set
Fix shader error during backbuffer clear in mobile renderer
|
|
|
|
Fix Navigation agent callback wild pointer crash
|
|
Fixes crash in sanitizer builds when callback agent or object are already freed.
|
|
`TileMap` Pass some parameters by `const &` instead of by value
|
|
Fix `heap-use-after-free` error in `TileMap::~TileMap()`
|
|
Warn if isometric TileMap is not Y-sorted
|
|
|
|
Co-authored-by: Gilles Roudiere <gilles.roudiere@gmail.com>
|
|
This allows users of the server APIs to get back the nodes that created certain regions and links.
|
|
Fix for 2D viewport not updating in the editor when the camera moves
|
|
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
|
|
Calinou/backbuffercopy-only-show-rect-when-relevant
Fix BackBufferCopy `rect` property appearing when not relevant in inspector
|
|
The `rect` property is only effective if `copy_mode` is Rect.
|
|
Fixes #69572.
|
|
Rename get_surrounding_tiles to get_surrounding_cells
|
|
|
|
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.
|
|
Stops NavigationAgents moving to the world origin without anyone telling them to do so.
|
|
|
|
This fixes a problem with 2D viewports not taking the camera position
into consideration when previewed in the editor.
Fixes #40441
|
|
|
|
Draw fish bones for Path3D and Path2D in the Editor
|
|
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.
|
|
These fish bones are add to indicate the direction and local transforms alone the path.
|
|
|
|
Add detail to NavigationPolygon outline error msg
|
|
Fix Viewport root order after Node2D raise
|
|
Ensure that mesh instance is properly freed when freeing Polygon2D
|
|
|
|
|
|
Don't free instanced scenes when recreating tiles
|