Commit Graph

53218 Commits

Author SHA1 Message Date
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
kobewi
13a030de06 Fix AnimationPlayer cumulative speed_scale
(cherry picked from commit 87a6145135)
2023-06-29 16:03:21 +02:00
kobewi
e4986ad4aa Don't create bones from empty scene
(cherry picked from commit e5b6b3e1e3)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio
d86aa32f8c Update the format for the app version code and name
(cherry picked from commit a041f96779)
2023-06-29 16:03:21 +02:00
Riteo
531b22339a Build JoypadLinux sandbox detection method only with udev
Fixes an `unused-function` warning when building with `udev=no`.

(cherry picked from commit 51dfdfab96)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio
f7ee97d6d7 Update the gradle build tasks to generate play store builds.
Configure the gradle builds to sign and build the release version of the Godot Android Editor

(cherry picked from commit 0d569bea5d)
2023-06-29 16:03:21 +02:00
kleonc
9cae00fae8 Fix Y-sort modulate for top-most Y-sorted CanvasItem
(cherry picked from commit bbb2a889d8)
2023-06-29 16:03:21 +02:00
kleonc
bfc679b862 Fix modulation propagation for Y-sorted CanvasItems
(cherry picked from commit 5d8219b4fd)
2023-06-29 16:03:21 +02:00
Rakka Rage
bcb6154a3b Make tile atlas merge dialog use filter nearest mipmaps on both sides. To avoid blurry tiles.
(cherry picked from commit 855d78e458)
2023-06-29 16:03:21 +02:00
sakrel
b7d741977c RenderingDeviceVulkan::buffer_get_data: Use draw command buffer instead of setup command buffer
(cherry picked from commit f52c151fcf)
2023-06-29 16:03:21 +02:00
Hugo Locurcio
d56e19b012 Fix typo in FinalAction switch statement in RenderingDevice
(cherry picked from commit dd53037f74)
2023-06-29 16:03:21 +02:00
RedworkDE
5366970863 C#: Fix SendToScriptDebugger crash
(cherry picked from commit fa14b6d212)
2023-06-29 16:03:21 +02:00
Bastiaan Olij
c41ad0f74c Conditionally free GI and FOG resources, they may not have been created
(cherry picked from commit 57f343ab21)
2023-06-29 16:03:21 +02:00
Bastiaan Olij
7ac0f406aa Properly clear material slots on mesh instance when material is freed
(cherry picked from commit 1a128fcccd)
2023-06-29 16:03:21 +02:00
Fredia Huya-Kouadio
2900425eeb Adds a scale_gizmo_handles entry to the Touchscreen editor settings
When enabled, this scales the editor icons to improve usability on touchscreen devices.
In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.

(cherry picked from commit 30824e9818)
2023-06-29 16:03:21 +02:00