Commit Graph

63124 Commits

Author SHA1 Message Date
Rémi Verschelde 5c75fa260f
Merge pull request #90458 from clayjohn/RD-weight-buffer
Clear RIDs of weight buffers when freeing to avoid double free
2024-04-10 14:22:37 +02:00
Rémi Verschelde 258f2705f6
Merge pull request #90440 from Calinou/geometryinstance3d-fix-custom-aabb-assignment
Fix GeometryInstance3D Custom AABB assignment in the editor not working
2024-04-10 14:22:33 +02:00
Rémi Verschelde 9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +02:00
Rémi Verschelde 7d7d30340f
Merge pull request #90421 from Krigu/add_option_copy_absolute_path_to_file_system_dock_popup
Add option to copy absolute path in file system dock popup
2024-04-10 14:22:26 +02:00
Rémi Verschelde 0d50f45482
Merge pull request #90416 from BastiaanOlij/openxr_fix_reverse_z
OpenXR: Apply fix for reverse Z
2024-04-10 14:22:17 +02:00
Rémi Verschelde d899558bbc
Merge pull request #90407 from Calinou/doc-softbody3d-wind
Document Area3D wind properties only affecting SoftBody3D
2024-04-10 14:22:12 +02:00
Rémi Verschelde d68e04d0f5
Merge pull request #90389 from Krigu/update_documentation_for_camera_server_ios
Doc: Add hint for required ios camera plugin in CameraServer documentation
2024-04-10 14:22:08 +02:00
Rémi Verschelde 4b82e90f86
Merge pull request #90056 from lyuma/get_skin_reference
Expose `MeshInstance3D.get_skin_reference` and add docs
2024-04-10 14:22:04 +02:00
Rémi Verschelde 50b89e6c56
Merge pull request #89752 from ze2j/fix_false_positive_errors_in_gdshaderinc_files
Fix false positive errors in gdshaderinc files
2024-04-10 14:22:00 +02:00
Rémi Verschelde c59f493620
Merge pull request #89729 from jitspoe/master.shadow_distance_fade_optimization
Shadow fade for omni lights actually stops the shadow from updating while faded out to improve performance.
2024-04-10 14:21:56 +02:00
Rémi Verschelde 22299f83f1
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
Editor: Fix text color in `EditorHelpHighlighter`
2024-04-10 14:21:51 +02:00
Rémi Verschelde de1f77c78d
Merge pull request #89404 from clayjohn/DOCS-bounce-reflect
Clarify bounce and reflect docs and update param names
2024-04-10 14:21:46 +02:00
Rémi Verschelde 4b813386d2
Merge pull request #88614 from ramadm/test-camera-2d
Add unit tests for Camera2D
2024-04-10 14:21:43 +02:00
Rémi Verschelde 492c19732e
Merge pull request #86386 from timothyqiu/empty-layout-name
Strip edges of editor layout names
2024-04-10 14:21:37 +02:00
Rémi Verschelde 09be7329a2
Merge pull request #81465 from RevoluPowered/unit-test-resolve-hostname
Add unit test for `IP.resolve_hostname`
2024-04-10 14:21:32 +02:00
RevoluPowered 65d076b78d
Add unit test for resolve_hostname 2024-04-10 14:19:04 +02:00
Lyuma 2854d0a7ca
Expose MeshInstance3D.get_skin_reference and add docs 2024-04-10 14:12:25 +02:00
clayjohn c0d0bdc160
Clarify bounce and reflect docs and update param names 2024-04-10 14:07:08 +02:00
Mikael Hermansson a057158d75 Revert pack trimming introduced by #82084 2024-04-10 12:00:04 +02:00
bruvzg d34c1f7733
[RTL] Fix dropcaps and list prefixes not taking visible characters into account. 2024-04-10 11:08:57 +03:00
Pedro J. Estébanez 114b14b0fa CommandQueueMT: Fix flush re-entrancy 2024-04-10 10:02:30 +02:00
Danil Alexeev 02253b6b91
GDScript: Fix continuation lines in `GDScriptTokenizerBuffer` 2024-04-10 08:51:02 +03:00
nazarii 0c8e1c69f8 Add unit tests for OAHashMap 2024-04-10 07:51:06 +03:00
jsjtxietian 077e20cd51 Disable mesh compression if vertex position.z is always 0 2024-04-10 11:27:36 +08:00
Gamepro5 4799459e15 Surface normal is not correct 2024-04-09 19:30:57 -07:00
Haoyu Qiu bafbdc6cb2 Improve search/replace bar behavior
- When multiple lines are selected:
  - Find: Keep previous search instead of putting those lines in the
    find input.
  - Replace: Focus find input instead of replace input.
- Add placeholder and tooltip for LineEdits and icon buttons.
- Disable related buttons when the operation makes no sense.
2024-04-10 10:10:17 +08: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
aaronp64 050ca0c5ed Fix theme_override tooltip caching
theme_override properties have some special handling in EditorInspector.  When caching documentation info for properties, the theme_item_name value (used only for theme_overrides) was not being cached, so it would only be included on first use.  This meant that theme_override property tooltips would show up in the editor the first time a node was selected, but not again after selecting something else/reselecting.  Added theme_item_name to caching to fix this.

Fixes #90395
2024-04-09 14:31:44 -04: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
Silc Lizard (Tokage) Renew 9855ffd2e4 Separate value/bezier track caching process in AnimationMixer 2024-04-10 01:37:23 +09: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