Commit graph

34374 commits

Author SHA1 Message Date
Jamie Pate
562d7c616d Improve performance of screen_get_dpi() in Javascript
Replace a bisect with a single multiplication when calling
screen_get_dpi() in Javascript

Tested the value of
window.matchMedia(`(resolution:${(window.devicePixelRatio*96).toFixed(100)}dpi)`).matches
which is true except for values that cause a lot of rounding errors
(e.g. dpr : 0.3  => resolution: 28.799999999999997dpi)

Even in these cases the value matches the result of the previous
`findDPI()` method.

See also:

6cff589b5b (r81273660)
(cherry picked from commit c2e3971013)
2022-08-24 17:16:33 +02:00
bitsawer
c8810395a2 Fix Windows list dir handle leak
(cherry picked from commit 40325006b6)
2022-08-24 17:16:18 +02:00
Micky
cfa9b772da Improve documentation of CanvasItem's draw logic
(cherry picked from commit 953c78eaff)
2022-08-24 17:15:56 +02:00
kobewi
a0fc7e80d9 Mention the stretching behavior of PopupPanel
(cherry picked from commit a2b088b1c1)
2022-08-24 17:15:23 +02:00
Pedro J. Estébanez
457a985d70 Fix jumbled error output when using Windows spawn fix
(cherry picked from commit 4a3cb14473)
2022-08-24 17:14:30 +02:00
Pedro J. Estébanez
0876491983 Clean iOS platform config of long gone macro
(cherry picked from commit 8c2a577350)
2022-08-24 17:13:21 +02:00
Michael Alexsander
b808923b54 Fix error when switching to another GridMap with an item with higher index selected
(cherry picked from commit fe16aecbac)
2022-08-24 17:12:44 +02:00
Dan Boorstein
09fb05bc05 Add note about using AudioListener2D
There was no mention of the effect of AudioListener2D in this documentation, making it unclear if there was a relationship. The new text is copied and modified from the AudioStreamPlayer3D documentation.

Use 'an' as article before 'AudioListener3D'

(cherry picked from commit a7ebc6fb18)
2022-08-24 17:12:17 +02:00
Marlin Watts-Woods
ddb568731a Added to Sprite3D Documentation
(cherry picked from commit f8f665b03e)
2022-08-24 17:10:08 +02:00
Hugo Locurcio
637330b866 Improve InstancePlaceholder documentation
(cherry picked from commit 5acf30b538)
2022-08-24 17:08:55 +02:00
Aaron Franke
284af7be96 Allow exporting PCK files without export templates installed
(cherry picked from commit 8d81ce9561)
2022-08-24 17:08:47 +02:00
Rémi Verschelde
ecc32f8b3e
Merge pull request #64772 from akien-mga/3.x-fix-vs-delete-crash
Fix VisualScript editor crash when deleting selected nodes
2022-08-24 09:52:46 +02:00
Rémi Verschelde
2960d29222
Merge pull request #64790 from akien-mga/3.x-nanosvg-2022-08-13
nanosvg: Sync with upstream bd16c4e
2022-08-24 00:43:21 +02:00
Marcin Nowak
90762b9660 [3.x] Backport panning strength parameters from 4.0 2022-08-23 23:27:51 +02:00
Rémi Verschelde
ac9bdabe5b
Merge pull request #50180 from Calinou/gpu-particles-improve-visibility-generation-3.x 2022-08-23 21:38:28 +02:00
Rémi Verschelde
052257e9b7 nanosvg: Sync with upstream bd16c4e 2022-08-23 16:57:31 +02:00
Rémi Verschelde
c52cada7a0
Merge pull request #64413 from m4gr3d/fix_get_current_dir_3x 2022-08-23 16:15:26 +02:00
Hugo Locurcio
cf002d4a99
Improve visibility rect/AABB generation usability in Particles
- Don't display the time dialog if the automatically calculated
  generation time is short enough.
