Marcel Admiraal
a9b5dc56a6
Check and correct for zero scaling when unscaling Bullet basis.
...
(cherry picked from commit 4b14916288
)
2020-09-24 14:43:06 +02:00
Somnath Sarkar
1f7a3e0f8d
Sort points in a Gradient for color and offset updates.
...
(cherry picked from commit d5d832417e
)
2020-09-24 14:43:06 +02:00
SekoiaTree
0d8b2d34e1
Fixed node scaling arrows being wrong
...
Patch for #21755 . Node scaling arrows pointed the wrong way when nodes were rotated. Ammend: made math cleaner.
Simplified expression
Changes suggested by Aaron Franke
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
(cherry picked from commit 603febdbfe
)
2020-09-24 14:43:05 +02:00
Markus Sauermann
d2636cd30f
Wake up RigidBody 2D after applying torque
...
(cherry picked from commit 8335f00949
)
2020-09-24 14:43:05 +02:00
Marcel Admiraal
808865af97
Don't attempt to insert points into degenerate triangles.
...
Use a simpler degenerate triangle check that calculates area.
(cherry picked from commit 3521239d96
)
2020-09-24 14:43:05 +02:00
hoontee
aa0221f0fb
Transform CSGShape collision when necessary
...
(cherry picked from commit fc8574fbac
)
2020-09-24 14:43:05 +02:00
hoontee
8ce88d38f2
Properly handle empty CSGCombiners
...
(cherry picked from commit 001b6075cb
)
2020-09-24 14:43:05 +02:00
mvl
be13df0a08
Fix bug where leading and trailing spaces werent taken into account with center and right allignment.
...
(cherry picked from commit 4318ad94ac
)
2020-09-24 14:43:05 +02:00
Aaron Franke
76a8458753
Make the Import dock depend on the FileSystem dock
...
(cherry picked from commit de6f8f9d21
)
2020-09-24 14:43:05 +02:00
Eric M
e24b9f0520
Fixed bug where spinbox would not update to it's actual value after non-numeric input
...
(cherry picked from commit e76e39d5f5
)
2020-09-24 12:08:10 +02:00
Zak
d94323e37b
Adds automatic update for region_rect
...
When changing the texture region for a StyleBox, the regions was not updating automatically in the Texture editor.
(cherry picked from commit 7d7727bade
)
2020-09-24 12:05:34 +02:00
Rémi Verschelde
bca2633f93
Merge pull request #41931 from RandomShaper/fix_gdscript_leaks_3.2
...
Fix leaks in GDScript (3.2)
2020-09-24 08:33:04 +02:00
Vasiliy Makarov
f388ea00bf
iOS: Fix multiple issues with PVRTC import, disable ETC1
...
Fixes : #28683 , #28621 , #28596 and maybe others
For iOS we enable pvrtc feature by default for both GLES2/GLES3
Etc1 for iOS doesn't have any sense, so it disabled.
Fixed checks in export editor.
Fixed pvrtc ability detection in GLES2 driver.
Fixed pvrtc encoding procedure.
2020-09-23 11:13:50 +02:00
Rémi Verschelde
26512dda93
Merge pull request #42170 from Razoric480/fix-vscript-value-by-type-32
...
Add a VScript func to sanitize variant values (3.2)
2020-09-23 09:35:22 +02:00
Rémi Verschelde
79f15027fc
Merge pull request #42146 from Pineapple/fix-custom-modules-vs
...
Fix custom modules in Visual Studio
2020-09-22 12:52:45 +02:00
Fabio Alessandrelli
35fcc1835c
JS synchronous start, better persistent FS sync.
...
The engine now expects to emscripten FS to be setup and sync-ed before
main is called. This is exposed via `Module["initFS"]` which also allows
to setup multiple persistence paths (internal use only for now).
Additionally, FS syncing is done **once** for every loop if at least one
file in a persistent path was open for writing and closed, and if the FS
is not syncing already.
This should potentially fix issues reported by users where "autosave"
would not work on the web (never calling `syncfs` because of too many
writes).
2020-09-19 18:27:21 +02:00
Fabio Alessandrelli
e7d00d08f5
Make canvas resize optional in HTML5.
2020-09-19 18:27:21 +02:00
Fabio Alessandrelli
40f73f74ce
Better HiDPI support in HTML5.
2020-09-19 18:27:21 +02:00
Fabio Alessandrelli
afb81abae5
Window event listener do not use capture.
2020-09-19 18:27:21 +02:00
Fabio Alessandrelli
c0e0247f39
Small refactor to JavaScript handlers.
...
Crated helper class in native/utils.js.
Simplify code in OS/DisplayServer.
2020-09-19 18:27:21 +02:00
Fredia Huya-Kouadio
8d9733f90c
Add overridable init method for the Godot fragment instance.
2020-09-18 16:45:46 -07:00
Fredia Huya-Kouadio
e99dc65b64
Enable the ability to use Godot as a subview within an Android app
...
(cherry picked from commit 920639511d
)
2020-09-18 16:45:40 -07:00
Aman Jain
59da1db188
Add 'Export App Bundle' to Android Export Options
2020-09-18 16:38:30 -07:00
Aman Jain
654342d3bf
refactor apk signing into it's own method
2020-09-18 16:17:31 -07:00
Aman Jain
452af201b0
Write an AndroidManifest.xml file to be merged with app module's manifest.
2020-09-18 16:17:31 -07:00
Aman Jain
a323a1eacd
Added methods to copy project icon files to Gradle project
2020-09-18 16:17:31 -07:00
Aman Jain
ee9127bd20
Create strings.xml files to mimic behavior of _fix_resources method
2020-09-18 16:17:27 -07:00
Aman Jain
824f0b0569
Refactored permissions and command line flags into separate methods
2020-09-18 16:12:15 -07:00
Aman Jain
29a71edd76
Utility methods for writing files to Gradle project.
2020-09-18 16:12:15 -07:00
Fabio Alessandrelli
c610ad3739
Move request_quit to javascript_main.
2020-09-18 18:54:11 +02:00
Bartłomiej T. Listwon
405412938a
Fix custom modules in Visual Studio
...
Without `custom_modules` scons command in VS project was broken
(fixes regression from commit 6122a504ee
)
2020-09-18 18:04:37 +02:00
Francois Belair
d35ced06a6
Add a VScript func to sanitize variant values
...
Backported to 3.2
2020-09-18 11:28:58 -04:00
Rémi Verschelde
c8859f0463
Fix typos with codespell
...
Using codespell 1.17.1.
Method:
```
$ cat > ../godot-word-whitelist.txt << EOF
ang
curvelinear
dof
doubleclick
fave
findn
leapyear
lod
merchantibility
nd
numer
ois
ony
que
seeked
synching
te
uint
unselect
webp
EOF
$ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"
$ git diff // undo unwanted changes
```
2020-09-18 14:09:51 +02:00
Rémi Verschelde
8b5061aae7
X11: Try to load libXrandr.so.3 if libXrandr.so.2 isn't found
...
All Linux distros, and FreeBSD and OpenBSD seem to have libXrandr.so.2,
but for some reason recent NetBSD versions seem to have libXrandr.so.3 now.
(cherry picked from commit 413ff7938d
)
2020-09-18 11:56:42 +02:00
Rémi Verschelde
b73a9109ab
NetBSD: Implement OS_Unix::get_executable_path()
...
Same implementation as OpenBSD seems to work fine.
(cherry picked from commit 01185acecb
)
2020-09-18 11:55:58 +02:00
Rémi Verschelde
cb78a5d7ae
Linux/BSD: Fix support for NetBSD
...
Add __NetBSD__ to `platform_config.h` so that it can find `alloca`
and use the proper `pthread_setname_np` format.
Rename RANDOM_MAX to avoid conflict with NetBSD stdlib.
Fixes #42145 .
(cherry picked from commit 5f4d64f4f3
)
2020-09-18 10:29:52 +02:00
Rémi Verschelde
2d52da7b8f
Bump version to 3.2.4-beta
2020-09-18 08:28:18 +02:00
bruvzg
e51fed9d1b
[3.2] Add window click-through support.
2020-09-17 12:36:01 +03:00
Rémi Verschelde
31d0f8ad8d
Bump version to 3.2.3-stable
...
A fairly big new release fixing many issues all around the engine,
as well as bringing many improvements for C# users.
Thanks to all contributors! <3
2020-09-16 17:12:35 +02:00
Rémi Verschelde
f5d6424648
Add changelogs for 3.2.x releases
2020-09-16 17:11:34 +02:00
Hugo Locurcio
97251c70ec
Mention compatibility-breaking Camera2D offset change in the changelog
...
See https://github.com/godotengine/godot/issues/42088 .
(cherry picked from commit dc1e79589a
)
2020-09-16 16:23:22 +02:00
Hugo Locurcio
939de03db7
Cross-reference AABB getter methods in the documentation
...
This also clarifies that `get_aabb()` returns the AABB in local space.
See https://github.com/godotengine/godot/issues/42095 .
(cherry picked from commit 9712f8fd2d
)
2020-09-16 16:22:39 +02:00
Rémi Verschelde
ee5971a185
Donors: Add Gamblify, remove Interblock from splash screen
...
(cherry picked from commit 92d1964d1a
)
2020-09-16 16:14:31 +02:00
Rémi Verschelde
2179c852da
Merge pull request #42113 from Calinou/deprecate-interpolatedcamera
...
Mark InterpolatedCamera as deprecated
2020-09-16 16:13:28 +02:00
Hugo Locurcio
369e5a7f35
Mark InterpolatedCamera as deprecated
...
InterpolatedCamera has already been removed from the `master` branch.
This adds a deprecation notice to inform people about the upcoming removal
in Godot 4.0.
Its functionality could be replicated in a GDScript add-on with relative
ease.
2020-09-16 15:36:40 +02:00
Rémi Verschelde
16eb7b95be
Merge pull request #42102 from Calinou/doc-animationtreeplayer-deprecation
...
Mention the AnimationTreePlayer deprecation in the class reference
2020-09-16 08:13:27 +02:00
Hugo Locurcio
868776949b
Mention the AnimationTreePlayer deprecation in the class reference
...
There's a node configuration warning already, but you can only
see it after adding the node to your scene.
2020-09-16 00:19:32 +02:00
Fabio Alessandrelli
f1b2a7d1b4
Fix certificate generation with mbedtls 2.16.8 .
...
When generating certificates with
`Crypto.generate_self_signed_certificate` we generate the PEM in a
buffer via `mbedtls_x509write_crt_pem`.
Since version 2.16.8, mbedtls adds spurious data at the end of the
buffer due to internal optimizations, this breaks our logic when we try
to immediately parse it and return a proper `X509Certificate` object.
This commit updates the code to find the actual PEM length to parse
using `strlen`, takes extra caution always adding the terminator to the
buffer, and slightly improve error messages.
(cherry picked from commit 60687ce778
)
2020-09-15 19:27:48 +02:00
Rémi Verschelde
3170ebc0e2
makerst: Add missing newline at EOF
...
(cherry picked from commit d435537f7e
)
2020-09-15 19:26:44 +02:00
Hugo Locurcio
34a0af8343
Clarify that 2D cell sizes are defined in pixels
...
See https://github.com/godotengine/godot/issues/40577#issuecomment-662329021 .
(cherry picked from commit f83249f224
)
2020-09-15 19:26:43 +02:00