Commit Graph

32797 Commits

Author SHA1 Message Date
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
Hugo Locurcio
7f9e974a8b
Add an OS.get_processor_name() method
This method can be used to get the CPU model name.
It can be used in conjunction with
`VisualServer.get_video_adapter_name()` and
`VisualServer.get_video_adapter_vendor()` for annotating benchmarks
and automatic graphics quality configuration.
2022-02-16 18:39:02 +01:00
Rémi Verschelde
6bf0503c6e
Merge pull request #58195 from pycbouh/vcs-plugin-dont-translate-numbers-3.x 2022-02-16 18:32:07 +01:00
Haoyu Qiu
0e9a9a7ee2 Fix description of OccluderShapePolygon.two_way 2022-02-17 01:21:32 +08:00
Yuri Sizov
a91a24f822 Don't translate numbers in VersionControlEditorPlugin 2022-02-16 19:53:27 +03:00
Haoyu Qiu
5688ca688c Backport editor type icons
Co-authored-by: FireForge <isaacr.7.2005@gmail.com>
2022-02-16 23:36:51 +08:00
Rémi Verschelde
2dd545b512
Merge pull request #58141 from lawnjelly/occluder_shared_resources 2022-02-16 13:29:55 +01:00
Rémi Verschelde
7974ea4876
Merge pull request #52846 from lawnjelly/fixed_timestep_simple 2022-02-16 13:29:37 +01:00
lawnjelly
3c2df49832 Fix Occluder to properly share resources
In order to properly support the resource sharing paradigm, Occluders are split into Instances and Resources in the VisualServer. Instances are owned by a Scenario, and Resources are global. OccluderShape resources can now correctly be shared by multiple OccluderInstances.
2022-02-16 09:55:11 +00:00
lawnjelly
522bce1159 Fixed Timestep Interpolation (3D)
Adds fixed timestep interpolation to the visual server.
Switchable on and off with project setting.

This version does not add new API for set_transform etc, when nodes have the interpolated flag set they will always use interpolation.
2022-02-16 09:41:23 +00:00
Rémi Verschelde
9cb169504a
i18n: Sync classref translations with Weblate 2022-02-16 10:04:37 +01:00
Rémi Verschelde
9f09251027
i18n: Sync editor translations with Weblate
Minor proofreading of new OSX export strings.
2022-02-16 09:55:45 +01:00
Rémi Verschelde
609209ab80
Merge pull request #58171 from timothyqiu/gridmap-used-id-3.x
[3.x] Add `GridMap.get_used_cells_by_item`
2022-02-16 08:07:18 +01:00
Haoyu Qiu
b2c012a8c8 Add GridMap.get_used_cells_by_item 2022-02-16 13:03:50 +08:00
Rémi Verschelde
685d4b4739
Merge pull request #58150 from lawnjelly/draw_gui_primitive_fix 2022-02-15 18:34:14 +01:00
lawnjelly
3dc0e97d05 Fix incorrect buffer upload size in GLES2 draw_gui_primitive
The buffer upload size appears to have been incorrect for quite some time, which causes uploading from undefined memory.
2022-02-15 17:24:51 +00:00
Rémi Verschelde
9343c66815
Merge pull request #58102 from JFonS/big_lightmap 2022-02-15 17:47:20 +01:00
JFonS
690f9716fa Add support for saving multiple Images in BakedLightmap
Instead of fitting all atlas slices into a single image, which meant there
was a hard limit on the size, BakedLightmap will now save as many images
as needed to fit all the slices generated by the lightmapper.
2022-02-15 16:13:00 +01:00