Fabio Alessandrelli
a6afd70418
Merge pull request #45540 from madmiraal/fix-handling-baseexception-3.2
...
[3.2] Don't handle BaseException in JavaScript build script
2021-01-31 13:40:06 +01:00
Rémi Verschelde
a18a7fbf2d
Merge pull request #45582 from Calinou/doc-webxrinterface-fix-code-sample-3.2
...
Fix WebXRInterface code sample in the class reference (3.2)
2021-01-31 00:26:51 +01:00
Hugo Locurcio
351efc334e
Fix WebXRInterface code sample in the class reference
...
This also fixes the code sample's indentation to look correct in the
editor help.
2021-01-31 00:00:25 +01:00
lawnjelly
00bd087d82
BVH add support for visibility (activation)
...
A major feature lacking in the octree was proper support for setting visibility / activation. This meant that invisible objects were still causing lots of processing in the tree unnecessarily.
This PR adds proper support for activation, items are temporarily removed from the tree and collision detection when inactive.
2021-01-30 13:21:40 +00:00
Rémi Verschelde
19ff78c528
Merge pull request #45530 from lawnjelly/bvh_pair_aabb_fix
...
BVH fix pairing AABB init and mask checks
2021-01-29 15:44:49 +01:00
Rémi Verschelde
06895e0c9e
Merge pull request #45465 from WeaselShoppe/3.2
...
Fix for webgl reflection probes
2021-01-29 09:43:45 +01:00
WeaselShoppe
571430d5cd
glRenderBufferStorage was being passed wrong args
2021-01-28 17:56:44 -06:00
Marcel Admiraal
4616d843ba
Don't handle BaseException in JavaScript build script
2021-01-28 19:43:08 +00:00
Rémi Verschelde
fe4f3ff8bf
Merge pull request #45534 from aaronfranke/3.2-zero-len
...
[3.2] Backport hex_to_int/bin_to_int zero check and C# changes
2021-01-28 16:00:44 +01:00
Aaron Franke
226528097e
[3.2] Backport hex_to_int/bin_to_int zero check and C# changes
2021-01-28 09:24:44 -05:00
lawnjelly
df18f72384
BVH fix pairing AABB init and mask checks
...
Fix bug whereby AABBs were reused from previous items due to use of a pool, resulting in missed collisions.
Also use full mask collision checks for all cases except generic update.
2021-01-28 14:01:03 +00:00
Rémi Verschelde
bc90bcb65c
Merge pull request #45515 from dsnopek/webxr-ar-lose-tracking
...
[3.2] Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
2021-01-28 09:32:46 +01:00
Rémi Verschelde
cea561e461
Merge pull request #45510 from TamplierS1/3.2
...
Fix disconnection between Gizmo and inspector values on BakedLightmap
2021-01-28 08:32:12 +01:00
Azamat Nabiullin
5611a17219
Fix disconnection between Gizmo and inspector values on BakedLightmap
...
After adding `_change_notify("extents");` to `set_extents()` method in `BakedLightmap` class
the issue was fixed
Fix disconnection between Gizmo and inspector values on BakedLightmap
Remove unnecessary `_change_notify("bake_extents")` call from `set_extents()`
2021-01-28 07:03:06 +03:00
David Snopek
5625dc502c
Prevent fatal error in WebXR when 'immersize-ar' loses and regains tracking
2021-01-27 20:22:40 -06:00
Rémi Verschelde
dae72fcdd5
Merge pull request #40629 from HaSa1002/expose-textedit-safe
...
Expose bookmark, breakpoint, and mark safe functions in TextEdit
2021-01-27 23:06:45 +01:00
HaSa1002
4ff0df702d
Expose bookmark, breakpoint, and mark safe functions in TextEdit
2021-01-27 22:41:07 +01:00
Rémi Verschelde
987be3eeb7
Merge pull request #45513 from godotengine/revert-45480-ios_arm64_sim_3
...
Revert "[3.2] Add separate `simulator` flag for iOS build, change main library to `xcframework`."
2021-01-27 22:40:52 +01:00
Rémi Verschelde
c2ea80348c
Revert "[3.2] Add separate `simulator` flag for iOS build, change main library to `xcframework`."
2021-01-27 21:53:16 +01:00
Rémi Verschelde
9ba95970ad
Merge pull request #45445 from dsnopek/webxr-mono
...
[3.2] Support mono devices in WebXR
2021-01-27 21:11:56 +01:00
Rémi Verschelde
7595228794
Merge pull request #45509 from KoBeWi/scaled_poop
...
Fix popup_centered() for scaled popups
2021-01-27 19:02:18 +01:00
Rémi Verschelde
27b22fdb6c
Merge pull request #45507 from lawnjelly/bvh_fix_pairing_stale
...
BVH fix stale changed items, causing dangling pairs
2021-01-27 18:37:02 +01:00
kobewi
a7a490e650
Fix popup_centered() for scaled popups
2021-01-27 18:12:09 +01:00
lawnjelly
ba5e4d8baa
BVH fix stale changed items, causing dangling pairs
...
In the octree collisions are flushed as objects are moved, whereas in the BVH they are usually flushed once per frame.
This was causing problems in the render tree in some rare situations where objects were being created (perhaps deleted and recreated using the same handle in the same frame). This PR flushes the collisions before creating objects, and set_pairable.
set_pairable may not be necessary but it is done for safety until proven not necessary.
Also a small potential for a bug is closed in remove_unordered use.
2021-01-27 16:14:32 +00:00
Yuri Roubinsky
4ae5aa0153
[3.2] Fix particles not properly modified by their lifetime
2021-01-27 16:32:21 +03:00
Rémi Verschelde
98666f9855
Bump version to 3.2.4-rc
2021-01-27 12:47:30 +01:00
Rémi Verschelde
354ea90b5a
Merge pull request #45485 from akien-mga/3.2-cherrypicks
...
Cherry-picks for the 3.2 branch (future 3.2.4) - 18th batch
2021-01-26 22:24:10 +01:00
Sergey Minakov
d2af815039
[iOS] Rework push notification methods usage
...
Moved AppDelegate push notifications methods implementation to 'GODOT_ENABLE_PUSH_NOTIFICATIONS'
which can be used in plugins to implement APNS plugins.
(cherry picked from commit 366ce084f4
)
2021-01-26 22:11:10 +01:00
Rémi Verschelde
3f3130648a
i18n: Sync translations with Weblate
2021-01-26 22:10:30 +01:00
hoontee
32d1efdb21
Do not clear materials when setting mesh
...
(cherry picked from commit 6e2a55c464
)
2021-01-26 22:10:30 +01:00
Hugo Locurcio
eb0ca31ac1
Add an `OS.get_thread_caller_id()` method
...
This can be used to print thread IDs in logs. This can make it easier
to debug multi-threaded applications.
Co-authored-by: Khaos <khaos@khaos-coders.org>
(cherry picked from commit 35b046ddf7
)
2021-01-26 22:10:30 +01:00
Hugo Locurcio
1c9ee4baa2
Improve the `Array.hash()` documentation
...
Co-authored-by: Laguzus <67963093+Laguzus@users.noreply.github.com>
(cherry picked from commit 435848192e
)
2021-01-26 22:10:30 +01:00
geekrelief
311ca0c6f2
Removes the gdnative library when no script (gdns) references it any longer. This enables hot reload for gdnative.
...
(cherry picked from commit cc5d8bb5ad
)
2021-01-26 22:10:29 +01:00
kobewi
7ede2f36fe
Allow to override drop data in LineEdit
...
(cherry picked from commit a3a31591b5
)
2021-01-26 17:24:55 +01:00
Andrii Doroshenko (Xrayez)
0ff0fdef5c
Document shape metadata for `TileMap`
...
(cherry picked from commit 0c2dbd01dc
)
2021-01-26 17:24:39 +01:00
Vedat Günel
39cf22a9c7
Fix String.ends_with() for empty string arguments
...
(cherry picked from commit 1d0437c95b
)
2021-01-26 17:00:17 +01:00
Michael Alexsander
6cc6dce9c1
Update path in the FileSystem dock after doing file operations
...
(cherry picked from commit b3b455c167
)
2021-01-26 17:00:17 +01:00
Hugo Locurcio
76bd7d796b
Make Range return 1.0 ratio if minimum and maximum values are equal
...
An error message is also no longer printed.
This matches the behavior found in most UI frameworks where having
equal minimum and maximum values is considered acceptable.
This closes #43179 .
(cherry picked from commit 44204ec32d
)
2021-01-26 17:00:17 +01:00
Aaron Franke
0e45fb9798
Move the asset library API URLs to the Editor Settings
...
(cherry picked from commit 925d28e822
)
2021-01-26 17:00:17 +01:00
Hugo Locurcio
3a3e796485
Check for clang-format version in the pre-commit hook
...
Different clang-format versions may result in different formatting.
Therefore, it's recommended to use the same version as used in CI.
(cherry picked from commit 3333b58a7f
)
2021-01-26 17:00:17 +01:00
Ignacio Etcheverry
44d8669364
C#: Fix System.Collections.Generic.List marshalling
...
(cherry picked from commit da90364adf
)
2021-01-26 17:00:17 +01:00
gongpha
47fc3f73ac
Fix crash on FileSystemDock's tree when trying to collapse or expand folder
...
(cherry picked from commit e6145027ef
)
2021-01-26 17:00:17 +01:00
Hugo Locurcio
9a3c5033f7
Document the expected low performance of VideoPlayer on HTML5
...
(cherry picked from commit b98540dd9d
)
2021-01-26 17:00:17 +01:00
Hugo Locurcio
e2a2005a48
Document low performance of `Array.push_front()` and `Array.pop_front()`
...
(cherry picked from commit 7ce3cc0478
)
2021-01-26 17:00:16 +01:00
Hugo Locurcio
af891cebe4
Document that the high-level multiplayer API is only for Godot servers
...
(cherry picked from commit 1b03f3f72b
)
2021-01-26 17:00:16 +01:00
Nils Reid
349f25429b
Exposed find_next_valid_focus and find_prev_valid_focus.
...
(cherry picked from commit 3e94c23fa5
)
2021-01-26 17:00:16 +01:00
Hugo Locurcio
22bb9fcd82
Document a built-in use of `Resource.resource_name`
...
(cherry picked from commit 1a606b1a04
)
2021-01-26 17:00:16 +01:00
Ryan Roden-Corrent
c31bb02a3e
Clarify that create_timer does not require cleanup.
...
This is how I would expect it to work, but the docs didn't clarify, so I
had to check the source just to make sure I wasn't responsible for
freeing the timer:
d39f6386ce/scene/main/scene_tree.cpp (L473)
(cherry picked from commit 6e7e4f82ec
)
2021-01-26 17:00:16 +01:00
Maganty Rushyendra
533a8cabcc
Ensures that export path is used when exporting PCK/ZIP
...
(cherry picked from commit 3a6c14e5c4
)
2021-01-26 17:00:16 +01:00
Michael Alexsander
3c778f40e1
Ignore clangd 11+ cache folder
...
(cherry picked from commit ff1d636385
)
2021-01-26 17:00:16 +01:00