Hugo Locurcio
be01025376
Make it possible to copy the Godot version identifier by clicking it
...
This closes #24317 .
2021-04-28 17:35:57 +02:00
Rémi Verschelde
7e0a42a673
Merge pull request #46688 from QbieShay/fix-particle-rotate-y-4
...
Fixed rotate_y property of particle shaders
2021-04-28 17:09:17 +02:00
Rémi Verschelde
9e9ac9f6ad
Merge pull request #46476 from DarknessCatt/master
...
Add fill method to Arrays and PackedArrays
2021-04-28 16:52:31 +02:00
Rémi Verschelde
f505a26798
Merge pull request #47454 from vnen/gdscript-lambda
2021-04-28 16:44:59 +02:00
George Marques
9ed0f0384c
GDScript: Fix crash when base of an attribute is invalid
...
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.
2021-04-28 11:09:40 -03:00
George Marques
c201b212c7
GDScript: Implement lambdas compilation and runtime
2021-04-28 11:09:38 -03:00
Fabio Alessandrelli
4ea7363304
Merge pull request #48268 from dsnopek/issue-48178
...
Fixes #48178 : WebXR broken when built with Emscripten 2.0.13 or later
2021-04-28 16:02:58 +02:00
George Marques
3155368093
GDScript: Add lambdas to the type analyzer
...
- Lambdas are always callables (no specific signature match).
- Captures from the current context are evaluated.
2021-04-28 10:56:16 -03:00
George Marques
c6e66a43b0
GDScript: Add lambda syntax parsing
...
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")
2021-04-28 10:56:16 -03:00
David Snopek
b77925d246
Fixes #48178 : WebXR broken when built with Emscripten 2.0.13 or later
2021-04-28 08:27:51 -05:00
Rémi Verschelde
f879a08a62
Merge pull request #37064 from GNSS-Stylist/Face3_area_calc_fix_clean
...
Fix area calculation of Face3
2021-04-28 12:03:39 +02:00
Pasi Nuutinmaki
a165eed73b
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
2021-04-28 11:09:41 +02:00
Rémi Verschelde
35a8693e6a
Raycast: Fix use of removed copymem after #48239
2021-04-28 11:09:20 +02:00
Rémi Verschelde
305b2a15bf
Merge pull request #48239 from akien-mga/goodbye-copymem
...
Core: Drop custom `copymem`/`zeromem` defines
2021-04-28 11:04:05 +02:00
Rémi Verschelde
7bca90769c
Merge pull request #47595 from EricEzaM/PR/fix-lineedit-ctrl-backspace
...
Fixed issues with LineEdit Delete Word & Backspace Word.
2021-04-28 09:59:47 +02:00
Rémi Verschelde
5c5cfaabf2
Merge pull request #42607 from Dragoncraft89/type_checks
...
Raise error if Resource is of wrong type as function argument
2021-04-28 09:33:22 +02:00
EricEzaM
de5387ab82
Fixed issues with LineEdit Delete Word & Backspace Word.
...
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)
2021-04-28 17:15:28 +10:00
Rémi Verschelde
1c2766e240
Merge pull request #48245 from madmiraal/fix-24111
...
Update CSGMesh3D's documentation to explain how vertex normals are used
2021-04-27 23:04:59 +02:00
Florian Kothmeier
a2c419bdc9
Raise error if Resource is of wrong type as function argument
2021-04-27 21:24:08 +02:00
Rémi Verschelde
0582cefcbb
Merge pull request #48241 from akien-mga/tabs-panel-style-unused
...
Tabs: Remove unused 'panel' stylebox from default theme
2021-04-27 19:33:40 +02:00
Marcel Admiraal
c2f6a73e4e
Update CSGMesh3D's documentation to explain how vertex normals are used
2021-04-27 18:32:25 +01:00
Rémi Verschelde
95cfce661b
Merge pull request #48050 from JFonS/occlusion_culling
2021-04-27 19:07:12 +02:00
Rémi Verschelde
b999fbc4bd
Merge pull request #48228 from akien-mga/android-build-tools-30.0.3
...
Android: Upgrade buildTools from 30.0.1 to 30.0.3
2021-04-27 18:42:23 +02:00
Rémi Verschelde
cd8d321961
Tabs: Remove unused 'panel' stylebox from default theme
...
Cf. https://github.com/godotengine/godot/issues/37875#issuecomment-625297308 .
2021-04-27 17:36:53 +02:00
Rémi Verschelde
8247667a3e
Core: Drop custom copymem
/zeromem
defines
...
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6639
.
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.
2021-04-27 16:26:27 +02:00
Rémi Verschelde
288f484d0a
Merge pull request #48231 from Chaosus/shader_fix_constant_func_initialization
...
Fixed shader handling of constant expressions in function call
2021-04-27 15:04:47 +02:00
Rémi Verschelde
72bd64c1d5
Merge pull request #47398 from Faless/feature/network-local-port-salvaged
2021-04-27 15:04:30 +02:00
Rémi Verschelde
2a1f3c4944
Merge pull request #48159 from Faless/js/4.x_pwa_export
...
[HTML5] Export as Progressive Web App
2021-04-27 14:57:53 +02:00
Fabio Alessandrelli
88c060b00d
[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.
2021-04-27 14:44:31 +02:00
Rémi Verschelde
27548a3694
Merge pull request #48232 from HaSa1002/i-dont-need-your-error
2021-04-27 14:37:22 +02:00
Yuri Roubinsky
3c82f01134
Fix shader handle constant expressions in function call
2021-04-27 15:23:01 +03:00
Johannes Witt
bab36f1273
Fix CSG Path Polygon cache being removed after connect
...
fixes #30229
2021-04-27 13:58:01 +02:00
Rémi Verschelde
1943d2bda6
Merge pull request #48203 from Faless/net/4.x_socket_poll_timeout
...
[Net] Fix socket poll timeout on Windows.
2021-04-27 13:45:52 +02:00
Rémi Verschelde
eb74784839
Merge pull request #48210 from akien-mga/linux-static_cpp-32-bit
...
Linux: Remove use_static_cpp override on x86_32
2021-04-27 13:43:50 +02:00
Rémi Verschelde
3a0cfd3d85
Merge pull request #47960 from smix8/issue_47334_navagent2d_target_reached
2021-04-27 13:34:48 +02:00
Rémi Verschelde
3dfb740a20
Merge pull request #48229 from smix8/issue_47334_navagent3d_target_reached
...
Fix NavigationAgent3D not emitting "target_reached" Signal
2021-04-27 13:34:33 +02:00
Rémi Verschelde
6bcf98f8c0
Merge pull request #47974 from Faless/js/4.x_ssl_debug_new
...
[HTML5] HTTP server now supports optional SSL
2021-04-27 13:29:58 +02:00
smix8
67b4f9f76a
Fix NavigationAgent3D not emitting "target_reached" Signal
...
Fix NavigationAgent3D not emitting "target_reached" Signal when reaching pathfinding target.
2021-04-27 12:31:50 +02:00
Fabio Alessandrelli
c9dcf2b37b
[HTML5] HTTP server uses optional SSL.
...
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).
2021-04-27 12:16:35 +02:00
Fabio Alessandrelli
7ad901d9b8
Merge pull request #47386 from Faless/js/4.x_http_server_refactor
...
[HTML5] Make debug server more maintainable, better icon export.
2021-04-27 12:05:14 +02:00
Fabio Alessandrelli
5d095ed21d
[HTML5] Optional icon generation, use export name for it.
...
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.
2021-04-27 11:50:11 +02:00
smix8
0b87cb5e3d
put distance check to target into function
...
put distance check to target into function
2021-04-27 11:22:37 +02:00
Fabio Alessandrelli
b3971e1998
[HTML5] Debug HttpServer now runs in web
cache subdir.
...
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.
2021-04-27 11:20:02 +02:00
Rémi Verschelde
b95a82d46a
Merge pull request #47826 from Chaosus/vs_fix_default_input_overriding
...
Prevents default values of VSNodeCustom from overriding by a script
2021-04-27 10:42:51 +02:00
Rémi Verschelde
e0c1cc702c
Merge pull request #38349 from asheraryam/convex-decompose-master
...
Create GDScript bindings for creating multiple-convex collision bodies [4.0]
2021-04-27 10:05:12 +02:00
Rémi Verschelde
36cb471e11
Merge pull request #48219 from m4gr3d/move_ovr_manifest_configs_to_plugin
...
Remove deprecated xr features properties
2021-04-27 09:44:19 +02:00
Rémi Verschelde
83cc6bcf55
Merge pull request #48187 from brakhane/remove-dupe-comments
...
Remove duplicate comments
2021-04-27 09:42:09 +02:00
asheraryam
ecfbb0fd28
Expose creating multiple-convex-collision static bodies to GDScript
2021-04-27 06:56:04 +03:00
Rémi Verschelde
639b02f454
Merge pull request #48185 from Calinou/codestyle-no-auto
...
Remove uses of `auto` for better readability and online code reviews
2021-04-26 22:32:50 +02:00
Fredia Huya-Kouadio
abb21844d8
Remove deprecated xr features properties. These properties are now provided directly by the plugin.
2021-04-26 13:20:12 -07:00