Age | Commit message (Collapse) | Author |
|
[4.x] Rework const on NavigationServer methods
|
|
Fix VisibleOnScreenEnabler disabling in editor
|
|
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
|
|
Add reparent methods to Node
|
|
`AnimatedSprite{2D,3D}` improvements
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
* Add support for individual frame duration to `SpriteFrames`.
* Various minor improvements.
|
|
Rename `get_points_count()` to `get_point_count()` in Gradient
|
|
|
|
|
|
|
|
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
|
|
|