Commit graph

34166 commits

Author SHA1 Message Date
reduz
2c92594fa6 Simplify Subresource Saving
Redo edited subresource (and resource) saving in a much more simplified way.
I think this should work (unless I am missing something) and be faster than what is there.
It should also supersede #55885.

I am not 100% entirely convinced that this approach works, but I think it should so please test.

(cherry picked from commit 9eb5f2a0d7)
2022-08-24 17:52:15 +02:00
Jummit
fd91b2dbb9 Keep Perspective menu open on selection
Makes the Perspective menu consistent with the View menu in the 3D
viewport. This allows for quicker inspection of the scene, and makes
missclicks more forgiving.

(cherry picked from commit e3ab344af9)
2022-08-24 17:52:15 +02:00
Danil Alexeev
bf33de769a Add boot splash display time setting
Implements #8867.

(cherry picked from commit dad9683d11)
2022-08-24 17:30:00 +02:00
Rémi Verschelde
7dd322f83e libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
(cherry picked from commit e5e34f21fc)
2022-08-24 17:24:23 +02:00
Michael Alexsander
245d70bec0 Fix ItemList selection visual when the scrollbar visibility changes
(cherry picked from commit e298144a41)
2022-08-24 17:23:59 +02:00
Hugo Locurcio
a53264ab41 Add support for documenting most editor settings in the class reference
Settings defined in editor plugins are missing (about 100 of them),
but all other settings (about 200 of them) can now be documented in the
EditorSettings class.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit 63ce655e75)
2022-08-24 17:22:48 +02:00
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
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
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
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
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
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
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
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
Fredia Huya-Kouadio
30479543b0 Fix issue preventing the Android Editor from displaying the project content
The issue was causing by a bug within the logic for `FileAccessFilesystemJAndroid#eof_reached()` causing that value to remain false after the eof was reached.
This in turn caused an infinite loop in the file scanner preventing the project's content from showing up.
2022-08-15 02:21:34 -07:00
Rémi Verschelde
7f4e84e630
Merge pull request #63110 from m4gr3d/split_can_export_3x
[3.x] Refactor the export checking logic to improve separation of concerns
2022-08-15 09:09:26 +02:00
Fredia Huya-Kouadio
ef44e63f22 Fix GodotTTS native initialization 2022-08-14 22:01:31 -07:00