Commit graph

65815 commits

Author SHA1 Message Date
Rémi Verschelde
7d708626a3
SCons: Pass optimization flags to the linker too, needed by Emscripten 2024-07-09 09:34:02 +02:00
bruvzg
c151c7dce0
[Editor] Unload addons when using --import or --quit. 2024-07-09 09:54:41 +03:00
bruvzg
c632b47b48
[iOS/Text Input] Avoid deleting and reentering unchanged part of text. 2024-07-09 08:32:27 +03:00
Rémi Verschelde
82cedc83c9
Merge pull request #94107 from akien-mga/scons-optimize-auto
SCons: Default `optimize` to `auto`, fixing `target`/`dev_build` inference for Web
2024-07-09 01:25:04 +02:00
Rémi Verschelde
8897c77d50
SCons: Default optimize to auto, fixing target/dev_build inference for Web
Fixes #94087.
2024-07-09 00:21:29 +02:00
Rémi Verschelde
b0467d07bf
Merge pull request #94105 from KoBeWi/same_parent_new_problems
Fix wrong inspected node after drag&drop
2024-07-09 00:03:32 +02:00
Rémi Verschelde
60da1ccd79
Merge pull request #94103 from akien-mga/thorvg-0.14.1
thorvg: Update to 0.14.1
2024-07-09 00:03:29 +02:00
Rémi Verschelde
6d2fe76084
Merge pull request #94102 from Calinou/obj-import-fix-no-surfaces-error
Fix error message being printed when importing an OBJ with no surfaces
2024-07-09 00:03:26 +02:00
Rémi Verschelde
c10fde6137
Merge pull request #94095 from clayjohn/GLES3-drawbuffers
Use `GL_COLOR_ATTACHMENT` in depth prepass when using Multiview.
2024-07-09 00:03:23 +02:00
Rémi Verschelde
daba91d8c6
Merge pull request #93897 from akien-mga/vformat-better-error-message
Core: Improve `vformat` error reporting on `sprintf` failure
2024-07-09 00:03:17 +02:00
Rémi Verschelde
6f9c0aa40d
Merge pull request #93630 from BastiaanOlij/scene_data_projection_correction
Make RenderSceneData take projection correction into account
2024-07-09 00:03:14 +02:00
Rémi Verschelde
8bf4a158e5
Merge pull request #82012 from BrinerLovo/fix_81929
Animation: Fix reset value when adding new Bezier track
2024-07-09 00:03:11 +02:00
Rémi Verschelde
8ed9bfdc25
Merge pull request #94089 from dsnopek/gdext-valid-runtime-properties
GDExtension: Fix setting base class properties on a runtime class
2024-07-08 23:53:12 +02:00
kobewi
b51d9117ed Fix wrong inspected node after drag&drop 2024-07-08 23:52:16 +02:00
Rémi Verschelde
79a24fa7e0
thorvg: Update to 0.14.1 2024-07-08 23:20:55 +02:00
BrinerLovo
bf01119cdf
Animation: Fix reset value when adding new Bezier track
Fixes #81929.

In Float and Integer types, there is no subindex – only the primary value.
Currently, trying to retrieve a subindex from these types in the Variant leads
to a return value of null. To address this, the proposed change ensures that
the default value is returned for these types instead of attempting an invalid
subindex retrieval.
2024-07-08 23:18:03 +02:00
Hugo Locurcio
bbf68306c5
Fix error message being printed when importing an OBJ with no surfaces
An OBJ with no surfaces is valid, and typically happens when
you import an OBJ mesh with no associated MTL file.
2024-07-08 23:14:52 +02:00
Grublady
5583ac5218 Ignore trailing slashes in new project’s path when disabling Create Folder
In the “Create New Project” dialog, disabling the “Create Folder” slider with a trailing slash in the project path would cause it to incorrectly identify the last path component as the substring following the slash, in other words, an empty string.

