Commit Graph

53232 Commits

Author SHA1 Message Date
jpcerrone
dd2907f9b7 Fix for Win+M crashing the editor
Fixes #77790
Adds missing 'break' statement to 'VulkanContext::prepare_buffers' function.
It was mistakenly removed in #72859

(cherry picked from commit bd786ce0d9)
2023-07-20 13:46:45 +02:00
MewPurPur
52f583fdee Document ShaderInclude
(cherry picked from commit da84efc96d)
2023-07-20 13:46:45 +02:00
Phil Hudson
23c1eae8b6 fix(android): set pending intent flag to stop insta-crash
fix(android): add conditional check for minimum sdk version

fix(android): formatting

fix(android): formatting

fix(android): formatting

fix(android): formatting again

(cherry picked from commit ce7f648694)
2023-07-20 13:46:45 +02:00
kobewi
627ddd412e Fix filesystem cache split error
(cherry picked from commit 7f18db9d9d)
2023-07-20 13:46:45 +02:00
Haoyu Qiu
22d3fa7292 Fix crash when opening a TileSet with invalid tiles
(cherry picked from commit 8b5d5dc2c4)
2023-07-20 13:44:15 +02:00
Yuri Sizov
f9a0ac507c Avoid error spam when (un)pausing GPUParticles out of tree
(cherry picked from commit 991f4d5183)
2023-07-20 13:44:15 +02:00
kobewi
5a82eadd2d Make sure script cache is created after reimport
(cherry picked from commit 680ed7f612)
2023-07-20 13:44:15 +02:00
RedworkDE
31e582b970 Fix crash when selecting lines in text edit
(cherry picked from commit 6b7008b73b)
2023-07-20 13:44:15 +02:00
kobewi
39f9c8cd29 Preserve selection when focusing SpinBox
(cherry picked from commit 968c5f6247)
2023-07-20 13:44:14 +02:00
pattlebass
fa8e3b200e Fix Range-derived nodes not redrawing
When using set_value_no_signal(), Range-derived nodes wouldn't redraw.

Also added a dedicated method to SpinBox to update its text.

(cherry picked from commit 9500f8e69a)
2023-07-20 13:44:14 +02:00
Devan OBoyle
0f23679699 Skip error messages for buttons that don't exist
(cherry picked from commit ed02d515e0)
2023-07-20 13:38:12 +02:00
Raffaele Picca
7f8de2df4c Correctly reset particle size and rotation in ParticlesProcessMaterial
Co-authored-by: clayjhn <claynjohn@gmail.com>
(cherry picked from commit 353a4e1e09)
2023-07-20 13:38:12 +02:00
Ninni Pipping
131ce4acf6 Fix type check in AnimationTrackKeyEdit for methods
(cherry picked from commit ad769903b0)
2023-07-20 13:38:12 +02:00
Ninni Pipping
c683fa9971 Fix trim when importing WAV
(cherry picked from commit ff127ba57e)
2023-07-20 13:38:12 +02:00
bruvzg
33618f25fd Fix SVG font rendering after ThorVG update.
(cherry picked from commit 35b0354577)
2023-07-20 13:38:12 +02:00
kobewi
9acd4cfdfc Draw materials in tile atlas view
(cherry picked from commit 16ac217aa0)
2023-07-20 13:38:12 +02:00
Lyuma
ca65d85d6e Fix for SkeletonIK3D interpolation and bone roll
Fix bug in internal Basis::rotate_to_align function (also used with identity Basis in scene/resources/curve.cpp)
Use ChainItem children rather than local bone rest to determine IK bone roll to match Godot 3.x behavior

(cherry picked from commit 9aa46bf3f5)
2023-07-20 13:38:12 +02:00
Lyuma
96eb16a365 Avoid doubly mutating the same Skin in rest fixer
Fixes a regression from #77123 that was caused by removal of ibm_diffs variable.
This replaced idempotent code with code that applied an offset each time.
If the same Skin was visited multiple times, this caused an incorrect result.

