Commit Graph

55500 Commits

Author SHA1 Message Date
jpcerrone 2ba192e803 Fix comments and indentation in .gdshaderinc files
Fixes #78205
The handling of comments and indentation in the shader editor
wasn't considering shader include files.

(cherry picked from commit 71b8a9d274)
2023-07-10 17:26:15 +02:00
MewPurPur 8cefce591a Improve string printing in the tiledata editor
(cherry picked from commit 1649dcad0b)
2023-07-10 17:26:15 +02:00
MewPurPur ab14aa9f16 Fix enum tooltip with no description
(cherry picked from commit c0453a544d)
2023-07-10 17:26:15 +02:00
Aaron Franke 4cec4bd32f Sort project tags before saving
(cherry picked from commit d667402461)
2023-07-10 17:26:15 +02:00
kobewi ffc87b2bb1 Focus current node after connecting
(cherry picked from commit d17c522991)
2023-07-10 17:26:15 +02:00
Bauke Conijn 3fd5fecfc1 Fix Camera3D project_* methods not accounting for frustum offset
This does not fix Camera3D::project_ray_normal().
Adds Camera3D::get_camera_projection() and exposes it to GDScript

(cherry picked from commit 47e63bc55f)
2023-07-10 17:26:15 +02:00
bruvzg 221535c33c [Windows] Flash both the window caption and taskbar button on `request_attention`.
(cherry picked from commit 49af2582c4)
2023-07-10 17:26:14 +02:00
Markus Sauermann 4e84660b50 Fix that `_drop_physics_mouseover` only happens when necessary
Previously the call was executed every time, because in the
`_drop_mouse_over();` a few lines above, `gui.mouse_over = nullptr;`
was set.

(cherry picked from commit 37a96d3957)
2023-07-10 17:26:14 +02:00
RedworkDE 69948f7489 C#: Add null check before calling `UnregisterGodotObject`
(cherry picked from commit 693e6e036b)
2023-07-10 17:26:14 +02:00
mb4c 6018ff49d6 Add tooltip description wrapping in scene tree and plugin settings
(cherry picked from commit d007be2d14)
2023-07-10 17:26:14 +02:00
Alfonso J. Ramos 8cea540eba Do not change a node unique name to the same name
(cherry picked from commit b2bef8c47b)
2023-07-10 17:26:14 +02:00
Silc Lizard (Tokage) Renew ed9c091a92 Fix infinity loop state can't break
(cherry picked from commit fc40ba21cd)
2023-07-10 17:26:14 +02:00
bitsawer f5addd583d Make shader preprocessor keyword colors consistent
(cherry picked from commit a5d6152949)
2023-07-10 17:26:14 +02:00
bitsawer 0dec3d6485 Fix shader language float literal precision truncation
(cherry picked from commit 356297f909)
2023-07-10 17:26:14 +02:00
ocean (they/them) a0366f1cea Fix regression with enum descriptions now showing up in documentation.
(cherry picked from commit d48636c3bf)
2023-07-10 17:26:14 +02:00
kobewi 705c1d6bdf Fix dropping files from res:// to res://
(cherry picked from commit 1d970cd6ca)
2023-07-10 17:26:14 +02:00
Rindbee 836913ce7a Make sure the shortcut key respects the context in `TileSetAtlasSourceEditor`
(cherry picked from commit fec731bf33)
2023-07-10 17:26:13 +02:00
Raul Santos 80105226c2 C#: Compare symbol names without null flow state
(cherry picked from commit 671a5b4ea5)
2023-07-10 17:26:13 +02:00
nklbdev 2bfeb29bc6 Potencially fix nan's on octahedral tangents in RenderingServer
(cherry picked from commit 1d16704faf)
2023-07-10 17:26:13 +02:00
nklbdev 92040e85e2 Fix wrong type casting for octahedral tangents
(cherry picked from commit c022f52f11)
2023-07-10 17:26:13 +02:00
Haoyu Qiu 545e37cf77 Translate "No match" message in FindReplaceBar
(cherry picked from commit ac454ce2a7)
2023-07-10 17:26:13 +02:00
Haoyu Qiu a8bfdd8bea Fix error when non-ASCII characters in resource pack path
(cherry picked from commit df5c68af99)
2023-07-10 17:11:22 +02:00
Ben Rog-Wilhelm 371b31c85f Fix: Incorrect property names in FontFile::_get_property_list().
(cherry picked from commit 7ee916a259)
2023-07-10 17:11:22 +02:00
Amir-Rasteg 7a8ac69862 Fix a typo in the `String.to_float` description
(cherry picked from commit 9744657bb8)
2023-07-10 17:11:22 +02:00
RedworkDE 03e82be503 Fix export options of scripted EditorExportPlugins
(cherry picked from commit fa84d09542)
2023-07-10 17:11:22 +02:00
Bastiaan Olij 89e64da028 Take eye offset into account for depth in StandardMaterial3D
(cherry picked from commit 581d081ded)
2023-07-10 17:11:22 +02:00
Rémi Verschelde da1e511f11 Linux: Allow unbundling brotli to use system library
(cherry picked from commit 153c4a4c4f)
2023-07-10 17:11:22 +02:00
Yuri Roubinski 6255a64e03 Fix using uint suffix at the hex number declaration in shaders
(cherry picked from commit 1994c25701)
2023-07-10 17:11:22 +02:00
clayjohn bc9bc236c0 Initialize particles instance buffer in case it is used before being updated
(cherry picked from commit 35ed7c770b)
2023-07-10 17:11:22 +02:00
Markus Sauermann 0ec599473d Revert "Fix focusloss of non-exclusive `AcceptDialog` with `close_on_escape`"
This reverts commit 7f547fcf09.

