Commit graph

31268 commits

Author SHA1 Message Date
Lewis Pollard 4e68f089e0
Fix is_playing() method in AnimatedSprite3D
(cherry picked from commit 2450173495)
2021-09-14 13:41:26 +02:00
Gilles Roudière b0cb253a51
Fix LocalVector crash on insert.
(cherry picked from commit de0765b94a)
2021-09-14 13:41:26 +02:00
Raul Santos 6a7ca43297
Expose String.SimplifyPath in C#
(cherry picked from commit 126b1ea149)
2021-09-14 13:41:26 +02:00
Hugo Locurcio 9aee1a3992
Document Image.generate_mipmaps() always running on the main thread
(cherry picked from commit 30a88f464b)
2021-09-14 13:41:26 +02:00
Hugo Locurcio 4d94aba0ed
Improve crash handler message display
- State the Godot version and full hash in the backtrace.
- Add decoration around the crash backtrace, both to make it stand out
  from other messages and help the user figure out what they should copy.

(cherry picked from commit 8556dd1bef)
2021-09-14 13:41:26 +02:00
Paul Joannon e2b71de38b
Improve C# method listing
- implement CSharpInstance::get_method_list
- loop through parent classes in CSharpInstance::get_method_list and CSharpScript::get_script_method_list (#46408)

(cherry picked from commit 19f25b6847)
2021-09-14 13:41:26 +02:00
Hugo Locurcio d1a4cb2bea
Print colored diffs when there are formatting failures in CI
This makes diffs more readable in CI logs.

(cherry picked from commit 38424714b1)
2021-09-14 13:41:26 +02:00
Duarte David c4d0074aae
Fixes the normals of SphereMesh when the sphere/hemisphere is oblong
(cherry picked from commit f4ac08a182)
2021-09-14 13:41:26 +02:00
Haoyu Qiu 930a1ea746
Make RichTextLabel honour default cursor shape property
(cherry picked from commit d12cceadd2)
2021-09-14 13:41:26 +02:00
LoipesMas 7f0094ca9f
Add note about batching to Line2D's anti-aliasing
(cherry picked from commit b047430702)
2021-09-14 13:41:25 +02:00
Marcus Brummer 128208d1d0
Check if vibration duration is > 0 on Android
(cherry picked from commit 47f338fc12)
2021-09-14 13:41:25 +02:00
Vincent ea13ff860d
implement individual mesh transform for meshlibrary items
(cherry picked from commit 70108fd850)
2021-09-14 13:41:22 +02:00
Kerrad Yanis 77b00d16e2 Fix 3D Onion skinning missing 2021-09-14 13:37:23 +02:00
Rémi Verschelde 73345e1514
Merge pull request #52217 from ChronicallySerious/fix-vcs-script-attachment
Fix VCS script attachment when using GDScript VCS plugins
2021-09-14 13:13:07 +02:00
Rémi Verschelde bd7394a105
Merge pull request #52219 from Gallilus/Fix-VisualScriptPropertySet-value-property-hint-3x
[3.x] Fix VisualScriptPropertySet value hint
2021-09-14 12:49:43 +02:00
lawnjelly d878fe7b90 Sphere occluders - self occlusion and improvements
Sphere occluders are now tested for self occlusion. Spheres that are behind another sphere in the current view are superfluous so can be removed, cutting down on the runtime calculations.

AABBs are now maintained for Occluders as well as individual spheres, meaning a bunch of occluder spheres can be frustum rejected as a block.
2021-09-14 11:31:14 +01:00
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