Age | Commit message (Collapse) | Author |
|
|
|
Make translatable some undo/redo operations in the editor
|
|
Fix warnings seen with -Wignored-qualifiers.
|
|
added godot_dictionary_get_with_default to GDNative
|
|
Fix all -Wtype-limits warnings.
|
|
|
|
|
|
|
|
Recently, Dictionary::get() was introduced, which acts like a index
operator but allows the caller to specify a default value to return
instead of issuing an error.
This commit adds a new GDNative function that includes the default value.
|
|
|
|
Optimized area check
|
|
|
|
Fixes #25316.
|
|
Add check to validate client IDs in ENet.
|
|
Fix RayShape collision jitter when used with a RigidBody
|
|
Server now checks that the ID received from the client is not already
used by someone else and is a valid ID (>=2)
|
|
GDScript: Remove unused `switch`, `case` and `do` CF keywords
|
|
Scaling the depth was the wrong solution for the KinematicBody jitter
because it causes jitter with RigidBody. Instead scale the margin that
is ignored to allow KinematicBody to still pick up the ray shape in the
kinematic test when the shape is just at margin distance from another
one. This solution does not cause jitter with either KinematicBody or
RigidBody.
|
|
They had been reserved for future implementation, but we now have the
`match` CF keyword which does the same and more.
According to @reduz `do` was even added by mistake when copying from
the shader language parser, it was never intended to add support for
`do`... `while` loops, as the syntax would be awkward in GDScript,
and the added sugar is not worth it.
Fixes #25787.
|
|
Update mbedtls to 2.16.0 (LTS release) + ubsan hack
|
|
mbedtls_ssl_read cannot be called with a NULL buffer even if len is 0,
as those are passed to memcpy and compilers doesn't like that.
Always pass a single byte (still len 0 so nothing is actually copied)
|
|
This property returns an instance of the singleton.
The purpose of this is to allow using methods from the base class like 'Connect'.
Since all Godot singletons inherit Object, the type of the returned instance is Godot.Object.
|
|
C#: Make GD.Range return IEnumerable instead of array
|
|
- Make NodePath and RID sealed classes.
- Renamed rand_range to RandRange.
|
|
Fix Godot.Reference marshalling from MonoObject* to Variant
|
|
Fix RayShape collision when used with a KinematicBody (Bullet Physics)
|
|
- Added code handling non-compound collision to recover_from_penetration_ray()
which is now needed due to the optimization avoiding the use of compound
collisions when only a single collision shape is used.
- Removed arbitrary margin applied in the collision algorithm of RayShapes
which causes jittered movement. For lack of a better replacement and for
lack of any explanation on why it has been introduced, it's now using the
shape's margin property instead which is small enough to not show visible
jitter.
- Tried to get rid of inconsistent uses of the collision margin.
- Removed hack from GodotDeepPenetrationContactResultCallback::addContactPoint
for RayShape collision as it's no longer needed as the collision algorithm
of RayShapes correctly calculates the contact normal for a while now.
Fixes #25227.
|
|
C#: Throw ObjectDisposedException from disposed wrapper classes
|
|
C#: Add random functions to GD class
|
|
|
|
|
|
|
|
|
|
Fixed area collision report with concave
|
|
|
|
Make direct casting among Error and godot_error enums (#23015).
|
|
Added support to scale areas, fixes #23448
|
|
|
|
|
|
|
|
Add a maximum recusion depth to _guess_expression_type
|
|
Mono: Get rid of irrelevant error and fix export template build errors
|
|
Closes #24753
|
|
Fixes #25903
|
|
Need to cast Ref<T> to Variant instead of constructing Variant from Object*, otherwise the Variant won't hold a reference.
|
|
Fix exported property values being lost if base GDScript fails to parse
|
|
|
|
Using codespell 1.14.0.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
doubleclick
lod
nd
numer
que
te
unselect
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
|
|
Ensure classes match their header filename
|
|
|