(cherry picked from commit 5ae311e577)
2023-07-20 13:09:57 +02:00
Lyuma
a18fe83298 Adjust BoneAttachment3D children/meshes during rest fixer
Also simplifies equivalent matrix math which previously used ibm_diffs to calculate skinned mesh offsets.

(cherry picked from commit 7b71061b3e)
2023-07-20 13:09:57 +02:00
Aaron Franke
1fcf58d72e Make Node::get_children() public
(cherry picked from commit 8eb9986dc5)
2023-07-20 13:09:57 +02:00
Fredia Huya-Kouadio
db7406e6a7 Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone
Fixes https://github.com/godotengine/godot/issues/73801

(cherry picked from commit 8ca14183f0)
2023-07-20 12:45:54 +02:00
Clement C
2dfb108a6a Fix crash when changing node type from PopMenu to ItemList
(cherry picked from commit 999a1fffec)
2023-07-20 12:45:54 +02:00
Rémi Verschelde
31b1f98bba
Merge pull request #79111 from akien-mga/4.0-fix-udev-fallback-with-use_sowrap-no
[4.0] Linux: Fix udev fallback logic with `use_sowrap=no`
2023-07-11 11:32:48 +02:00
Rémi Verschelde
4a747edb6f
Linux: Fix udev fallback logic with use_sowrap=no 2023-07-06 17:10:58 +02:00
Rémi Verschelde
c8e0bd50c5
Merge pull request #78838 from YuriSizov/4.0-cherrypicks
Cherry-picks for the 4.0 branch (future 4.0.4) - 2nd batch
2023-06-30 13:44:09 +02:00
Yuri Sizov
0164b293f0 Update codespell and add new exceptions 2023-06-29 16:22:29 +02:00
RedworkDE
a3292d6891 C#: Always decode dotnet output as UTF-8
(cherry picked from commit e0efa3c357)
2023-06-29 16:03:22 +02:00
Rémi Verschelde
b11499edce Add missing stdint.h includes for GCC 13+
Fixes #77927.

(cherry picked from commit 10676e78e3)
2023-06-29 16:03:22 +02:00
kobewi
d6e0170e94 Cancel tooltip when mouse leaves viewport
(cherry picked from commit 807431c49a)
2023-06-29 16:03:22 +02:00
MJacred
d8caf0a726 Replace get_rendering_device() call to prevent crashes on OpenGL.
And make OpenGL video adapter info align with Vulkan.

(cherry picked from commit 2c5e2196bd)
2023-06-29 16:03:22 +02:00
MJacred
101adc3853 Make system information for issue reports single-line
Additionally:
* for custom builds, add commit hash
* added a tooltip to help mitigate potential/understandable confusion whether the single-line output might be a bug
* prettify driver name

(cherry picked from commit ca1ee316b5)
2023-06-29 16:03:22 +02:00
MJacred
78773b74f0 Copy system info to clipboard + Update bug_report.yml
plus minor static-related fixes
* linuxbsd: get_systemd_os_release_info_value() -> static breaks usage if used multiple times
* windows/linuxbsd: get_video_adapter_driver_info() writes info into static
* linuxbsd: get_distribution_name() + get_version() -> write bsd fallback into static variable
* windows/uwp/android: remove unnecessary use of static

(cherry picked from commit 9e5bf3d589)
2023-06-29 16:03:22 +02:00
Jason Yundt
07c4a32a84 Streamline and centralize bug reporting guides
Before this change, there was three different bug reporting guides:

- [“Filing an issue on GitHub”][1]
- [“Reporting bugs”][2]
- [The issue template][3]

This commit:

1. makes sure that [the issue template][3] contains all of the same
   information that [“Filing an issue on GitHub”][1] and
   [“Reporting bugs”][2] did and
2. makes [“Reporting bugs”][2] simply tell users to fill out the
   template.

The goal of this change is to make reporting bugs easier. This change
accomplishes that goal by presenting bug reporters with all of the
information they need to know on the bug reporting page itself.

This commit partially implements this proposal:
<https://github.com/godotengine/godot-proposals/discussions/4083>

