Commit graph

64534 commits

Author SHA1 Message Date
Haoyu Qiu
9315583af3 Fix mismatched parentheses in class reference 2024-05-30 15:54:53 +08:00
风青山
9fe902b296
Fix errors when re-importing 3D asset files
Some 3D asset files are treated as scenes and may cause some errors when
importing.

When working through different scene tabs, we need to temporarily add
the scene root to the SceneTree to ensure that `editor_selection->add_node()`
can work smoothly. This avoids the error message: `ERROR: Condition
"!p_node->is_inside_tree()" is true.`

This also ensures that no other scenes are accidentally added to the
SceneTree causing the wrong display. When there is an inherited scene
tab open and it is not the current tab, the new root node is accidentally
added as a child node of `scene_root` during replacement.

Instantiate the scene early so caches in SceneState that are cleared
due to loading are rebuilt early. This avoids numerous error messages:
`This operation requires the node cache to have been built.`
2024-05-30 07:46:36 +08:00
Mauricio Narvaez
28f357733f Ensure that Godot's version of libc++_shared.so is always selected in case dependencies have their own 2024-05-29 14:43:35 -07:00
Rémi Verschelde
25519867f2
Merge pull request #92225 from ajreckof/fix-multiline-array
Fix array variable with `@export_multiline` not registering changes.
2024-05-29 23:11:57 +02:00
Rémi Verschelde
a6ef250f3e
Merge pull request #92133 from m4gr3d/fix_touch_input
Fix invalid detection of mouse input
2024-05-29 23:03:27 +02:00
Rémi Verschelde
ebe7377563
Merge pull request #92511 from KoBeWi/not_a_path
Remove unused `base_hint` from EditorPropertyNodePath
2024-05-29 22:14:09 +02:00
Rémi Verschelde
036737e53f
Merge pull request #92508 from bruvzg/rtl_cell_docs
[RTL] Add references to cell and column configuration methods.
2024-05-29 22:14:06 +02:00
Rémi Verschelde
a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00
Rémi Verschelde
5f572561c5
Merge pull request #92368 from fire/vsk-csg-gltf-4.3
Fix GLTFDocument so it can export CSG Meshes correctly.
2024-05-29 22:14:00 +02:00
Rémi Verschelde
d1f6d4c8c3
Merge pull request #92339 from devloglogan/comp-layer-reference-frame
Apply reference frame transform to `OpenXRCompositionLayer` nodes
2024-05-29 22:13:56 +02:00
Rémi Verschelde
76237c5f9b
Merge pull request #91488 from akien-mga/resource-format-text-remove-obsolete-binary-conversion
Remove unused code to convert text resource format to binary
2024-05-29 22:13:52 +02:00
Rémi Verschelde
eb6ab8f255
Merge pull request #91052 from bruvzg/ios_def_landscape
[iOS] Change default iPad landscape orientation from "left" to "right".
2024-05-29 22:13:48 +02:00
Rémi Verschelde
c42751cae2
Merge pull request #91033 from Hilderin/keep_current_bottom_panel_on_play
Add editor setting to keep bottom panel state on play and stop game
2024-05-29 22:13:45 +02:00
Rémi Verschelde
d489d4aa24
Merge pull request #90570 from timothyqiu/at-last
Rearrange "Open In" menu items of FileSystem dock
2024-05-29 22:13:40 +02:00
Rémi Verschelde
972181d701
Merge pull request #90506 from Calinou/test-transform2d-add-more-tests
Add more unit tests for Transform2D
2024-05-29 22:13:35 +02:00
Rémi Verschelde
2c50e87f60
Merge pull request #89470 from jsjtxietian/msdf-uv
Fix shader compilation error when enabling texture MSDF and UV1 Triplanar at the same time
2024-05-29 22:13:30 +02:00
Rémi Verschelde
46629e1e07
Merge pull request #89346 from bruvzg/tree_crash
Defer `ActionMapEditor::_action_edited` signal to prevent tree updates when tree is blocked.
2024-05-29 22:13:24 +02:00
Rémi Verschelde
9b1dbd2556
Merge pull request #87446 from Mickeon/documentation-Joint-tweaks
Tweak Joint2D and Joint3D documentation for consistency
2024-05-29 22:13:18 +02:00
Mikael Hermansson
b6e5e16868 Prevent static XCFramework bundles from being embedded on iOS 2024-05-29 17:54:49 +02:00
K. S. Ernest (iFire) Lee
5a24aec599 Fix GLTFDocument so it can export CSG Meshes correctly. 2024-05-29 07:10:45 -07:00
devloglogan
6a8f2f00ac Apply reference frame transform to OpenXRCompositionLayer nodes 2024-05-29 07:52:54 -05:00
kobewi
6479b5673f Remove unused base_hint from EditorPropertyNodePath 2024-05-29 13:18:19 +02:00
bruvzg
c82003c474
Defer ActionMapEditor::_action_edited signal to prevent tree updates when tree is blocked. 2024-05-29 13:13:20 +03:00
bruvzg
c8ae9e9c76
[iOS] Change default iPad landscape orientation from "left" to "right". 2024-05-29 12:47:49 +03:00
Hilderin
76205d4276 Add editor setting to keep bottom panel state on play and stop game 2024-05-29 05:45:17 -04:00
Rémi Verschelde
8bf8f41fc0
Merge pull request #92506 from bruvzg/win_pos_preview
Fix Window position preview in the editor.
2024-05-29 11:20:17 +02:00
Rémi Verschelde
219af366a5
Merge pull request #92505 from bruvzg/te_ro_margins
[TextEdit] Use style margins for selection in read-only mode.
2024-05-29 11:20:14 +02:00
Rémi Verschelde
05442e81c0
Merge pull request #92500 from timothyqiu/stretch-shrink-range
Add range hint for `SubViewportContainer.stretch_shrink`
2024-05-29 11:20:11 +02:00
Rémi Verschelde
6c7ca019d7
Merge pull request #92473 from passivestar/animation-disabled-controls
Fix animation player controls being enabled when no player is selected
2024-05-29 11:20:08 +02:00
Rémi Verschelde
b60471f3c0
Merge pull request #92463 from Daylily-Zeleen/daylily-zeleen/fix_graph_edit_minimap_connection_line
[GraphEdit] Convert to minimap line after getting connection line.
2024-05-29 11:20:04 +02:00
Rémi Verschelde
9bb858c803
Merge pull request #92460 from bruvzg/adlg_cancel_conf
Fix duplicate AcceptDialog cancel/confirm events.
2024-05-29 11:20:01 +02:00
Rémi Verschelde
21810cad38
Merge pull request #92457 from YeldhamDev/extreme_corner_case_but_still
Set `doc_name` even when categories are hidden in the inspector
2024-05-29 11:19:57 +02:00
Rémi Verschelde
4d255a1b50
Merge pull request #92454 from jsjtxietian/multi-connect
Prevent connect `scroll_to_paragraph` multiple times to `class_desc`
2024-05-29 11:19:54 +02:00
Rémi Verschelde
183c634428
Merge pull request #92372 from smix8/navregion2d_debug
Improve NavigationRegion2D debug performance
2024-05-29 11:19:51 +02:00
Rémi Verschelde
47fa384b89
Merge pull request #92279 from SaracenOne/scene_reload_crashfix_2
Fix script properties being lost and prevent node reference corruption upon scene reimport
2024-05-29 11:19:48 +02:00
Rémi Verschelde
20ad681da2
Merge pull request #92126 from TokageItLab/reset-dominant
Fix Deterministic blending with Dominant/Recessive doesn't have initial value even if there is no Discrete track
2024-05-29 11:19:45 +02:00
Rémi Verschelde
4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
Rémi Verschelde
bda8e30e80
Merge pull request #83248 from pkowal1982/event_configuration
(Un)Fold event categories by double click
2024-05-29 11:19:35 +02:00
bruvzg
b8bb382115
[RTL] Adds references to cell and column configuration methods. 2024-05-29 12:15:01 +03:00
passivestar
2eaeee59d4 Fix animation player controls being enabled when no player is selected 2024-05-29 13:02:31 +04:00
bruvzg
19839d9553
Fix Window position preview in the editor. 2024-05-29 11:56:06 +03:00
bruvzg
1d0a8ea828
[TextEdit] Use style margins for selection in read-only mode. 2024-05-29 10:07:32 +03:00
Daylily-Zeleen
28a2fa496f [GraphEdit] Convert to minimap line after getting connection line. 2024-05-29 12:58:51 +08:00
jsjtxietian
b33811d46b Prevent connect scroll_to_paragraph multiple times to class_desc 2024-05-29 12:58:08 +08:00
Haoyu Qiu
fd5118c781 Add range hint for SubViewportContainer.stretch_shrink 2024-05-29 09:03:15 +08:00
matheusmdx
18cdb3c0d7 Fix error after create a new animation in an empty AnimationPlayer 2024-05-28 19:14:00 -03:00
Michael Alexsander
1bfcb6ee65
Set doc_name even when categories are hidden in the inspector
Otherwise, tooltips will fail to fetch descriptions.
2024-05-28 15:44:22 -03:00
smix8
5f5fe737d2 Improve NavigationRegion2D debug performance
Improves NavigationRegion2D debug performance by replacing the canvas polygon and line commands with a static mesh.
2024-05-28 19:36:35 +02:00
Saracen
e57312d84e Updated scene hot-reloading:
Preserves exported script variables
Prevents corruption of direct node references.
2024-05-28 09:23:59 -07:00
Rémi Verschelde
1e6b11dcd4
Merge pull request #92287 from clayjohn/LOD-safe-fixes
Fix LOD selection in compatibility backend and clean up LOD code
2024-05-28 18:06:45 +02:00