Ellen Poe
5db83defcd
Fail mp3 loading when attempting to load invalid mp3s
...
This also adds a warning for unspecified MP3 loading error codes
(cherry picked from commit 936767deca
)
2021-02-16 14:27:40 +01:00
Pedro J. Estébanez
ec0085973f
Fix SceneTreeEditor::_update_tree() binding
...
(cherry picked from commit 20f48f0105
)
2021-02-16 14:27:40 +01:00
Sylvain Beucler
dc1264af0a
doc: explain TouchScreenButton passby mode
...
(cherry picked from commit 9e21077fad
)
2021-02-16 14:27:40 +01:00
kleonc
e40682c32d
RichTextLabel::add_image Fail if passed image has no area
...
(cherry picked from commit a4afdd4a77
)
2021-02-16 14:27:39 +01:00
kleonc
31744577b3
VisualShader::_input_type_changed Fix index out of bounds crash.
...
(cherry picked from commit 7d451c0040
)
2021-02-16 14:27:39 +01:00
Andrii Doroshenko (Xrayez)
34eea26c67
makerst: Add an option to filter which XML classes to output
...
Usage:
```
# Output `VisualScript` classes only (found in `modules/visual_script`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "visual_script"
# Output CSG classes only (found in `modules/csg`)
python doc/tools/makerst.py "doc/classes" "modules" --filter "csg"
```
(cherry picked from commit 7fcdd15f0c
)
2021-02-16 14:27:39 +01:00
hoontee
d91a5e7883
Implement CollisionPolygon3D margin
...
(cherry picked from commit fbb1ef759c
)
2021-02-16 14:27:39 +01:00
Danil Alexeev
1fa8595bff
Change logo in the About dialog box (return Godot's teeth)
...
(cherry picked from commit c553ca54d5
)
And fixup previous bogus cherry-pick that included merge conflicts.
2021-02-16 14:27:39 +01:00
mujpao
17a19ee104
Make search results font follow code editor font
...
The font size of the Find in Files dialog used to get out of sync with
the code editor font size.
The font of the Find in Files dialog is now updated each time there is a
change to the theme. This way, the font size of the Find in Files
results changes in response to the code font size being changed using
Ctrl +/- or using the Editor Settings.
Fixes #35499
(cherry picked from commit 011fdece6d
)
2021-02-16 14:27:39 +01:00
Rémi Verschelde
9da596b5e6
CODEOWNERS: Add some more owned files and fix team names
...
(cherry picked from commit 146f016dcb
)
2021-02-16 14:27:39 +01:00
Rémi Verschelde
45fb8b38fb
CODEOWNERS: Update with newly added teams
...
(cherry picked from commit a25bfce694
)
2021-02-16 14:27:39 +01:00
Rafał Mikrut
54b6a7b8b7
Fix memory leak in Xatlas module
...
(cherry picked from commit e57b8d79ec
)
2021-02-16 14:27:38 +01:00
kobewi
5a290e0a3c
Don't save project settings when not necessary
...
(cherry picked from commit 4db47eb32e
)
2021-02-16 14:27:38 +01:00
Gordon MacPherson
546d7f619b
Use github actions cache not my own one.
...
(cherry picked from commit f2feefb367
)
2021-02-16 14:27:38 +01:00
Bastiaan Olij
8aa022f99c
Only unload the library when no NativeScript objects exist if the reloadable flag is true. If it is false it is likely the library does other things and can't be unloaded
...
(cherry picked from commit ae7675065a
)
2021-02-16 14:27:38 +01:00
Andrii Doroshenko (Xrayez)
329dcebc83
Fix sprite editor conversion tools to handle compressed textures
...
(cherry picked from commit 1cd7a16c10
)
2021-02-16 14:27:38 +01:00
PouleyKetchoupp
ac9e5d9c60
Fix TextEdit autoscroll with wrapped lines
...
Index to find the last line wrap index was off by one, which prevented the first wrapped line to trigger autoscroll.
(cherry picked from commit 121030940c
)
2021-02-16 14:27:38 +01:00
Hugo Locurcio
6c6f4e9895
Expose a File.flush()
method to scripting
...
This can be used to ensure a file has its contents saved
even if the project crashes or is killed by the user
(among other use cases).
See discussion in #29075 .
(cherry picked from commit ab397460e9
)
2021-02-16 14:27:38 +01:00
Hugo Locurcio
15d9f77f97
Add a project setting to enable stdout flushing in release builds
...
This can be used in server builds for journalctl compatibility.
(cherry picked from commit 341b9cf15a
)
Fixes crash when exiting with --verbose with leaked resources
(cherry picked from commit 25c4dacb88
)
2021-02-16 14:27:38 +01:00
Rémi Verschelde
ece69f8208
Merge pull request #46036 from aaronfranke/3.2-limit-zoom-half
...
[3.2] Limit max zoom to 1/2 of far plane instead of 1/4
2021-02-16 14:25:59 +01:00
Rémi Verschelde
77438f7a45
Merge pull request #46054 from JFonS/cpu_lightmapper_disk
...
[3.2] Reduce lightmaps file size.
2021-02-16 13:37:09 +01:00
JFonS
56bf256d76
Add options to reduce lightmaps disk usage.
...
Added BakedLightmap.use_hdr and BakedLightmap.use_color properties
that can reduce the flie size of lightmap texture at the expense of quality.
Changed the denoiser to work in a single buffer, reducing RAM
usage. Also added the `-mstackrealign` flag in the denoiser compilation
for MinGW builds. This flag helped fix a bug in Embree, so I want to see
if it will help fix GH #45296 .
2021-02-16 13:20:27 +01:00
Rémi Verschelde
1611d3dc17
Merge pull request #46008 from akien-mga/3.2-fix-camera-align-crash-45976
...
Camera2D: Fix crash calling align when not in tree
2021-02-16 12:18:38 +01:00
Rémi Verschelde
23a6ff2782
Merge pull request #46076 from m4gr3d/expose_godot_plugin_utility_methods
...
[3.2] Expose GodotPlugin's utility methods
2021-02-16 10:58:30 +01:00
Fredia Huya-Kouadio
64f5a7b8ca
Expose GodotPlugin's utility methods used for registration and signal emitting.
...
This enables creation and use of a plugin like class by composition rather than inheritance.
2021-02-15 15:57:36 -08:00
Rémi Verschelde
3541d13095
Merge pull request #46060 from nekomatata/text-edit-style-content-margins-3.2
...
[3.2] TextEdit respects content margin from StyleBox
2021-02-15 19:48:35 +01:00
PouleyKetchoupp
018008ce81
TextEdit respects content margin from StyleBox
...
Backport from PR #45858 on master.
2021-02-15 10:47:38 -07:00
Rémi Verschelde
daf1151b79
Merge pull request #46055 from bruvzg/fix_spacing_space
...
[3.2] Fix SPACING_SPACE not used for drawing characters.
2021-02-15 17:30:34 +01:00
bruvzg
56fccb1ec1
[3.2] Fix SPACING_SPACE not used for drawing characters.
2021-02-15 18:03:26 +02:00
JFonS
7241139356
Backport EXR compression support from master
2021-02-15 12:51:55 +01:00
Rémi Verschelde
40c30adf04
Merge pull request #46034 from bruvzg/ignore_warp_on_mode_change_3
...
[macOS, 3.2] Ignore mouse move event caused by mouse mode switch.
2021-02-15 11:09:28 +01:00
Rémi Verschelde
5a22bd2b3e
Camera2D: Fix crash calling align when not in tree
...
Fixes #45976 .
2021-02-15 10:54:16 +01:00
Aaron Franke
751036ff87
[3.2] Limit max zoom to 1/2 of far plane instead of 1/4
2021-02-14 18:17:35 -05:00
bruvzg
bc04bbbe2a
[macOS] Ignore mouse move event caused by mouse mode switch.
2021-02-15 00:19:47 +02:00
Rémi Verschelde
db8c2410a4
Merge pull request #46026 from Calinou/project-manager-add-loading-text-3.2
...
Display loading text while the project manager is loading (3.2)
2021-02-14 17:38:37 +01:00
Hugo Locurcio
f6257e31ed
Display loading text while the project manager is loading
...
This hints the user that the project manager is currently busy
loading the project. This is important for the HTML5 editor as the
current feedback isn't very obvious.
This also removes the unused `_exit_dialog` function.
2021-02-14 17:02:08 +01:00
Rémi Verschelde
a1222e435f
Merge pull request #45982 from clayjohn/GLES2-max-dims
...
Check limits on texture or framebuffer creation
2021-02-14 11:53:02 +01:00
Rémi Verschelde
ab252c3723
Merge pull request #45970 from lawnjelly/bvh_fix_mesh_visible
...
BVH - fix deferred visible mesh collision check
2021-02-14 11:02:34 +01:00
lawnjelly
a814dda2ae
BVH - fix deferred visible mesh collision check
...
When making items visible from the visual server, the collision check is deferred to prevent two identical collision checks when set_pairable is called shortly after.
It turns out that for some items (especially meshes), set_pairable is never called. This PR detects this occurrence and forces a collision check at the end of the routine.
2021-02-14 09:03:26 +00:00
clayjohn
7efcafd057
Check limits on texture or framebuffer creation
2021-02-13 13:36:15 -08:00
lupoDharkael
460e1b94c3
[3.2] Add natural string comparison
2021-02-13 15:13:58 +01:00
kobewi
637117c8d1
[3.2] Add node copy-paste
2021-02-13 14:27:36 +01:00
Rémi Verschelde
83e4e4dc52
Merge pull request #45902 from Calinou/inputmap-nonexistent-suggestions-3.2
...
Print suggestions when requesting a nonexistent InputMap action (3.2)
2021-02-12 12:54:06 +01:00
Rémi Verschelde
9918fd722e
Merge pull request #45921 from Faless/js/3.x_dpi
...
[3.2] [HTML5] Detect screen scale and DPI.
2021-02-12 12:24:36 +01:00
Fabio Alessandrelli
b3f78687de
[HTML5] Detect screen scale and DPI.
...
`OS.get_screen_scale` will now return the `window.devicePixelRatio`
value, `OS.get_screen_dpi` uses CSS media queries to find approximate
DPI value for the current display.
`OS.get_screen_size` also return the actual screen size (not the CSS
pixel size).
2021-02-12 12:02:30 +01:00
Rémi Verschelde
986b1a9b18
CI: Mono glue generation sometimes crashes on exit, ignore it
2021-02-12 11:14:19 +01:00
Emily
92dd573053
fixed typo in packedscene
...
(cherry picked from commit 7368bc534a
)
2021-02-12 11:11:35 +01:00
Rémi Verschelde
10f0be7719
SCons: Fix Godot detection in custom modules logic
...
`exec()` was not a good idea as it assumes a certain type of `version.py` file
similar to Godot's own file, which is not always a reliable assumption (see
https://github.com/godotengine/godot/pull/43057#issuecomment-777632900 ).
Also restores Python 2 support for the 3.2 branch.
(cherry picked from commit 75910d1e9b
)
2021-02-12 11:09:40 +01:00
Rémi Verschelde
e71510097d
Merge pull request #45837 from Kayomn/3.2
...
Accomodate blend shape ranges of -1 to +1 for GLES
2021-02-12 09:28:19 +01:00
Hugo Locurcio
28127ce224
Print suggestions when requesting a nonexistent InputMap action
...
Co-authored-by: Marc Gilleron <marc.gilleron@gmail.com>
2021-02-11 18:00:26 +01:00