Commit Graph

31405 Commits

Author SHA1 Message Date
Fabio Alessandrelli a33635200a
Merge pull request #52603 from Faless/js/3.x_fix_input_buffered
[3.x] [HTML5] Fix input not working when buffered.
2021-09-14 11:48:01 +02:00
Rémi Verschelde f85ad007c0
Merge pull request #52338 from lawnjelly/portals_fix_portal_import
Portals - fix import of portal normal + small bug fixes
2021-09-14 10:21:44 +02:00
Rémi Verschelde 37fab65e00
Merge pull request #52477 from Lauson1ex/3.x
Add a new high quality tonemapper: ACES Fitted (3.x)
2021-09-13 17:37:22 +02:00
Juan Linietsky 42927e8069
Merge pull request #52493 from KoBeWi/this_is_order
Compare connections by object id
2021-09-13 09:02:27 -03:00
Rémi Verschelde 600f2a8d5d
Merge pull request #51927 from 20kdc/issue-51897-sp1
Fix issue #51897 (horizon occlusion causing black blob), fix ver. SP1
2021-09-13 11:44:55 +02:00
Max Hilbrunner 13884099e7
Merge pull request #52616 from Calinou/doc-idle-physics-frames-3.x
Improve documentation for `Engine.get_idle_frames/get_physics_frames()` (3.x)
2021-09-13 02:38:10 +02:00
Hugo Locurcio 31c07bcca7
Improve documentation for `Engine.get_idle_frames/get_physics_frames()` 2021-09-12 23:10:06 +02:00
Fabio Alessandrelli 98b42ca958 [HTML5] Fix input not working when buffered.
After input buffering was reworked, input accumulation is now handled
outside of OS, and the JavaScript plaform never implemented that.
Additionally, the JavaScript platform is quite obnoxious about calling
specific APIs outside specific user triggered events.

This commit adds event flushing during the main iteration, and forces it
during keydown/keyup/mousedown/mouseup/touchstart/touchend/touchcanel
events (effectively only accumulating only "move" events).
2021-09-12 18:42:43 +02:00
Haoyu Qiu 70853fd669 Remove do{ } while(0) wrapper around error macros 2021-09-12 15:04:53 +08:00
JFonS 14eb739418 Fix editor getting stuck after baking lightmaps from a script 2021-09-12 01:01:29 +02:00
Hugo Locurcio 1c63e335b3
Improve the error message about `SCREEN_TEXTURE` being unavailable
This also tweaks the Viewport `usage` property hint to match the
project setting used for the root viewport.
2021-09-11 23:17:07 +02:00
opl- a8a52f576e Fix DynamicFont breaking mouse grab in inspector spinners
This was caused by DynamicFont not specifying which property was edited, resulting in the whole inspector property tree being recreated.
2021-09-11 20:12:44 +02:00
Haoyu Qiu 468a2a2a65 Expose enum related methods in ClassDB 2021-09-11 20:33:29 +08:00
Hugo Locurcio 543c14336d
Tweak the 3D editor inertia defaults for better responsiveness
The default orbit sensitivity was decreased to account for this change.
Rotational inertia (orbit + freelook) was disabled by default due to
known issues.

