Commit Graph

59354 Commits

Author SHA1 Message Date
mequam
94949f0ee1 [X11] Fix Godot stealing focus on alternative Window Managers
(cherry picked from commit 40d69c25d5)
2024-01-25 18:08:46 +01:00
Markus Sauermann
6f6a1dc5e9 Fix D&D viewport position calculation
It is necessary to transform screen position to viewport position.

(cherry picked from commit 4b6516c843)
2024-01-25 18:08:46 +01:00
Yuri Sizov
dd665988d7 Correctly enforce minimum window size in editor
Also set the maximum size for the language
picked in the project manager.

(cherry picked from commit 416e594eb3)
2024-01-25 18:08:45 +01:00
kleonc
663ba67016 Fix 2D normals for transposed texture
(cherry picked from commit 0fe7eead02)
2024-01-25 18:08:45 +01:00
Sofox
cd29fb22a0 Fixed RegEx search_all for zero length matches/lookahead/lookbehind
(cherry picked from commit 7b2fd342e3)
2024-01-25 18:08:45 +01:00
jsjtxietian
5a7c19f6c4 Fix "Class name cannot be empty" error when sorting no import files by type
(cherry picked from commit 5b57db2637)
2024-01-25 18:08:45 +01:00
Fabio Alessandrelli
8544106b7e [MP] Handle cleanup of "scene cache" nodes
Make sure we delete the relevant ObjectID from the cache when the nodes
are removed from tree.

(cherry picked from commit 853df2895a)
2024-01-25 18:08:45 +01:00
nikitalita
6e4cbdc144 SCons: Add stack_size and default_pthread_stack_size options to Web target
(cherry picked from commit 6788bc6bc2)
2024-01-25 18:08:45 +01:00
Michael Wörner
d01c60c178 Changed HTML input color_changed logic.
Made the HTML field send change events based on whether the new color's string is different from the previous color's string (instead of whether the new string parses to the current color value).
Previously, updating the color value even when the corresponding string hadn't changed would unnecessarily quantize the color value to 8 bits just by opening/closing the Color Picker.

(cherry picked from commit 21d778b0c3)
2024-01-25 18:08:45 +01:00
MewPurPur
28818d1d6c Add Texture2D and Texture3D icons
(cherry picked from commit 6cdd406c3d)
2024-01-25 18:08:45 +01:00
BlueCube3310
b247151af2 Improve Curve3D Debug Drawing
(cherry picked from commit 982ce34a58)
2024-01-25 18:08:45 +01:00
clayjohn
771db18a5d Uses screen-aligned quads for origin lines to avoid issues on NVidia
While we are add it, use alpha-antialised lines to make them look nice

(cherry picked from commit 5591f289d7)
2024-01-25 18:08:44 +01:00
HolonProduction
571cb746f9 Improve sorting of enum autocompletion
(cherry picked from commit 76fd7ec394)
2024-01-25 18:08:44 +01:00
Rémi Verschelde
c4fb3bc342 certs: Sync with Mozilla bundle as of Dec 13, 2023
bef37a977c
(cherry picked from commit c6e829b4c6)
2024-01-25 17:53:50 +01:00
Martin Capitanio
08772e3fd3 ThorVG: update from v0.11.6 to v0.12.0
https://github.com/thorvg/thorvg/releases/tag/v0.12.0

Godot-related SVG bug fixes:

+ [SwEngine] Fixed a linear filling scaling issue.
      thorvg/thorvg#1834
+ [SwEngine] Path data not invalid even though
      it doesn't start with MoveTo.
      thorvg/thorvg#1848

Fixes #86128 Gradient issue.

(cherry picked from commit e090b112ef)
2024-01-25 17:53:49 +01:00
Martin Capitanio
7827a3945b ThorVG: update from v0.11.2 to v0.11.6
https://github.com/thorvg/thorvg/releases/tag/v0.11.6

Godot related:
    + [Renderer] Improved the internal structure for compact
      scene-hierarchy traversing.
    + [SwEngine] Improved trigonometric & image scaler performance.
    + [SwEngine] Fixed a loss of image pixels during image down-scaling.
    + [Renderer/Engine] Improved safety measures.
    + [SwEngine] Resolved a bug causing strokes to be improperly
      invisible due to clipping.
      thorvg/thorvg#1785
    + [Renderer] Rectified the precision of rounded rectangle corners.
      thorvg/thorvg#1824
    + [Portability] Resolved compiler shadowing warnings.
      thorvg/thorvg#1811

    Fixes godotengine#85465 Clipped strokes from outside the canvas.
    Fixes godotengine#86012 Rounded rectangles in SVG files rendering incorrectly.

