Age | Commit message (Collapse) | Author |
|
In attribute expressions (`a.b`) it's possible that the base has an
incorrect syntax and thus become a nullptr expression in the tree. This
commit add the check for this case to fail gracefully instead of
crashing.
|
|
|
|
- Lambdas are always callables (no specific signature match).
- Captures from the current context are evaluated.
|
|
Lambda syntax is the same as a the function syntax (using the same
`func` keyword) except that the name is optional and it can be embedded
anywhere an expression is expected. E.g.:
func _ready():
var my_lambda = func(x):
print(x)
my_lambda.call("hello")
|
|
Fix area calculation of Face3
|
|
There seemed to be a bug in area calculation in Face3::get_area()-function. It returned the area of "imaginary" parallelogram instead of the triangle. Therefore the area returned was twice the real area. This manifested itself when using a hydro module for godot ( https://gitlab.com/ringtechsolutions/godot-tools/hydro/hydro ) causing the buoyancy to be two times the expected value.
"Reference": http://www.maths.usyd.edu.au/u/MOW/vectors/vectors-11/v-11-7.html
|
|
|
|
Core: Drop custom `copymem`/`zeromem` defines
|
|
Fixed issues with LineEdit Delete Word & Backspace Word.
|
|
Raise error if Resource is of wrong type as function argument
|
|
Backspace word was deleting all text before the cursor, and delete word was no updating until another action was performed on the LineEdit (in order to update it)
|
|
Update CSGMesh3D's documentation to explain how vertex normals are used
|
|
|
|
Tabs: Remove unused 'panel' stylebox from default theme
|
|
|
|
|
|
Android: Upgrade buildTools from 30.0.1 to 30.0.3
|
|
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308.
|
|
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb.
There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
|
|
Fixed shader handling of constant expressions in function call
|
|
|
|
[HTML5] Export as Progressive Web App
|
|
Adds possibility to export as a progressive web app.
Allows customizing base icons, display mode, orientation and offline
page.
|
|
|
|
|
|
fixes #30229
|
|
[Net] Fix socket poll timeout on Windows.
|
|
Linux: Remove use_static_cpp override on x86_32
|
|
|
|
Fix NavigationAgent3D not emitting "target_reached" Signal
|
|
[HTML5] HTTP server now supports optional SSL
|
|
Fix NavigationAgent3D not emitting "target_reached" Signal when reaching pathfinding target.
|
|
Generates a key/cert snakeoil pair or use a custom SSL cert/key.
This is of course false security, and potentially detrimental for it.
But, so long, those are the requirements browser vendors agreed on to
use things like the Gamepad API, and more advanced topics like wasm
threads.
You don't need this if you run on localhost (at least!), but you do
need this (or a much safer nginx proxy) to try those things on your
local network (e.g. when debugging a phone, networking, etc).
|
|
[HTML5] Make debug server more maintainable, better icon export.
|
|
We used to only generate the favicon if it was specified in the user
project settings, now it's optional, will export it to `NAME.icon.png`,
(falling back to the default project icon if none is set in project
settings), and the `<link>` tag is added using the `$HEAD_INCLUDE`
instead of being hardcoded in the template.
|
|
put distance check to target into function
|
|
Serving all files in that folder and using a known list of mime types.
Makes it easy to add more exported files, while still playing safe.
|
|
Prevents default values of VSNodeCustom from overriding by a script
|
|
Create GDScript bindings for creating multiple-convex collision bodies [4.0]
|
|
Remove deprecated xr features properties
|
|
Remove duplicate comments
|
|
|
|
Remove uses of `auto` for better readability and online code reviews
|
|
directly by the plugin.
|
|
It seems 30.0.1 had issues with compatibility with JDK 8 and 11,
which appear to be solved in 30.0.3 as per godotengine/godot-docs#4796.
|
|
The current code style guidelines forbid the use of `auto`.
Some uses of `auto` are still present, such as in UWP code (which
can't be currently tested) and macros (where removing `auto` isn't
easy).
|
|
After further testing it seems to work fine now when building binaries with GCC 5
on Ubuntu 16.04 (previously we were using GCC 9 on Ubuntu 14.04).
Follow-up to #45629.
|
|
Fix new `CSGMesh` errors
|
|
Fix AudioServer Crash when no buses present
|
|
Now correctly computes the timeout value in milliseconds.
|