This also removes the need for separate manipulation inertia settings,
as the default settings are more responsive.
2021-09-10 22:17:04 +02:00
Max Hilbrunner 95162ca393
Merge pull request #52540 from kyoz/3.x
Fix (iOS): Clipboard get/set missing implement
2021-09-10 18:25:56 +02:00
Kyoz 6db3e074c5 fix(ios): Clipboard get/set missing implement 2021-09-10 21:46:54 +07:00
ne0fhyk 0cfbe354d7 Refactor Android platform export structure. 2021-09-09 10:48:29 -07:00
Endri Lauson 077083938e Add a new high quality tonemapper: ACES Fitted 2021-09-08 19:12:09 -03:00
kobewi 02535e7f17 Compare connections by object id 2021-09-08 14:00:29 +02:00
Max Hilbrunner 76693aa364
Merge pull request #52182 from lawnjelly/portals_pvs_enum
Portals - Fix RoomManager PVS enum
2021-09-07 21:23:48 +02:00
Gilles Roudière cf48297ea2
Merge pull request #52047 from nobuyukinyuu/bind-get-tab-idx-at-point
[3.x] Bind TabContainer::get_tab_idx_at_point() to ClassDB
2021-09-07 11:10:27 +02:00
skyace65 b926059f78 Fix EXP range property hint description 2021-09-06 21:29:39 -04:00
Camille Mohr-Daurat 26e6a802c6
Merge pull request #48709 from nekomatata/heightmap-raycast-acceleration-3.x
[3.x] Optimize raycast with large Heightmap shape data
2021-09-06 16:16:06 -07:00
PouleyKetchoupp bb6760a09f Optimize raycast with large Heightmap shape data
Port raycast accelerator from Bullet's btHeightfieldTerrainShape.
2021-09-06 15:59:47 -07:00
PouleyKetchoupp 781b979292 Fix NodePath default argument in mono bindings
Backport from master, mono was generating "" as default argument
instead of (NodePath)"".
2021-09-06 10:46:33 -07:00
Camille Mohr-Daurat 095dea7b71
Merge pull request #48551 from nekomatata/concave-shape-optimization-3.x
[3.x] Optimize area detection and intersect_shape queries with concave shapes
2021-09-06 09:36:27 -07:00
Camille Mohr-Daurat 8608ece42f
Merge pull request #50405 from nekomatata/clean-convex-hull-decomposition-3.x
[3.x] Clean convex hull decomposition code
2021-09-06 09:34:50 -07:00
tommyZZM f2a3af47e4 [3.x] Backport Accept global classes for MainLoop type in project settings
https://github.com/godotengine/godot/pull/41190
2021-09-06 23:18:06 +08:00
Gilles Roudière ac89f9d7d7
Merge pull request #52361 from Calinou/minimap-add-hover-pressed-feedback-3.x
Add visual feedback when hovering or dragging the code minimap grabber (3.x)
2021-09-06 17:02:46 +02:00
Fabio Alessandrelli f09ea4f0c8
Merge pull request #52416 from mbrlabs/fix-warning-spam
Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote
2021-09-05 16:35:21 +02:00
Marcus Brummer d3866d78f2 Initialize n_warnings_dropped to 0 in ScriptDebuggerRemote 2021-09-05 12:20:49 +02:00
Raul Santos cacf3e28fd Add documentation to GodotSharp
- Adds documentation to almost every class and member in `GodotSharp`
- Fixes some old documentation to more closely follow the XML comments convention
2021-09-04 20:15:53 +02:00
Hugo Locurcio 85ebe8e3f6
Add visual feedback when hovering or dragging the code minimap grabber
This makes it more obvious that the minimap grabber can be dragged
to scroll.
2021-09-04 02:25:44 +02:00
Raul Santos d76562ceb9 Fix constant tag documentation in C# bindings generator 2021-09-03 23:02:14 +02:00
Hugo Locurcio ef1c509372
Merge pull request #52241 from Rubonnek/fix-simplify-path-ret
[3.x] Fix `String::simplify_path` return type
2021-09-03 15:49:53 +02:00
Fabio Alessandrelli d136ac7f79
Merge pull request #52343 from Faless/enet/3.x_no_close_error
[3.x] [Net] Silence ENetMultiplayerPeer close_connection.
2021-09-03 10:39:53 +02:00
Fabio Alessandrelli 25f33999af [Net] Silence ENetMultiplayerPeer close_connection.
Used to print an error when it was not active, now it just returns
immediately as per the documentation.
2021-09-02 15:26:23 +02:00
lawnjelly 116e2ce799 Portals - fix import of portal normal + small bug fixes
When converting portal meshes during import, indices were not being taken into account, which could lead to incorrect estimation of the portal direction. This PR now copes with either indexed or non-indexed portal meshes.

Added a bug fix to cope with portals pointing almost directly straight up or down, which could cause problems with the lookat transform.

Added the ability for named portals to link to short room names (in addition to postfix room names).
2021-09-02 10:39:47 +01:00
Fredia Huya-Kouadio 98e1b730c8
Merge pull request #52160 from m4gr3d/update_oculus_vr_configs_3x
[3.x] Update Oculus vr configs
2021-09-01 21:11:29 -07:00
Gilles Roudière e7ad636ef5
Merge pull request #52299 from kleonc/tab_container_drawing_disabled_current_tab_3x
[3.x] TabContainer Fix drawing current tab when it's disabled
2021-09-01 09:15:17 +02:00
kleonc 8004678d57 TabContainer Fix drawing current tab when it's disabled 2021-09-01 04:01:07 +02:00
Bartłomiej T. Listwon 350573a4df Fix buffer creation in light_internal_create() 2021-08-31 08:33:43 +02:00
Camille Mohr-Daurat e44379612d
Merge pull request #45176 from aaronfranke/3.2-kine-dup-lock
[3.x] Fix KinematicBody axis lock
2021-08-30 09:11:44 -07:00
Aaron Franke ee69b57434
[3.x] Fix KinematicBody axis lock 2021-08-29 20:38:09 -05:00
Wilson E. Alvarez f5409e7c3f
Fixed String::simplify_path Variant return type 2021-08-29 20:25:00 -04:00
nobuyuki_nyuu 522af5c614 Bind TabContainer::get_tab_idx_at_point() to ClassDB 2021-08-29 09:11:41 -05:00
David Cambré 0c9947cb2f Fix VisualScriptPropertySet value hint 2021-08-29 15:42:04 +02:00
Twarit Waikar 25cb3edbc4 Fix #52195 VCS script attachment failing for GDScript instances 2021-08-29 18:27:17 +05:30
lawnjelly 7ea35da462 Portals - Fix RoomManager PVS enum
The PVS mode enum had been declared using scope operator, which does not seem to work correctly from GDScript with the BIND_ENUM_CONSTANT macro.

This PR removes the scope operator in the declaration.
2021-08-28 07:27:50 +01:00
Max Hilbrunner 17e61fa0af
Merge pull request #52095 from kleonc/tree-item-drag-drop-drawing-3x
[3.x] Tree Fix line rendering when drag and dropping TreeItem
2021-08-27 20:55:58 +02:00