Age | Commit message (Collapse) | Author |
|
Limit Physics Process FPS above 0
|
|
Fix the performance of remove_point of AStar
|
|
Resolves: #19734
|
|
|
|
Validate parameters of randi_range()
|
|
|
|
Make humanized size rounding clearer by padding decimals with zeroes
|
|
Improved uniformity of RandomPCG::randf.
|
|
Fix display of large sizes in the editor monitors
|
|
Fix Vector3 slerp method by normalizing cross product
|
|
Removes redundant "splash" setting, improves per pixel transparency documentation.
|
|
Small fixes to unrechable code, possibly overflows, using NULL pointers
|
|
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|
replaced "divisor" with "delimiter" for methods split,rsplit and split_floats.
|
|
Improved documentation of rsplit Method for String class.
Removed "divisor" (i will also change variants_call.cpp) and added "delimiter" in its place. Also moved the example at the bottom of the description.
|
|
For example, "5 MB" will now be displayed as "5.00 MB" to make the
rounding precision clear, regardless of the value being rounded.
This closes #29611.
|
|
Unlike the old custom method, the `String::humanize_size()`
method works well with file sizes above 2 GB.
This also tweaks the suffixes for spacing consistency and
uses the correct acronym for exabytes (EB).
This closes #29610.
|
|
|
|
I don't know why this happened, I was debugging another issue. This
should take care of it though.
|
|
Improve the performance of remove_point because it doesn't have to search every neighbour of every node
|
|
improves per pixel transparency documentation.
|
|
|
|
|
|
Fix errors when attempting to set UNIX permissions when unavailable
|
|
This makes exporting from Windows to Linux work again.
This closes #29416.
|
|
Fix code completion not working with class_name
|
|
|
|
Added move_toward functions for float, Vector2 and Vector3
|
|
Fix array overflow when saving scene preview
|
|
Supersedes #27736.
|
|
|
|
This issue could be triggered if you try to access a path which contains
the resource path string in its absolute path, while pointing to a directory
which is *not* in the resource path.
It's clearer with an example: with `/my/project` as resource path, the
previous logic would also localize `/my/project_data` to `res://data`, which
is incorrect and would lead to a cryptic error.
Fixes #24761.
Co-authored-by: volzhs <volzhs@gmail.com>
|
|
Print the path of a corrupt image
|
|
|
|
Fixes #24505.
Supersedes #25278.
|
|
Added a setting for files in which the editor should search (project specific)
|
|
Support for binary literals in GDScript
|
|
Fixes OS.execute; stderr was silenced; adds missing quote from exe args (windows)
|
|
|
|
Optimize Basis constructor for Axis Angle
|
|
MessageQueue::flush now always destroys parameters of a spent message
|
|
Add native window/taskbar icon support for Windows and macOS.
|
|
|
|
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
|
|
Can be used via scripting as `Geometry.triangulate_delaunay_2d(points)`
The interface is the same as in `Triangulate` library, returning indices
into triangulated points.
|
|
Clipper 6.4.2 is used internally to perform polypaths clipping, as well
as inflating/deflating polypaths. The following methods were added:
```
Geometry.merge_polygons_2d(poly_a, poly_b) # union
Geometry.clip_polygons_2d(poly_a, poly_b) # difference
Geometry.intersect_polygons_2d(poly_a, poly_b) # intersection
Geometry.exclude_polygons_2d(poly_a, poly_b) # xor
Geometry.clip_polyline_with_polygon_2d(poly_a, poly_b)
Geometry.intersect_polyline_with_polygon_2d(poly_a, poly_b)
Geometry.offset_polygon_2d(polygon, delta) # inflate/deflate
Geometry.offset_polyline_2d(polyline, delta) # returns polygons
// This one helps to implement CSG-like behaviour:
Geometry.transform_points_2d(points, transform)
```
All the methods return an array of polygons/polylines. The resulting
polygons could possibly be holes which could be checked with
`Geometry.is_polygon_clockwise()` which was exposed to scripting as well.
|
|
Reverts "Build polygon clipper only in tools builds" (see #17319)
which allows to build Clipper with tools disabled (release) and because
of that, Clipper has to be patched to optionally disable exceptions in
order to be built on some platforms.
Patched Clipper 6.4.2 to be compiled with exceptions enabled/disabled.
and ensure that Clipper-specific exception macros are defined: don't use
exceptions by default unless exception handling is detected.
Compilation with exceptions will be determined by various
C++ exceptions defines:
* ` __cpp_exceptions` is part of C++ feature testing macros (since C++98);
* `__EXCEPTIONS` is used by some GNU compilers;
* `_CPPUNWIND` is used by MSVC.
The user can override specific exceptions behavior via corresponding
`*_USER` macros (i.e. compiling for embedded systems).
|
|
add const to methods that return literals
|
|
Initialize padding on PoolByteArray serialization
|
|
|