Commit graph

63046 commits

Author SHA1 Message Date
Gamepro5
4799459e15 Surface normal is not correct 2024-04-09 19:30:57 -07:00
ajreckof
248e5bfba2
Revert what needs to be reverted 2024-04-10 09:49:30 +08:00
风青山
41f6a683b6
Correctly replace scene root when must_reload in EditorData::check_and_update_scene()
We need to update the scene root in multiple singletons to ensure that
certain flags are correct. This is what `EditorNode::set_edited_scene()`
does.

Usually we use `replace_by` to complete the replacement of the scene
root. Call `EditorNode::set_edited_scene()` when the `replacing_by`
signal is emitted to set the new scene root. This is suitable when
using a single node to replace, which may be problematic if the
replacing node is a tree. Because during the call to `replace_by()`,
the new node and its child nodes will enter tree during `parent->
add_child(p_node)`, and later emits the `replacing_by` signal.

When the parent scene has to be reloaded because the child scene
changes and switches to the parent scene, there is no need to use
`replace_by()` since the scene's diffs are already saved.
2024-04-10 09:49:29 +08:00
clayjohn
bafbde9f4b Clear RIDs of weight buffers when freeing to avoid double free 2024-04-09 17:52:05 -07:00
Bastiaan Olij
b67eba8399 OpenXR: apply fix for reverse Z 2024-04-10 10:35:19 +10:00
Hugo Locurcio
840d860f88
Document Area3D wind properties only affecting SoftBody3D 2024-04-10 00:06:27 +02:00
Rémi Verschelde
6c57928063
Merge pull request #90450 from akien-mga/scons-fix-scu-windows
SCons: Fix SCU build regression on Windows
2024-04-09 22:29:47 +02:00
Rémi Verschelde
0993df8be3
Merge pull request #90431 from mihe/import-flag
Add `--import` command-line flag
2024-04-09 22:29:44 +02:00
Rémi Verschelde
d3d10b55b4
Merge pull request #90422 from bruvzg/net_no_native_embed
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms.
2024-04-09 22:29:41 +02:00
Rémi Verschelde
78fade3809
Merge pull request #89874 from jsjtxietian/path2d
Fix Path2D's add new point's UndoRedo bug
2024-04-09 22:25:18 +02:00
Rémi Verschelde
9a9045cf7a
Merge pull request #89382 from dcaoc03/master
Fix enum autocompletion for core classes
2024-04-09 22:25:13 +02:00
Rémi Verschelde
c8fb248f92
Merge pull request #88056 from BastiaanOlij/gles_reflection_probes
Add reflection probe support to compatibility renderer
2024-04-09 22:25:07 +02:00
Rémi Verschelde
f94bf175df
Merge pull request #87466 from BastiaanOlij/fix_openxr_render_target_multiplier
OpenXR: Cleanup swapchain logic (was Fix render target multiplier)
2024-04-09 22:25:03 +02:00
Rémi Verschelde
bff6955459
Merge pull request #85024 from Jordyfel/moving-scripts-of-types-of-exported-typed-arrays
When saving a resource with an exported typed array, check whether the type is an external resource
2024-04-09 22:25:00 +02:00
Rémi Verschelde
f8ca571efe
Merge pull request #84043 from dalexeev/gds-fix-unsafe-cast-warning
GDScript: Fix `UNSAFE_CAST` warning
2024-04-09 22:24:55 +02:00
Rémi Verschelde
9ad140f4f2
SCons: Fix SCU build regression on Windows
PR #89452 made assumptions on comparing paths as strings
which doesn't work when composing them as POSIX paths (`/`)
but processing them on NT (`\`, `\\`).
2024-04-09 22:18:37 +02:00
Christian Feuz
5c1d1ea620 Add option to copy absolute path in file system dock popup 2024-04-09 22:04:39 +02:00
Christian Feuz
1ad39e1329 Added hint for required ios camera plugin in CameraServer documentation 2024-04-09 21:59:42 +02:00
kit
a1bde1b9db Fix caret last fit when moving to line end 2024-04-09 14:06:57 -04:00
Hugo Locurcio
8e924bcb22
Move engine build profile editor to Tools submenu
- Rename it to Engine Compilation Configuration Editor. This makes
  it clearer that it requires compiling the engine to work ("build"
  can be understood as exporting a project or building C# solutions
  by some).
- Add it to the editor command palette and allow defining a keyboard
  shortcut for it, for consistency with other tools.
2024-04-09 19:08:31 +02:00
Hugo Locurcio
084b8d1246
Fix GeometryInstance3D Custom AABB assignment in the editor not working
This also fixes error spam when changing Custom AABB on a MeshInstance3D
that has no Mesh resource assigned yet (which is allowed in the editor).
This avoids pitfalls when assigning a custom AABB in a script when
loading meshes at runtime.
2024-04-09 19:02:43 +02:00
bruvzg
bf558adcdd
[.NET] Disable output embedding on macOS, move it to the advanced options on other platforms. 2024-04-09 17:47:39 +03:00
Mikael Hermansson
9d01793dff Add --import command-line flag 2024-04-09 15:18:59 +02:00
Jordyfel
82de00a174 Type of exported typed array can be external resource 2024-04-09 15:28:42 +03:00
Rémi Verschelde
a7b860250f
Merge pull request #90419 from dalexeev/gds-fix-hl-esc-multiline-r-strings
GDScript: Fix highlighting escapes in multiline raw strings
2024-04-09 10:42:45 +02:00
Rémi Verschelde
a445f6bf69
Merge pull request #90415 from YeldhamDev/yet_another_meta_added
Fix `TabContainer` desync when tabs share names
2024-04-09 10:42:42 +02:00
Rémi Verschelde
8c6e8c72a2
Merge pull request #90414 from jsjtxietian/assign-crash
Fix `_node_assign` will crash  when `base_node` is nullptr
2024-04-09 10:42:38 +02:00
Rémi Verschelde
dfcf803724
Merge pull request #90255 from Jabberdrake/bugfix-new
Fix 3d axes flickering in the negative direction when extremely zoomed out
2024-04-09 10:42:35 +02:00
Rémi Verschelde
dcf17cbb11
Merge pull request #89931 from timothyqiu/relax
Relax grid parameter constraints in texture region editor
2024-04-09 10:42:32 +02:00
Rémi Verschelde
3c4c79c65a
Merge pull request #89803 from timothyqiu/xfce4-terminal
Add necessary flags when opening directory with xfce4-terminal
2024-04-09 10:42:27 +02:00
Rémi Verschelde
9cba6ec216
Merge pull request #89491 from thimenesup/compute_dispatch_indirect
Expose bindings to compute dispatch indirect of rendering device
2024-04-09 10:42:22 +02:00
Rémi Verschelde
964684b6e3
Merge pull request #69662 from kkoang/patch-1
doc: Use `Signal.emit` instead of `emit_signal` in Object examples
2024-04-09 10:42:15 +02:00
Miguel Coelho
a53841021c
Fixes 3D axes flickering in the negative direction
When zooming out in the 3d node editor view, the negative half
of all 3d axes starts flickering upon moving the camera. To fix this,
the logic surrounding 3d transform "scaled" and "translated" calls has
been altered so as to account for negative distance values.

Fixes #89215.
2024-04-09 10:38:22 +02:00
kkoang
3286e191f3
doc: Use Signal.emit instead of emit_signal in Object examples 2024-04-09 10:35:15 +02:00
Danil Alexeev
98dac9e39c
GDScript: Fix highlighting escapes in multiline raw strings 2024-04-09 10:21:10 +03:00
Bastiaan Olij
c388fe2ba7 OpenXR: Improve swapchain logic and fix swapchain update when render target multiplier is changed. 2024-04-09 16:56:39 +10:00
Bastiaan Olij
509d8dba2a Add reflection probe support to compatibility renderer using 2 probe approach. 2024-04-09 16:53:28 +10:00
Michael Alexsander
adea1a4b9b
Fix TabContainer desync when tabs share names 2024-04-09 02:02:05 -03:00
jsjtxietian
7d4bdcf80a Fix _node_assign will crash when base_node is nullptr 2024-04-09 12:37:32 +08:00
Hugo Locurcio
72599858fc
Tweak environment in the Advanced Import Settings dialog
Use a gradient sky to improve visibility in shaded areas,
while also helping the user orient themselves. The bottom of the sky
is black, while the top of the sky is white.

This change also makes it so that the Default Clear Color project setting
no longer affects the Advanced Import Settings dialog.
2024-04-09 01:03:49 +02:00
Rémi Verschelde
9d6bdbc56e
Merge pull request #90406 from akien-mga/sync-controllerdb
Sync controller mappings DB with SDL 2 community repo
2024-04-08 23:04:41 +02:00
Rémi Verschelde
3d382c16ab
Merge pull request #90404 from aaronp64/zipreader_empty_error
Fix `ZIPReader.get_files()` error on empty zip files
2024-04-08 23:04:35 +02:00
Rémi Verschelde
6772047e50
Sync controller mappings DB with SDL 2 community repo
Synced with mdqinc/SDL_GameControllerDB@4c9b8dace8
2024-04-08 22:22:30 +02:00
aaronp64
2dad2fbce2 Fix ZIPReader.get_files() error on empty zip files
Added check for empty zip file before trying to look at first file

Fixes #90388
2024-04-08 15:57:35 -04:00
Rémi Verschelde
dd926b9132
Merge pull request #90398 from KoBeWi/secret_features👀
Add tests for signal await with parameters
2024-04-08 21:56:15 +02:00
Rémi Verschelde
ec773fdc61
Merge pull request #90396 from kleonc/rendering-server-instance-set-transform-document-it-is-global
Fix `RenderingServer.instance_set_transform` docs saying it's not global
2024-04-08 21:56:12 +02:00
Rémi Verschelde
d2c7f09353
Merge pull request #90387 from AThousandShips/console_wrap_fix
[Windows] Support all possible suffixes for console wrapper
2024-04-08 21:56:05 +02:00
thimenesup
8017c8cf21 Expose bindings to compute dispatch indirect rendering device 2024-04-08 20:46:53 +02:00
kobewi
809c6817be Add tests for signal await with parameters 2024-04-08 19:12:01 +02:00
kleonc
01b029f0a5 Fix RenderingServer.instance_set_transform docs saying it's not global 2024-04-08 18:47:29 +02:00