Commit Graph

32866 Commits

Author SHA1 Message Date
lawnjelly cb108fb4f8 Portals - improve STATIC bounds on conversion
Introduces fallback path for geometry types that are not recognised.
Allows STATIC mode for CPUParticles (using expansion margin)
Allows STATIC mode for Particles (using "visibility_aabb")
2022-02-22 10:00:17 +00:00
Bastiaan Olij 7e2c4aac7e Fix external textures not working correctly with viewport texture 2022-02-22 14:24:34 +11:00
Rémi Verschelde 1bbf46bfba
Merge pull request #58391 from rburing/cull_aabb_for_body_once_3.x 2022-02-21 15:16:59 +01:00
Ricardo Buring e6f1a44b4d In final phase of test_body_motion, move and cull AABB for body once instead of for every shape 2022-02-21 15:03:09 +01:00
Rémi Verschelde 4e44a15176
Merge pull request #58386 from KoBeWi/fix3bility 2022-02-21 12:33:28 +01:00
Rémi Verschelde c221539207
Merge pull request #58387 from lawnjelly/fti_jitter_fix 2022-02-21 12:18:26 +01:00
lawnjelly b90f1a3ec0 Disable jitter fix when physics interpolation is enabled. 2022-02-21 10:32:42 +00:00
kobewi fdded6b44d Fix 2D instance drop position
(cherry picked from commit 3a9fb3aff0)
2022-02-21 11:14:54 +01:00
Markus Sauermann 156d9d1643 simplify calculation of max in grayscale
(cherry picked from commit 79a75cd683)
2022-02-21 11:12:54 +01:00
Rémi Verschelde 0d8fa9baca Sync controller mappings DB with SDL2 community repo
Synced with gabomdq/SDL_GameControllerDB@94b76208bc

(cherry picked from commit e3d89a76f7)
2022-02-21 11:11:36 +01:00
kobewi 642591b6a9 Fix CanvasItem visibility propagation 2022-02-21 11:11:03 +01:00
Powerbyte7 52ce161787 [HTML5] Add Stadia controller to database
Add web support for the Stadia controller.

(cherry picked from commit b8a7ea034c)
2022-02-21 11:10:35 +01:00
Rémi Verschelde fe8ea0de5b
Merge pull request #58295 from Pineapple/ustring-optimizations
Optimize String concatenation and copy functions
2022-02-21 08:45:23 +01:00
Haoyu Qiu 2e75471a48 Fix GLTF exporter crash when using GridMap 2022-02-20 22:02:23 +08:00
Mai Lavelle 2c00b90613 Fix deleting of directories on Linux
Trailing slash of directories was mishandled, and incorrect derived paths
were formed. Stripping the slash fixes this.
2022-02-20 08:43:44 -05:00
Bartłomiej T. Listwon 66085e210e Optimize String::copy_from(const CharType &p_char) 2022-02-20 12:47:35 +01:00
Bartłomiej T. Listwon 3d35f29f27 Optimize String::copy_from_unchecked 2022-02-20 12:47:35 +01:00
Bartłomiej T. Listwon 069e8f32d8 Optimize String::operator+= and CharString::operator+= 2022-02-20 12:47:22 +01:00
Rémi Verschelde 6071d78ba1
Merge pull request #57165 from winterpixelgames/3.x-allow-disable-alpha-trim-texture-atlas 2022-02-20 12:43:58 +01:00
Jason Knight 177041b968 Allow disabling the alpha trim on texture atlas creation.
Default to true
2022-02-19 14:01:30 -06:00
Hugo Locurcio cfba65fa23 Expose `AudioServer.capture_device` as a property
This is more consistent with `AudioServer.device` (for output),
which is already exposed as a property.

(cherry picked from commit 1d35b37499)
2022-02-19 15:57:36 +01:00
Ricardo Subtil 60f9c0fb42 Fix decompression functions not returning errcodes
(cherry picked from commit 61790a03f5)
2022-02-19 15:50:38 +01:00
Hugo Locurcio 92e6c2a33d Use versioned URL for "Online Documentation" buttons in the editor
This also avoids a redirect, making the page appear to load faster.