By first discarding any trailing slashes when disabling the slider, the project dialog will now identify and pop the last path component as usual even when a trailing slash is present.
2024-07-08 17:10:12 -04:00
Aaron Franke
2e7526af42
Fix editor inspector crashing when the old object is no longer valid 2024-07-08 14:00:28 -07:00
clayjohn
5b213dcd26 Use GL_COLOR_ATTACHMENT in depth prepass when using Multiview.
I am certain this is a driver bug. But on some devices when no draw buffer is specified, the depth operations fail when there is no color buffer.
2024-07-08 12:52:20 -07:00
Zorvalt
5a81d2440f Fix build fetching git_timestamp if git log.showsignature=true 2024-07-08 21:52:07 +02:00
David Snopek
91fcdff01e GDExtension: Fix setting base class properties on a runtime class 2024-07-08 12:33:55 -05:00
Rémi Verschelde
16f98cd707
Merge pull request #94079 from RandomShaper/editor_main_mq
Let EditorLog use the right call queue for thread safety
2024-07-08 19:13:45 +02:00
Rémi Verschelde
6deaa15590
Merge pull request #94076 from AThousandShips/lambda_get_method_fix
[GDScript] Fix `get_method` for lambda self `Callable`s
2024-07-08 19:13:42 +02:00
Rémi Verschelde
3ced38cf28
Merge pull request #94073 from mihe/macos-home-end
Add Home/End to text caret movements on macOS
2024-07-08 19:13:39 +02:00
Rémi Verschelde
f85b1e4e3a
Merge pull request #94070 from RandomShaper/fix_wtp_rl_annoyance
ResourceLoader: Fix error message due to already-awaited tasks being re-awaited
2024-07-08 19:13:36 +02:00
Rémi Verschelde
40d9f3a158
Merge pull request #94020 from Hilderin/fix-reimport-model-does-not-update-scene
Fix re-import glb model doesn't change the old glb model
2024-07-08 19:13:34 +02:00
Rémi Verschelde
3220b6fb11
Merge pull request #93976 from Hilderin/fix-caret-disappear-from-script-editor
Fix caret can disappear from script editor
2024-07-08 19:13:31 +02:00
Rémi Verschelde
16d549adc9
Merge pull request #93765 from Jordyfel/reimport-dependency-bug
Fix reimport by scan parsing dependency paths incorrectly
2024-07-08 19:13:28 +02:00
Rémi Verschelde
137b138be8
Merge pull request #84974 from KoBeWi/import_reimport
Reimport file when .import changes
2024-07-08 19:13:24 +02:00
A Thousand Ships
f68ab70a6a
[GDScript] Fix get_method for lambda self Callables 2024-07-08 18:01:54 +02:00
Pedro J. Estébanez
20298fbf07 Let EditorLog use the right call queue for thread safety
This is a complement to f61c63e3a1.
2024-07-08 17:18:46 +02:00
Thaddeus Crews
0f691efb1b
SCons: Don't override cl flags on msvc 2024-07-08 09:48:18 -05:00
Mikael Hermansson
085f0cc50a Add Home/End to text caret movements on macOS 2024-07-08 16:08:27 +02:00
ayanchavand
34e2159d34 Clarify that some exclude properties of physics query parameters are copied 2024-07-08 18:46:29 +05:30
Hilderin
ebd1ab646c Fix caret can disappear from script editor 2024-07-08 07:11:17 -04:00
Pedro J. Estébanez
a426479b3f ResourceLoader: Fix error message due to already-awaited tasks being re-awaited 2024-07-08 12:19:44 +02:00
Pedro J. Estébanez
00e89229bf RenderingDevice: Leave handling of compressed block granularity to the driver 2024-07-08 11:58:51 +02:00
Rémi Verschelde
ec02d406ca
Merge pull request #94067 from RandomShaper/fix_build
Windows: Fix build error due to missing definition of Texture2D
2024-07-08 11:48:36 +02:00
Rémi Verschelde
9804a8eb30
Merge pull request #94061 from bruvzg/menu_is_native
[NativeMenu] Do not auto toggle check/multi-state items. Add `is_native_menu` method.
2024-07-08 11:48:33 +02:00
Rémi Verschelde
f4bf25cb35
Merge pull request #94057 from kitbdev/fix-request-save-signal-type
Fix ScriptEditor `request_save_previous_state` signal type
2024-07-08 11:48:30 +02:00
Rémi Verschelde
50db553ed5
Merge pull request #94054 from mihe/fix-bezier-focus
Fix focus shortcut when in the bezier curve editor
2024-07-08 11:48:26 +02:00
Rémi Verschelde
3b891f5a8a
Merge pull request #94004 from Hilderin/fix-blender-export-quotation-mark
Fix .blend files with quotation marks in filename fail to import
2024-07-08 11:48:23 +02:00
Rémi Verschelde
ca42afde32
Merge pull request #93928 from RandomShaper/fix_res_load_flush
`ResourceLoader`: Fixup management of thread-specific status
2024-07-08 11:48:19 +02:00
Rémi Verschelde
88296701fb
Merge pull request #93815 from HolonProduction/comletion-variant-lookup
Autocompletion: Don't use `in` operator to decide over variant lookup
2024-07-08 11:48:17 +02:00
Rémi Verschelde
e1a145bb3c
Merge pull request #91300 from jsjtxietian/project-binary-doc
Mention ProjectSettings won't be affected by `convert_text_resources_to_binary`
2024-07-08 11:48:11 +02:00
Pedro J. Estébanez
50bf2e5b37 Windows: Fix build error due to missing definition of Texture2D 2024-07-08 10:40:17 +02:00
Pedro J. Estébanez
f952d3956c ResourceLoader: Fixup management of thread-specific status
- Allows the message queue override to flush after loading each resource, which was the original intent.
- Removes a redundant call to mark the thread as safe-for-nodes.
2024-07-08 10:30:25 +02:00
bruvzg
eddc9cea11
[NativeMenu] Do not auto toggle check/multi-state items. Add is_native_menu method. 2024-07-08 11:20:28 +03:00
bruvzg
4790e12f66
Fix LCD font AA modulation in RendererRD. 2024-07-08 11:17:31 +03:00