Commit Graph

3428 Commits

Author SHA1 Message Date
f4339d2a49 Ported: CPUParticles2D - fix interpolated transforms and culling
1) Physics interpolated particles in global mode are specified in global space. In VisualServer they should therefore ignore local transform.
2) Additionally, the expected final_transform should be passed on to children, rather than the identity transform used on the local item.
3) Local bounds in hierarchical culling are fixed for items using identity transform, by calculating their local bound in local space from the global space particles.
- lawnjelly
723632a76a
2023-10-02 17:32:07 +02:00
a4b475b6b4 Fix compile error. 2023-10-02 17:28:21 +02:00
88e7cc8776 Fix compile errors. 2023-10-02 17:11:37 +02:00
9022a74db3 Ported from godot: Fix Android input routing logic when using a hardware keyboard
When a hardware keyboard is connected, all key events come through so we can route them directly to the engine.
This is not the case for soft keyboards, for which the current logic was designed as it requires extra processing.
- m4gr3d
620fdd1f07
2023-10-02 17:10:27 +02:00
Haoyu Qiu
e3dd88e9ec Fix PopupMenu icon and text not having separation 2023-10-02 16:56:58 +02:00
风青山
f7f7c17962 BVH - fix axis getting mixed up when split leaf
Split preferentially on longest axis, rather than shortest axis.
2023-10-02 16:56:12 +02:00
风青山
1813300d53 BVH - fix not refitting upward from leaf nodes
Fix leaf node possibly not updating aabb due to wrong node id.

Additionally, when requesting a new leaf, mark `dirty` as `false` in `clear()`.
2023-10-02 16:55:52 +02:00
bruvzg
fa582212c4 Workaround Xcode 15 linker bug. 2023-10-02 16:54:52 +02:00
bruvzg
51d6403385 Change target version to 11.0+ to fix PCRE SLJIT build. 2023-10-02 16:54:20 +02:00
lawnjelly
994ae99f62 Physics Interpolation - automatic resets for Camera2D and TileMap.
Extra reset required for Camera2D. TileMaps require resetting by quadrant.
2023-10-02 16:50:50 +02:00
lawnjelly
a09c3891db CPUParticles - fix non-interpolated NOTIFICATION_TRANSFORM
Updates global particle transforms immediately on receiving notification, to match legacy behaviour.
2023-10-02 16:47:45 +02:00
bruvzg
0dce2349c0 Disable live resize in multithreaded rendering mode. 2023-10-02 16:42:54 +02:00
Hugo Locurcio
a80ecfcd3a Mark debugger limits settings as requiring a restart
These settings are only read once on engine initialization.
2023-10-02 16:42:00 +02:00
MJacred
519d0647fd Fix cursor after last character in line counting as a character outside of the viewing area
The cursor column can be after the last_visible_char index and still be visible.
2023-10-02 16:40:26 +02:00
Rémi Verschelde
43ba59106a mbedtls: Fix UWP arm32 build after 2.28.3 enabled AES-NI intrinsics on MSVC 2023-10-02 16:36:53 +02:00
A Thousand Ships
3f6fdafd41 Make TextureButton and Button update on texture change 2023-10-02 16:32:02 +02:00
Wilson E. Alvarez
8aa9b59eaf Fix AudioEffectRecord circular reference 2023-10-02 16:29:43 +02:00
Danil Alexeev
2d4e9c4656 Core: Add recursion level check for VariantWriter::write() 2023-10-02 16:25:48 +02:00
Haoyu Qiu
30376f7079 Fix TouchScreenButton not redrawn when texture changes
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-10-02 16:23:16 +02:00
SysError99
d7575edb2d Fix JavaScript callback memory leak 2023-10-02 16:18:41 +02:00
4b4e508dab Moved the toplevel property from CanvasItem to Node2D, as it can cause issues with Popups. 2023-09-27 01:15:38 +02:00
4faeb67438 Implemented getting users using their email from the UserDB. 2023-09-22 16:33:21 +02:00
56ae9e3734 Fix typos. 2023-09-22 16:21:37 +02:00
b81253b22d Removed the text from the layouts buttons in the CanvasItemEditor. 2023-09-22 12:46:06 +02:00
443cfea5b2 Fix built in resource drag&drop and scene quick instancing in the editor. 2023-09-22 11:09:41 +02:00
3317240135 Removed the entire funding.yaml file. 2023-09-13 18:24:32 +02:00
036a4b9b6d Removed funding links. 2023-09-13 18:23:36 +02:00
840e36c341 Only update the RenderingServer from the Main Thread while in debug break. 2023-09-10 22:49:21 +02:00
e98b2a954b Don't use ERR_FAIL in SubProcessUnix::stop(). 2023-09-10 22:26:30 +02:00
587e896daf Fix drag and drop for custom script exported resource classes. 2023-09-10 22:24:52 +02:00
5c1254e429 Implemented custom script class types for EditorQuickOpen. 2023-09-10 22:19:26 +02:00
2199cba049 Fix compile error. 2023-09-10 15:12:26 +02:00
84ccfb340a Fix compile errors. 2023-09-10 15:03:32 +02:00
c380bd6587 More include juggling. 2023-09-10 14:59:32 +02:00
ca326971a4 More missing includes. 2023-09-10 14:53:45 +02:00
33c1b9c50f Added all os windows the includes temporarily to the sub process class. 2023-09-10 14:45:12 +02:00
3214cac8a6 Try to fix windows includes. 2023-09-10 14:37:48 +02:00
5e4b583b32 Added sub_process_windows.cpp to the build. 2023-09-10 14:18:18 +02:00
96470d4743 Fix template deduction. 2023-09-10 14:06:00 +02:00
8dab74a7d2 Fix missing include. 2023-09-10 14:05:09 +02:00
d9f09d86d3 Made emscripten guards consistent in SubProcessUnix. 2023-09-10 13:32:47 +02:00
25533eed23 Implemented SubProcessWindows. It will likely have issues / not compile. 2023-09-10 13:30:56 +02:00
4a6868b79d Removed commented code. Also call stop() in SubProcessUnix's destructor. 2023-09-10 13:28:06 +02:00
a0a84c4987 Return early in SubProcessUnix::start() if the executable path is empty. 2023-09-10 12:39:29 +02:00
ca105c2f88 Added class docs for the new SubProcess class. 2023-09-10 12:37:33 +02:00
5fd0326745 Added a new SubProcess class with a Uniz backend for better process control. 2023-09-10 12:19:51 +02:00
3cfe43b5e8 Updated an another missing OS.run() call. 2023-09-10 10:26:05 +02:00
1877ecd379 Fix warning. 2023-09-10 09:59:50 +02:00
e3e6e9e231 Bind missing method in NavigationServer. 2023-09-10 08:44:29 +02:00
70db9caf20 Re-extracted class docs. Also fixed smaller issues. 2023-09-10 08:42:24 +02:00