(cherry picked from commit 958912a33f)
2022-02-19 15:49:26 +01:00
Haoyu Qiu f61ce6ee89 Fix wording in AnimationNode classref
(cherry picked from commit bc37b0508b)
2022-02-19 15:45:43 +01:00
Sergey Minakov 4282076ab5 [iOS] Fix incorrect method name for input dragging event
(cherry picked from commit 8b3ac9479e)
2022-02-19 15:40:01 +01:00
Rémi Verschelde 3e0f380c90
Merge pull request #58292 from Calinou/doc-voxelgi-procedural-bake-deferred-3.x
Document that meshes and lights must be fully set up before baking GIProbe
2022-02-18 21:58:20 +01:00
Hugo Locurcio def35898e4
Document that meshes and lights must be fully set up before baking GIProbe 2022-02-18 21:42:06 +01:00
Rémi Verschelde 7384475493
Merge pull request #58271 from timothyqiu/visible-propagate-fix 2022-02-18 13:19:42 +01:00
Haoyu Qiu 85be83ebbb Fix typo in CanvasItem visibility propagation backport 2022-02-18 19:12:29 +08:00
Rémi Verschelde e2287a201a
Merge pull request #58253 from mbrlabs/deselect-3x 2022-02-17 20:32:38 +01:00
Rémi Verschelde 453dc482e2
Merge pull request #58252 from mbrlabs/region-select-3x 2022-02-17 20:32:25 +01:00
Rémi Verschelde 516e1ff537
Merge pull request #58254 from Calinou/editor-use-anchors-metadata-no-redundant-3.x 2022-02-17 20:31:57 +01:00
Hugo Locurcio 3b25190494
Only store `_edit_use_anchors_` metadata if value is not the default
The default value is assumed to be `false`, so this metadata
only needs to be stored if the value is `true`.
2022-02-17 20:13:28 +01:00
Marcus Brummer d9c99f64c1 Improved region-select in the 3D editor viewport
Enable region-select when dragging the mouse. Previously this was only possible when the mouse was not over a mesh.
2022-02-17 19:49:39 +01:00
Marcus Brummer 67b879edbd Deselect nodes in the 3D editor when pressing ESC 2022-02-17 19:43:35 +01:00
Rémi Verschelde 747d11b5b9
Merge pull request #57942 from pycbouh/theme-type-variations-3.x 2022-02-17 16:42:49 +01:00
Yuri Sizov df13466139 Add type variations to Theme 2022-02-17 15:24:10 +03:00
Rémi Verschelde 47e34dc4e2
Merge pull request #58157 from Calinou/os-add-get-processor-name-3.x 2022-02-17 12:34:16 +01:00
Hugo Locurcio ac0d37dcef
Add a property hint for the Line2D Round Precision property
This prevents choosing extremely high values which cause performance
issues for no visual benefit.

(cherry picked from commit 6b52aa67b8)
2022-02-17 09:59:28 +01:00
Haoyu Qiu d09a023339
Translate link titles in classref XML
(cherry picked from commit 7d05a066e3)
2022-02-17 09:59:28 +01:00
Haoyu Qiu c9f9e06775
Fix documentation about TreeItem button ID
(cherry picked from commit bb766a8fb6)
2022-02-17 09:59:28 +01:00
Haoyu Qiu 0f76143444
Make VMap::find_nearest return -1 when empty
(cherry picked from commit 3057b19daa)
2022-02-17 09:59:28 +01:00
Haoyu Qiu 9135074cc2
Fix VisualScript crash when using Set Index node
(cherry picked from commit 1262d331c0)
2022-02-17 09:54:36 +01:00
Wagner Scholl Lemos 2ed43f940b
Added show and hide methods and updated doc API.
(cherry picked from commit 160ee4ef8e)
2022-02-17 09:52:47 +01:00
Rémi Verschelde cb7c2db4e4
Merge pull request #58188 from timothyqiu/type-icons
[3.x] Backport editor type icons
2022-02-17 09:17:30 +01:00
Rémi Verschelde 125e419f61
Merge pull request #35316 from Calinou/contact-shadows-hide-from-editor
Document Light contact shadows often looking broken
2022-02-17 07:37:45 +01:00
Rémi Verschelde 89d34c8abd
Merge pull request #58220 from timothyqiu/bbcode-tag-3.x
[3.x] Fix mismatched BBCode tags in classref
2022-02-17 07:27:36 +01:00
Haoyu Qiu 8f14941ffd Fix mismatched BBCode tags in classref 2022-02-17 10:19:28 +08:00
Hugo Locurcio 9171737e2b
Document Light contact shadows often looking broken 2022-02-17 02:04:07 +01:00
Rémi Verschelde 3a6e250174
Merge pull request #58198 from timothyqiu/two-way 2022-02-16 19:07:09 +01:00