Commit Graph

30920 Commits

Author SHA1 Message Date
Charles Merriam
5160a9f650 Fix typo in the ProjectSettings class documentation 2020-10-13 09:55:31 +02:00
Rémi Verschelde
4efcb4c442
Merge pull request #42592 from madmiraal/fix-42567
Initialise Bullet RigidBody friction to the expected value of 1.0
2020-10-13 09:51:53 +02:00
Rémi Verschelde
0df7793693
Merge pull request #42696 from arthurpaulino/update-kinematicbody2d-is-on-descriptions
Updating KinematicBody2D "is_on" functions' descriptions
2020-10-13 08:53:01 +02:00
Rémi Verschelde
7b11e8a8a2
Merge pull request #42758 from volzhs/tree-selection-box
Respect Tree.set_icon_max_width size for drawing selection box
2020-10-13 08:35:21 +02:00
opl-
e4d20ae373 Fix code duplication in CSharpScript
Removes code duplication between `CSharpScript::reload()` and `CSharpScript::initialize_for_managed_type()`.

Removes a redundant `CSharpScript::update_exports()` call in `CSharpLanguage::reload_assemblies()` as `CSharpScript::reload()` already calls it when appropriate.

Fixes missing update of RPC information in `CSharpScript::initialize_for_managed_type()`.
2020-10-13 06:46:34 +02:00
volzhs
cac4fedb2a Respect Tree.set_icon_max_width size for drawing selection box 2020-10-13 10:38:32 +09:00
Arthur Paulino
0c9a1a1cd4 updating descriptions 2020-10-12 20:24:19 -03:00
Rémi Verschelde
a22c7eff0f
Merge pull request #42749 from KoBeWi/quality_pr
Bind missing constant in VisualScriptPropertyGet
2020-10-12 21:46:23 +02:00
Tomasz Chabora
aadc8d54a4 Bind missing constant in VisualScriptPropertyGet 2020-10-12 19:39:15 +02:00
Rémi Verschelde
3f7f4fb6f3
Merge pull request #42744 from qarmin/fix_leaks
Fixes leaks with shader and material
2020-10-12 18:20:03 +02:00
Rafał Mikrut
84a1817a75 Fixes leaks with shader and material 2020-10-12 18:06:47 +02:00
Lyuma
9f654b441f core/command_queue_mt: Fix crash/hang when buffer fills up
This patch fixes two related issues. One is the race condition in issue #42107..
The other is a crash which happens when the reader is lapped near the end of the buffer.
2020-10-12 08:41:13 -07:00
Lyuma
48e8da4aac core/command_queue_mt: Customizable size and tests
Adds unit tests for command_queue_mt.h/cpp
In this revision, some unit tests will fail due to issue #42107.
2020-10-12 08:24:08 -07:00
volzhs
778e982cff Show android device name when connected only one device 2020-10-12 21:47:00 +09:00
Fabio Alessandrelli
ab0907c1ba
Merge pull request #42684 from timothyqiu/conn-self-assign
Fix HTTPClient::poll crash after connection is self-assigned
2020-10-12 12:40:22 +02:00
Rémi Verschelde
d22791c271
doc: Sync classref with current source 2020-10-12 10:58:02 +02:00
Rémi Verschelde
d18eba4d18
Merge pull request #42733 from madmiraal/fix-41281
Ensure grid index is valid before trying to change value.
2020-10-12 10:55:53 +02:00
Rémi Verschelde
b3b5cd021c
Merge pull request #42732 from Anutrix/free-shader
Free a SortShader and a ParticlesCopyShader
2020-10-12 10:55:39 +02:00
unknown
1d3aec4230 Free a SortShader and a ParticlesCopyShader 2020-10-12 13:25:24 +05:30
Marcel Admiraal
f98acd5cfb Ensure grid index is valid before trying to change value. 2020-10-12 08:53:09 +01:00
Yuri Roubinsky
bf37ab52b3
Merge pull request #42692 from Chaosus/vs_add_metallic
Adds Metallic to spatial light input of visual shaders
2020-10-10 17:47:56 +03:00
Yuri Roubinsky
f4eef287f9 Adds Metallic to spatial light input of visual shaders 2020-10-10 16:55:36 +03:00
Juan Linietsky
cf0045011e
Merge pull request #42683 from reduz/implement-call-bind-unbind
Add ability to bind an unbind arguments to Callable.
2020-10-10 08:24:14 -03:00
Rémi Verschelde
ca2c0b8937
Merge pull request #42568 from DavidSichma/fix-aabb-update
Make AABB change trigger bounding box update
2020-10-10 10:55:52 +02:00
Haoyu Qiu
8226cee8d8 Fixes HTTPClient::poll crash after connection is self-assigned 2020-10-10 10:10:30 +08:00
reduz
351a122029 Add ability to bind an unbind arguments to Callable. 2020-10-09 19:43:22 -03:00
Rémi Verschelde
7c4d1e9c65
Merge pull request #42660 from Chaosus/remove_get_uv84_normal_bit
Removed unused method Geometry3D.get_uv84_normal_bit
2020-10-09 19:31:24 +02:00
Rémi Verschelde
b724d3851a
Merge pull request #42628 from reduz/particle-collisions
Implement GPU Particle Collisions
2020-10-09 19:28:29 +02:00
reduz
26f5bd245c Implement GPU Particle Collisions
-Sphere Attractor
-Box Attractor
-Vector Field
-Sphere Collider
-Box Collider
-Baked SDF Collider
-Heightmap Collider
2020-10-09 13:25:47 -03:00
Rémi Verschelde
c35005ba25
Merge pull request #42672 from akien-mga/doc-classref-sync
doc: Sync classref with current source
2020-10-09 15:35:10 +02:00
Rémi Verschelde
2e68a283bc
Merge pull request #42670 from timothyqiu/state-machine-pan
Add pan gesture to AnimationTree's StateMachine editor
2020-10-09 15:07:34 +02:00
Rémi Verschelde
a33fe75050
doc: Sync classref with current source 2020-10-09 15:04:15 +02:00
Rémi Verschelde
e9ff08692c
Merge pull request #42548 from pezcode/lights-metallic
Add METALLIC to light() built-ins
2020-10-09 14:41:53 +02:00
Rémi Verschelde
914faa357a
Merge pull request #42669 from akien-mga/mono-godot-sdk-nuspec-typo
Mono: Fix typo in Godot.NET.Sdk.nuspec
2020-10-09 14:19:15 +02:00
Rémi Verschelde
21ed557ab9
Merge pull request #42668 from bruvzg/msvc_utf_8
[Windows, MSVC] Correctly set source file encoding.
2020-10-09 14:18:53 +02:00
Haoyu Qiu
e9bec0d76b Adds pan gesture to StateMachine editor 2020-10-09 20:15:32 +08:00
Rémi Verschelde
1af3cf15c2
Mono: Fix typo in Godot.NET.Sdk.nuspec
Fixes #42666.
2020-10-09 13:37:07 +02:00
bruvzg
56f3aba7b2
[Windows, MSVC] Correctly set source file encoding. 2020-10-09 13:56:20 +03:00
Rémi Verschelde
cb9bf98bba
Merge pull request #42663 from nekomatata/fix-crash-popup-single-window
Fix Popup crash in single window mode
2020-10-09 12:21:31 +02:00
PouleyKetchoupp
4686200f0e Fix Popup crash in single window mode
focus_target->exclusive_child could be invalidated during the call to
focus_target->grab_focus(), now using the same logic with safe accesses
to focus_target.
2020-10-09 11:20:38 +02:00
Yuri Roubinsky
66c2aaf749 Removed unused method Geometry.get_uv84_normal_bit 2020-10-09 10:22:26 +03:00
Rémi Verschelde
6dc41b3ad2
Merge pull request #42623 from lolleko/incorrect-macos-platform-name-csharp
C# GodotTools: Replace platform Identifier "OSX" with "macOS"
2020-10-09 08:17:06 +02:00
George Marques
fe6109101f
Merge pull request #41881 from ThakeeNathees/crash-on-builtin-constructor
GDScript crash on builtin type constructor fix
2020-10-08 19:35:35 -03:00
Rémi Verschelde
67135f246e
Merge pull request #42647 from nekomatata/x11-unfocus-crash-fix
Fix x11 display server crash when deleting popup window when unfocused
2020-10-08 20:05:06 +02:00
Marcel Admiraal
0e12a0c66a Reapply -Avoid adding margin twice along capsule Y axis
Co-authored-by: Andrea Catania <info@andreacatania.com>
2020-10-08 16:22:38 +01:00
PouleyKetchoupp
48a0d44e67 Fix x11 display server crash when deleting popup window when unfocused
On FocusOut events, the window could be destroyed while propagating
WINDOW_EVENT_FOCUS_OUT event, which causes the WindowData to be
invalidated, and still used for calls to XUnsetICFocus.

This change moves calls to XUnsetICFocus, and also XSetICFocus in
FocusIn events, before propagating the change of focus event to the
engine, to be safe in any case.

Also setting xic member to nullptr after all calls to XDestroyIC to keep
things clean and consistent.

Fixes #42645
2020-10-08 17:22:03 +02:00
Rémi Verschelde
28e45ec427
Merge pull request #42644 from Anutrix/uwp-duplicate-entry-fix
Fixed an issue in UWP export caused by duplicate entry for extensions in content types file.
2020-10-08 15:46:35 +02:00
Rémi Verschelde
53a3dfbf6b
Merge pull request #42622 from darkclif/master
Docs change: More detailed description of StreamPeerTCP.is_connected_to_host()
2020-10-08 15:18:02 +02:00
Rémi Verschelde
abbd58dcb0
Merge pull request #42621 from KoBeWi/into_nothingness_no_more
Cancel rename if file does not exist
2020-10-08 15:17:32 +02:00
unknown
9cb46ed4e7 Fixed an issue in UWP export caused by duplicate entry for extensions in content types file. 2020-10-08 18:44:15 +05:30