- Clarify the purpose of waiting in the progress dialog.
2022-08-23 14:25:06 +02:00
Rémi Verschelde
ceef056146 Mono: Show custom error explaining that UWP is not supported
Fixes #64490.
2022-08-23 13:21:10 +02:00
Rémi Verschelde
13d1ee6058 Fix VisualScript editor crash when deleting selected nodes
Fixes #64662.
Regression from #61145.
2022-08-23 10:59:37 +02:00
Rémi Verschelde
aeabd3dcb9
Merge pull request #64740 from Calinou/doc-anisotropic-filter-3.x
Improve documentation related to anisotropic filtering (3.x)
2022-08-23 09:16:55 +02:00
Rémi Verschelde
39ac24e278
Merge pull request #64745 from bruvzg/fix_mixed_font_color3
[3.x] Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data.
2022-08-23 07:46:51 +02:00
Rémi Verschelde
67cc142002
Merge pull request #64460 from raulsntos/mono_assembly_name-3.x 2022-08-22 22:38:25 +02:00
Rémi Verschelde
3f82c157af
Merge pull request #64375 from RandomShaper/inheritable_cl_args_3.x 2022-08-22 22:29:01 +02:00
Rémi Verschelde
812caa5f44
Merge pull request #58601 from Calinou/material-triplanar-sharpness-clamp-3.x 2022-08-22 22:21:59 +02:00
bruvzg
4d0c0f3ffa
Fix color modulation of the grayscale glyphs in font with mixed color / grayscale data. 2022-08-22 20:39:29 +03:00
Hugo Locurcio
d2ef3bf8a6
Improve documentation related to anisotropic filtering 2022-08-22 18:40:40 +02:00
Michael Alexsander
73470e1b16 Expose set/get_tab_button_icon() to scripting 2022-08-22 11:08:38 -03:00
Yuri Sizov
cdced052f0
Merge pull request #64560 from olibombardier/has-filter-virtual
Fix has_filter of AnimationNode not being called in scripts
2022-08-22 16:07:46 +03:00
Olivier Bombardier
c988deb3b1 Fix has_filter of AnimationNode not being called in scripts 2022-08-21 17:37:59 -04:00
Fredia Huya-Kouadio
b5e1096c61 Fix issue with get_current_dir() returning the wrong path on Android 2022-08-19 20:32:55 -07:00
Michael Alexsander
50506e19a6 Make Menu/OptionButton item auto-highlight behave better 2022-08-19 15:19:34 -03:00
Nathan Franke
da3aecff01
3.x: ios: force app store icon to be opaque, use proper errors, fix memory leak 2022-08-19 13:18:01 -05:00
Max Hilbrunner
502a6a7cfa
Merge pull request #64611 from YuriSizov/docs-naps-and-lines-3.x
[3.x] Backport fixes to documentation for paths, curves and navigation servers
2022-08-19 18:06:33 +02:00
Yuri Sizov
39f46613bb Backport fixes to documentation for paths, curves and navigation servers 2022-08-19 15:52:03 +03:00
Pedro J. Estébanez
c92ceca5ce Make audio thread control flags safe 2022-08-19 11:55:23 +02:00
Pedro J. Estébanez
4dd3e95377 Overhaul CLI argument forwarding to processes started by the editor 2022-08-19 11:13:56 +02:00
Max Hilbrunner
dff0e76910
Merge pull request #64537 from asmaloney/3.x-doc-animation-node-virtuals
[doc 3.x] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
2022-08-18 17:00:51 +02:00
Andy Maloney
4ee4c7954a [doc 3.x] Clarify that AnimationNode virtual methods need to be implemented rather than called directly
Backport of #64344

Fixes #35272
2022-08-17 12:17:28 -04:00
Max Hilbrunner
84358e1381
Merge pull request #64390 from Calinou/doc-scenetree-debug-no-runtime-change-3.x
Document run-time SceneTree debug property changes not working correctly (3.x)
2022-08-17 14:54:25 +02:00
Max Hilbrunner
399b9d056f
Merge pull request #64408 from aaronfranke/3.x-fix-camera-size-doc
[3.x] Fix incorrect Camera3D size documentation
2022-08-17 14:51:42 +02:00
Marcel Admiraal
cdd60416ed Fix axis mapped to DPad buttons not releasing opposite button 2022-08-17 09:10:36 +01:00
kleonc
6417b999ee SceneTreeDock Toggling unique name in owner for all selected nodes 2022-08-16 15:02:28 +02:00
Fredia Huya-Kouadio
989d5990ad
Merge pull request #64420 from m4gr3d/investigate_read_write_access_loss_3x
[3.x] Fix issue preventing the Android Editor from displaying the project content
2022-08-15 13:19:01 -07:00
lawnjelly
196201d6f1
Merge pull request #64235 from tinmanjuggernaut/gles2_free_abuse
Fix free(RID) abuse by various classes
2022-08-15 19:05:58 +01:00
Raul Santos
31d09a807e
C#: Use custom project setting for C# project files name
The setting is initially assigned the name of the Godot project,
but it's kept freezed to prevent issues when renaming the Godot
project.

The user can always rename the C# project and solution manually and
change the setting to the new name.

Co-authored-by: Ignacio Roldán Etcheverry <ignalfonsore@gmail.com>
2022-08-15 19:30:06 +02:00
Clay John
24a981289a
Merge pull request #64234 from tinmanjuggernaut/rid_messages
Expand Invalid RID Error Messages
2022-08-15 09:51:01 -06:00
Haoyu Qiu
e6dd71d227 Fix action name completion for Input.get_{axis,vector} 2022-08-15 23:44:11 +08:00
Yuri Sizov
d9dddf3a68
Merge pull request #64283 from KoBeWi/g3t_no_color
[3.x] Optimize theme usage in editor log
2022-08-15 16:42:03 +03:00
Fredia Huya-Kouadio
3ac6b6a596 Disable threads used to check on plugins to load
The functionality is unavailable on Android (requires export capability) and unnecessarily consumes resources
2022-08-15 02:30:08 -07:00