Marcel Admiraal
11b7f050df
Fix multiple issues with CSG module.
...
- Replaces BuildPoly with Build2DFaces, which creates faces as each
pair of face intersections are processed, instead of trying to create
them after all the intersections are processed. Ensures that faces are
merged when possible, and removes degenerate triangles.
- Treats the child as inside the parent when faces are coplanar.
- General clean up of csg.h and csg.cpp.
2020-04-19 14:32:45 +01:00
Rémi Verschelde
cb1366f006
Mono: Fix include for Android support
...
This was a typo in #37153 .
Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
(cherry picked from commit 408fab8442
)
2020-04-18 22:02:07 +02:00
Nico Mitchell
616d106247
Change round return type to float
...
(cherry picked from commits c2ffaf5b2b
and f7cc2b090c
)
2020-04-16 12:57:21 +02:00
Thakee Nathees
3d69fe95e5
autocomplete for disconnect, is_connected implemented
...
(cherry picked from commit efe90fce01
)
2020-04-16 12:47:19 +02:00
lupoDharkael
c0047023e6
NoiseTexture: prevent race condition because of Ref::unref()
...
(cherry picked from commit 1f0f0b8cea
)
2020-04-16 12:47:18 +02:00
Thakee Nathees
3658f7127e
:=
fails on some nodes fix : #37357
...
(cherry picked from commit bdd7048cb5
)
2020-04-16 11:46:23 +02:00
Ignacio Etcheverry
445f1c6e7b
Mono/C#: Add iOS support
...
Right now, games only work on devices when exported with FullAOT+Interpreter.
There are some issues left that need to addressed for FullAOT alone. Right now,
it's giving issues with the Godot.NativeCalls static constructor.
2020-04-14 18:03:10 +02:00
Ignacio Etcheverry
6b38fe691a
Mono/C#: Fix MinGW build not supporting .lib
libraries
...
MinGW should support both its own format `.a` and MSVC's format `.lib`, but Mono's module was only using the former. With this change it's now possible to build with MinGW and link the official Mono for Windows which is built with MSVC.
2020-04-14 18:03:10 +02:00
Thakee Nathees
df87601c88
Fix for loop range bug: #37358
...
(cherry picked from commit 0b5bad78c0
)
2020-04-06 20:58:21 +02:00
Hugo Locurcio
dd4569f15c
Remove syntax highlighting for C# verbatim strings due to bugs
...
This closes #32336 .
(cherry picked from commit 49efd6093e
)
2020-04-06 18:18:38 +02:00
Thomas ten Cate
c2469d0c6d
Add missing docs for assert message in GDScript
...
Seems like this was overlooked in PR #31142 . See also issue #17082 .
(cherry picked from commit 4c3c73ef9c
)
2020-04-06 18:17:59 +02:00
Ivan.Shakhov
66e4c8be23
fix RiderPathLocator - searching for toolbox on Mac
...
(cherry picked from commit dc16b8742a
)
2020-04-06 18:15:20 +02:00
Ignacio Etcheverry
bda993dd79
C#: Fix uses of old Configuration names
...
(cherry picked from commit 66c0b7ce98
)
2020-04-06 18:14:07 +02:00
Rajat Goswami
19e71f94d8
Adding missing include guards to header files identified by LGTM.
...
This addresses the issue godotengine/godot#37143
(cherry picked from commit 2ecf928ae3
)
2020-03-25 11:38:54 +01:00
Rémi Verschelde
bdde501594
opus/vorbis: Remove dead code not used since 3.0
...
Since the new audio system in 3.0 we switched the OGG support to
stb_vorbis, and the Opus stream support was disabled as incompatible
(see #7496 ).
We still build the libraries as they are needed by the theora and webm
modules, but we don't need any Godot code apart from `register_types`.
Fixes #7496 .
(cherry picked from commit 7f6b62cef0
)
2020-03-25 11:38:54 +01:00
Andrii Doroshenko (Xrayez)
8fedcfbed2
Generate command line help text for mono
module
...
(cherry picked from commit 94b6c1363c
)
2020-03-25 11:38:54 +01:00
Ivan.Shakhov
9d0518cf80
Fix warning: Property not found: mono/editor/editor_path_optional ( #36995 )
...
(cherry picked from commit 05946be2f1
)
2020-03-25 11:38:54 +01:00
Ignacio Etcheverry
d46fcbb16a
C#: Replace uses of old Configuration and update old csprojs
...
(cherry picked from commit 1b634785b5
)
2020-03-25 11:38:54 +01:00
Ivan Shakhov
b874e84147
reorder solution configurations + migration
...
(cherry picked from commit ce01b83c4a
)
2020-03-25 11:38:54 +01:00
Thakee Nathees
5798c8135f
logic error in gdscript_parser.cpp for-loop-range
...
there was a logic error in for loop range argument that
check if all of the argument were constants, fixed
(cherry picked from commit bcbcf0f1ea
)
2020-03-25 09:45:47 +01:00
Thakee Nathees
40b53bc29a
duplicate arguments in a function handled
...
(cherry picked from commit 5424b626f9
)
2020-03-25 09:44:51 +01:00
Rafael Delboni
5736e43fe4
fix: Return only scenes for script owners on LSP completion
...
Fix : #36680
(cherry picked from commit 2f08f4ef4e
)
2020-03-25 09:44:09 +01:00
Rafael Delboni
ecfe9c24a2
Improve LSP completion using scene owner
...
Fixes : #36473
(cherry picked from commit 06bce137e3
)
2020-03-25 09:43:49 +01:00
Oliver Frank
41500249e3
Fix crash after closing a GDScript LSP session
...
(cherry picked from commit ed482f6167
)
2020-03-25 09:43:28 +01:00
of9
511105be67
Migrating language server from Websockets to raw TCP
...
(cherry picked from commit 24b27043fe
)
2020-03-25 09:43:05 +01:00
Ignacio Etcheverry
d1a5f8dbf2
[3.2] Sync csproj when files are changed from the Godot FileSystem dock
2020-03-18 17:57:45 +01:00
Thakee Nathees
708aab7920
typo in gdscript_workspace.cpp/remove_cache_parser() fixed
...
(cherry picked from commit 07c99340d1
)
2020-03-09 09:51:59 +01:00
Phischermen
69c1805735
Added parameters to Load()
...
(cherry picked from commit 1b0819bd59
)
2020-03-06 23:55:25 +01:00
Rémi Verschelde
98d0bf7d7a
assimp: Clean and document buildsystem, prepare for unbundling
...
- Improve the SCsub to allow unbundling and remove unnecessary code.
- Move files around to match upstream source.
- Re-sync with upstream commit 308db73d0b3c2d1870cd3e465eaa283692a4cf23
to ensure we don't have local modifications.
- Doesn't actually build against current version 5.0.1 due to the lack
of the new ArmaturePopulate API that Gordon authored. We'll have to
wait for a public release with that API (5.1?) to enable unbundling.
(cherry picked from commit 9d8a9ea826
)
2020-03-06 23:53:23 +01:00
Rémi Verschelde
4c325c0732
Mono: Fix detection of Apple platforms in build script
...
(cherry picked from commit 5b040ef2e8
)
2020-03-06 23:51:26 +01:00
Ivan Shakhov
88f0cd0b27
On Windows find Rider installed for CurrentUser
...
(cherry picked from commit c95e20a089
)
2020-03-04 12:40:15 +01:00
Raul Santos
447acafa97
Fix missing null check in Mono Binding of GD.print
...
(cherry picked from commit 6b9c22542f
)
2020-03-04 12:40:15 +01:00
Hugo Locurcio
a78bbcf8ce
Improve the RegEx class documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2522 .
(cherry picked from commit 5b78f5c464
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
08cb8420f7
Mention the duration
parameter unit in UPNP.add_port_mapping()
...
(cherry picked from commit 810be27c78
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
d679edfa7f
Add a practical example for @GDScript.linear2db()
...
One of its most common applications in games is for volume sliders.
See https://www.dr-lex.be/info-stuff/volumecontrols.html for
more information.
(cherry picked from commit a6fd6b78dd
)
2020-03-04 12:40:14 +01:00
Hugo Locurcio
21a45dda7a
Improve the @GDScript.inverse_lerp()
documentation
...
This closes https://github.com/godotengine/godot-docs/issues/2589 .
(cherry picked from commit 6b5573700b
)
2020-03-04 12:40:14 +01:00
Ivan Shakhov
f0b63b47aa
use Rider MSBuild on Windows, when Rider is selected as external editor
...
(cherry picked from commit a9c2ab81cf
)
2020-03-04 12:40:14 +01:00
Ivan Shakhov
8337cc5f7d
Support toolbox custom "Tools install location", by reading .settings.json
...
(cherry picked from commit 33af53c1a6
)
2020-03-04 12:40:14 +01:00
Rafał Mikrut
d001ca320d
Fix suspicious | and + operators
...
(cherry picked from commit d0621b954b
)
2020-03-04 12:40:14 +01:00
Phischermen
c75459ac95
Enabled concave collision detection with Areas in Bullet.
...
(cherry picked from commit 2c01cf54f8
)
2020-03-04 09:51:15 +01:00
Fabio Iotti
45248fb0ec
Fix OGG audio loops
...
(cherry picked from commit 4f8d1c47b8
)
2020-03-04 09:50:21 +01:00
clayjohn
2c0d391c48
Force mipmaps off when importing RGBA4444 textures
2020-02-29 19:23:56 -08:00
SkyJJ
0c53718e7b
Add abort mechanism when invoking EditorNavigationMeshGenerator::bake in-game
2020-02-23 02:43:17 +01:00
Fabio Alessandrelli
50763ecac4
Fix EMWSClient::get_connection_status(), try catch
...
(cherry picked from commit ebeeb67224
)
2020-02-18 14:20:34 +01:00
Hugo Locurcio
a083fcc109
Improve error explanations related to NetworkedMultiplayerENet
...
(cherry picked from commit 61bf5bf73f
)
2020-02-18 14:16:53 +01:00
Hugo Locurcio
6edb5ac9e9
Optimize the editor icon generation
...
Icons are no longer upsampled when using an integer editor scale.
This makes some icons slightly less crisp, but the icons themselves
can be adjusted to mitigate this. When using a non-integer editor
scale setting, upsampling is kept as it improves crispness in a
far more visible manner.
When upsampling is disabled, this speeds up the theme generation
by about 100 ms on average, making the project manager and editor
start slightly faster. This also speeds up switching between themes.
(cherry picked from commit 9e3393a624
)
2020-02-14 16:14:56 +01:00
Yuri Roubinsky
74f3fbf7ef
Fix VisualScriptClassConstant to be updated properly
...
(cherry picked from commit 386d0fe988
)
2020-02-14 16:12:09 +01:00
Yuri Roubinsky
61901bd7cc
Fix GlobalConstant/BasicTypeConstant return type in visual scripts
...
(cherry picked from commit c19933eec4
)
2020-02-14 16:11:54 +01:00
Rémi Verschelde
57de8397b2
Fix Mono check for unsafe object references
...
(cherry picked from commit 09534e2922
)
2020-02-14 16:10:06 +01:00
geequlim
57151c5e31
Fix hover symbol content position
...
(cherry picked from commit 03d2d01082
)
2020-02-14 16:08:14 +01:00