(cherry picked from commit 74ed6d63bf)
2024-01-25 17:53:49 +01:00
DevPoodle
50eaeec2f7 Add descriptions to the remaining properties of RDPipelineDepthStencilState
(cherry picked from commit 0bb744e555)
2024-01-25 17:40:45 +01:00
Micky
f7f86cf5db Add missing descriptions to remaining signals.
(cherry picked from commit 8f10d7dd19)
2024-01-25 17:40:45 +01:00
A Thousand Ships
b6d78d8eb7 Clarify that Callable will not be encoded with var_to_bytes
(cherry picked from commit c909354396)
2024-01-25 17:40:45 +01:00
Septian
6b3e4bb0ec Fix various typos in documentation
(cherry picked from commit d3e7b8c8a8)
2024-01-25 17:40:45 +01:00
Micky
93fd2f7768 Replace some "uncommon" words in class reference
(cherry picked from commit 61bdbdd9ee)
2024-01-25 17:40:45 +01:00
MewPurPur
06ccf2bbb5 Add performance note to Array.resize()
(cherry picked from commit 80b636069a)
2024-01-25 17:40:45 +01:00
jsjtxietian
7e33c6bf22 Update get_image doc to mention that it will return an empty image with invalid texture
(cherry picked from commit d73312d5e9)
2024-01-25 17:40:44 +01:00
Alex Drozd
58dd33e3d0 Add note that a large value for outline_size is not recommended
(cherry picked from commit daa8942f41)
2024-01-25 17:40:44 +01:00
Micky
b0318cfb3d Overhaul AABB's documentation
(cherry picked from commit 8467245526)
2024-01-25 17:40:44 +01:00
Micky
4f60f850f7 Specify how CanvasTexture does not work in 3D
(cherry picked from commit 52d062560b)
2024-01-25 17:40:44 +01:00
Steven Schoen
e19f2c6b76 Clarify Node doc: get_child returns null for invalid index
(cherry picked from commit 3c416f3a64)
2024-01-25 17:40:44 +01:00
Micky
3b2cdc2cc5 Overhaul Node Documentation
(cherry picked from commit b5ca06c9ca)
2024-01-25 17:40:44 +01:00
Gwen
27d08e2d87 Correct C# syntax in _validate_property example for the Object class
(cherry picked from commit e40b23c619)
2024-01-25 17:38:16 +01:00
Nico
49cec88ff9 Complete the docs for Quaternion
(cherry picked from commit d67e7f8729)
2024-01-25 17:38:15 +01:00
Markus Sauermann
bb8b208ede Explain which nodes receive NOTIFICATION_WM_SIZE_CHANGED
(cherry picked from commit 361aa909da)
2024-01-25 17:38:15 +01:00
A Thousand Ships
cc90979f35 Clarify that @GlobalScope.clamp does not do component-wise clamping
(cherry picked from commit e7dbb7a267)
2024-01-25 17:38:15 +01:00
Septian
e35bbb2f85 Fix various typos in documentation
(cherry picked from commit d83cad6d9b)
2024-01-25 17:38:15 +01:00
Micky
e00f2e598a Link to the "article" in the docs instead of saying "article"
(cherry picked from commit 78c9e2c53a)
2024-01-25 17:38:15 +01:00
ZeferinoI
d4114f1631 Update the description of the method get_connection_line in GraphEdit.xml
The form should be like { from_port: 0, from_node: "GraphNode name 0", to_port: 1, to_node: "GraphNode name 1" }

(cherry picked from commit 53ab38a34e)
2024-01-25 17:38:15 +01:00
Ricardo Buring
cf767ddf29 Fix operator documentation in GDExtension API dump with docs
The type of the right operand is now taken into account.

(cherry picked from commit 82afe58aca)
2024-01-25 17:38:15 +01:00
jsjtxietian
2ba4a7dd3d Add thread guard for force_draw and update relared doc
force_draw must be called from main thread

(cherry picked from commit b88b84ce18)
2024-01-25 17:38:15 +01:00
Gilles Roudière
032d96042d Fixes global transform being wrong on entering tree
(cherry picked from commit 0a726d692a)
2024-01-25 17:19:42 +01:00
Silc Lizard (Tokage) Renew
209aa9821a Make default blend_left consider current blend amount
(cherry picked from commit f8da9460c1)
2024-01-25 17:19:42 +01:00
风青山
f5ecaec1a4 Set an appropriate minimum size for labels in windows that display incorrectly
When the label's `autowrap_mode` is `AUTOWRAP_WORD_SMART` and the initial `text`
is set at the same time, it may have a higher height.

Set an appropriate minimum size for labels in windows that display incorrectly
so that these controls display properly.

(cherry picked from commit f932c6548e)
2024-01-25 17:19:42 +01:00
Fredia Huya-Kouadio
894d629185 Disable automatic permissions request
The feature was added in Godot 4.2, but it goes against recommended best practices for permissions request, as such it's being reverted.
In its place, developers now have to explicitly request the permissions they need to access.

(cherry picked from commit df4f9e8e64)
2024-01-25 17:19:41 +01:00
Bastiaan Olij
41dcabb0cf Fix SSR not working properly in stereo
(cherry picked from commit 10a8b88165)
2024-01-25 17:19:41 +01:00
Haoyu Qiu
4a036b5fe7 Fix ZIPPacker storing file permissions unexpectedly
(cherry picked from commit 7a833c9b2e)
2024-01-25 17:19:41 +01:00
kobewi
a1c32a9462 Only update particle velocity when it changes
(cherry picked from commit cb0a37f61a)
2024-01-25 17:19:41 +01:00
S.V.I. Vilcrow
89fd2c30e1 Fix the autocomplete function for the 'self' keyword.
(cherry picked from commit c8fc824608)
2024-01-25 17:19:41 +01:00
Silc Lizard (Tokage) Renew
b20ba6bd12 Fix discrete key retrieval method after start
(cherry picked from commit b438e28509)
2024-01-25 17:19:41 +01:00
Silc Lizard (Tokage) Renew
19bb93513a Make unstore AnimationLibrary if AnimationTree is assigned Player
(cherry picked from commit c380b1296a)
2024-01-25 17:19:41 +01:00
kobewi
c285b726bb Fix file disappearing when renaming dependencies
(cherry picked from commit 397f0b31e4)
2024-01-25 17:19:41 +01:00
HolonProduction
7c22d5444a Fix regression when autocompleting subscript on get node
(cherry picked from commit 5f72254d4d)
2024-01-25 17:19:41 +01:00
Michael Wörner
1b8d1048ad Restored the ability for linear interpolation to work on a mix of integer and float keyframes.
(cherry picked from commit 12ce2e33b2)
2024-01-25 17:19:41 +01:00