(cherry picked from commit bfa7497c1b)
2023-07-10 17:11:22 +02:00
Daylily-Zeleen 71d5827228 Fixed the fallback logic of OS::shell_show_in_file_manager
(cherry picked from commit 9dd9818c88)
2023-07-10 17:11:21 +02:00
RedworkDE ce5c6151fc
C#: Automatically generate version defines
(cherry picked from commit fe7c27b086)
2023-07-05 22:16:02 +02:00
Rémi Verschelde 529a55bab2
Bump version to 4.1.1-rc 2023-07-05 22:14:15 +02:00
Rémi Verschelde 970459615f
Bump version to 4.1-stable \o/
Around 1500 commits from 300+ contributors merged over 4 months.

The new 4.x release cycle with 3 months of development and 1 month of
bugfixing proved to work fairly well for this 4.1 release, and we will
keep refining it for future releases.

The faster-paced release cycle means that each minor 4.x release will
have a small scope and won't be as impressive as the massive 4.0 was,
but it means that users get access to the new features and bug fixes
faster, and the stabilization phase is also significantly shortened
(only one month of feature freeze, so contributors don't need to wait
long to see their approved feature PRs merged for the next milestone).

Onwards to 4.2!
2023-07-05 16:22:00 +02:00
Rémi Verschelde d28f9afdc6
i18n: Sync translations with Weblate 2023-07-05 16:04:29 +02:00
Yuri Sizov c16afc1c2d
Merge pull request #79050 from capnm/fix_teststr_what
Fix import hints that are followed by dot.number
2023-07-05 15:59:44 +02:00
Rémi Verschelde e5cca53a94
Merge pull request #79056 from YuriSizov/meta-add-4.1-changelog
Add Godot 4.1 changelog
2023-07-05 15:32:44 +02:00
Martin Capitanio 470083caed Fix import hints that are followed by dot.number.
Fixes #78881.
2023-07-05 14:49:53 +02:00
Yuri Sizov 198b23eee4
Add Godot 4.1 changelog 2023-07-05 14:41:37 +02:00
Rémi Verschelde cdd2313ba2
Merge pull request #78977 from RandomShaper/workaround_tls_shutdown
Workaround resource loading crashes due to buggy TLS
2023-07-03 19:43:07 +02:00
Rémi Verschelde e044e13d5a
Merge pull request #78928 from neikeq/issue-78913
C#: Fix NodePaths completion error for not calling from main thread
2023-07-03 15:51:30 +02:00
Rémi Verschelde 73a529df4c
Merge pull request #78980 from KoBeWi/demise_of_a_fix
Fix node selection not handled correctly at launch
2023-07-03 15:26:35 +02:00
Rémi Verschelde 1b38e9258b
Merge pull request #78975 from YuriSizov/rtl-fix-refactoring-typo
Prevent crash when processing line caches in `RichTextLabel`
2023-07-03 15:26:31 +02:00
Rémi Verschelde 03f0e5eb15
Merge pull request #78974 from RandomShaper/fix_wtp_safe_flag
Fix management of safe-for-nodes flag in ResourceLoader and WorkerThreadPool
2023-07-03 15:26:28 +02:00
Rémi Verschelde b9dfb4968a
Merge pull request #78971 from kisg/fix_gdvirtual_native_ptr
Fix `GDVIRTUAL_NATIVE_PTR` by adding missing `VariantInternalAccessor` specializations
2023-07-03 15:26:24 +02:00
Rémi Verschelde d3a6272807
Merge pull request #78970 from AThousandShips/gradient_doc
Clarify that `Gradient.colors/offsets` are returned by-copy
2023-07-03 15:26:21 +02:00
Rémi Verschelde 2912fd4c51
Merge pull request #78968 from bruvzg/scroll_fix2
[RTL] Fix multithreaded scrollbar visibility update 2.
2023-07-03 15:26:18 +02:00
Rémi Verschelde 2926ddec1c
Merge pull request #78939 from Scony/navi-crash-fix
Fix crash in `NavigationAgent3D`
2023-07-03 15:26:14 +02:00
Rémi Verschelde 813ff4b460
Merge pull request #78857 from smix8/navagent_pos_fix_4.x
Fix NavigationAgent position not always updating
2023-07-03 15:26:11 +02:00
Rémi Verschelde 9da070fe05
Merge pull request #78850 from smix8/navagent_velocity_fix_4.x
Fix NavigationAgent continues avoidance velocity
2023-07-03 15:26:04 +02:00