[1]: https://docs.godotengine.org/en/stable/community/contributing/ways_to_contribute.html#filing-an-issue-on-github
[2]: ./CONTRIBUTING.md#reporting-bugs
[3]: ./.github/ISSUE_TEMPLATE/bug_report.yml

(cherry picked from commit a6dc35e5cf)
2023-06-29 16:03:22 +02:00
RedworkDE
f05e3712d6 C#: Synchronize adding ScriptInstances
(cherry picked from commit 8fdebb85ef)
2023-06-29 16:03:22 +02:00
Rakka Rage
980d95a3ad Fix crash when using tile atlas merge with recreated alt tile
(cherry picked from commit 88d2ed433d)
2023-06-29 16:03:22 +02:00
ajreckof
a3951382cd prevent selecting unselectable EditorProperty with RMB
(cherry picked from commit 088435ab78)
2023-06-29 16:03:22 +02:00
hlutor
8129d83ee9 Added override for window_get_vsync_mode in display_server_web.cpp
(cherry picked from commit a932c5e81d)
2023-06-29 16:03:22 +02:00
Felipe Augusto Marques
e7f7fcd145 Ignore "project_settings_override" in the editor
(cherry picked from commit e759129dd5)
2023-06-29 16:03:22 +02:00
Ninni Pipping
cbdad97829 Don't disable Material and PlaceholderMaterial when disable_3d=yes
(cherry picked from commit 1f1be5fe9b)
2023-06-29 16:03:22 +02:00
Fredia Huya-Kouadio
bbfd9914c7 Fix spatial viewport multitouch detection support
Regression introduced by https://github.com/godotengine/godot/pull/77498

(cherry picked from commit 2c050cc17e)
2023-06-29 16:03:22 +02:00
Fredia Huya-Kouadio
d4dc9e4bda Improve touchpad and mouse support for the Android editor
- Fix issues with using a touchpad to click, drag, interact with the navigation controls, etc..
- Fix issues with panning with 2+ fingers
- Fix issues with using double-tap to magnify on the spatial editor

(cherry picked from commit 01ee00f710)
2023-06-29 16:03:22 +02:00
Haoyu Qiu
740d387a09 Fix theme of editor VCS dialogs
These dialogs were added to the plugin itself so theme can't be
propagated.

Also moved initialization of the VCS menu after the creation of
EditorInterface.

(cherry picked from commit b30a332009)
2023-06-29 16:03:22 +02:00
VolTer
5fbf1c230f Reinstate NoiseTexture2D icon
(cherry picked from commit ac8a9df2bf)
2023-06-29 16:03:22 +02:00
bruvzg
bfd15886de [TextServer] Prevent duplicate line breaks on virtual spaces when line width is significantly smaller than character width.
(cherry picked from commit 8a4a883854)
2023-06-29 16:03:22 +02:00
Haoyu Qiu
b63db1e6fc Fix extraction of chained tr() calls
(cherry picked from commit 3e88c4cd5c)
2023-06-29 16:03:22 +02:00
detomon
bf8f9e28c8 Fix adding bones with the same name after calling Skeleton3D.clear_bones()
(cherry picked from commit ea80213eee)
2023-06-29 16:03:22 +02:00
Artyom Lunchenkov
0649c05756 Improve Skeleton3D::find_bone() performance
(cherry picked from commit f645eee62e)
2023-06-29 16:03:22 +02:00
Arman Elgudzhyan
05eeb8783c Take 3D resolution scaling into account for mesh LOD
(cherry picked from commit ac4ca89000)
2023-06-29 16:03:22 +02:00
Arman Elgudzhyan
88475cfba9 Use defined key mapping for closing popups and dialogs
As opposed to hardcoding the escape key. Also removed such hardcoding in a few other places as well as a hardcoded enter key in one of the affected input fields.

(cherry picked from commit 8ab2cf3d2d)
2023-06-29 16:03:22 +02:00
Ninni Pipping
fcafb674af Ensure quotes are escaped when converting builtin scripts
(cherry picked from commit ef4422e3e1)
2023-06-29 16:03:22 +02:00