Commit graph

15199 commits

Author SHA1 Message Date
Rémi Verschelde
085601510b
Merge pull request #90606 from m4gr3d/fix_export_option_overrides_load_on_startup
Fix the logic to load export preset's options overrides
2024-04-13 11:30:54 +02:00
Rémi Verschelde
dae51097c5
Merge pull request #90583 from groud/fix_heap-use-after-free_error
Fix heap-use-after-free error in TileMapLayerEditor
2024-04-13 11:30:38 +02:00
Rémi Verschelde
c88993411d
Merge pull request #90536 from Rindbee/make-the-inherited-scene-root-node-unable-to-change-type
Make the inherited scene root node unable to change type
2024-04-13 11:30:25 +02:00
Rémi Verschelde
665a98b5f2
Merge pull request #90525 from KoBeWi/color_limbo
Fix folder colors not saving after project.godot is modifed externally
2024-04-13 11:30:21 +02:00
Rémi Verschelde
2a0fcc4c7b
Merge pull request #88926 from samsface/fix_animation_player_error_dialog
Fix animation player error dialog focus
2024-04-13 11:30:18 +02:00
Rémi Verschelde
d5fd611591
Merge pull request #75787 from Calinou/advanced-import-settings-tweak-environment
Tweak environment in the Advanced Import Settings dialog
2024-04-13 11:30:06 +02:00
Fredia Huya-Kouadio
26e01e41dc Fix the logic to load export preset's options overrides
Update the logic to load export preset's options overrides when an editor export plugin is added.
2024-04-12 19:08:59 -07:00
sam
943aeb4573 fix animation error player error focus 2024-04-12 22:36:30 +01:00
Gilles Roudière
bb6a1cb5a8 Fix heap-use-after-free error in TileMapLayerEditor 2024-04-12 17:56:28 +02:00
kobewi
a064ca16a8 Fix folder colors not saving after project.godot is modifed externally 2024-04-12 13:22:46 +02:00
Rémi Verschelde
30e71782af
Merge pull request #90559 from Rindbee/fix-crash-when-drag-scene-file-to-screen
Fix crash when dragging scene files to 2D/3D screen
2024-04-12 11:17:05 +02:00
Rémi Verschelde
5eadb88596
Merge pull request #90183 from stevenjt/fix-gizmo-on-top-material-option
Fix gizmo on top material option having no effect
2024-04-12 11:16:41 +02:00
Rémi Verschelde
a95893caef
Merge pull request #89754 from KoBeWi/bottom_feeder
Fix SpriteFrames editor visibility problems
2024-04-12 11:16:37 +02:00
Rémi Verschelde
42ab525aa2
Merge pull request #86144 from jsjtxietian/disable-mesh-compression-for-2d
Disable mesh compression if vertex `position.z` is always 0
2024-04-12 11:16:33 +02:00
风青山
4ff5326959
Fix crash when dragging scene files to 2D/3D screen
The crash usually occurs when there is no scene root node.
2024-04-12 13:10:02 +08:00
风青山
e825a6fb01
Make the inherited scene root node unable to change type
Make the inherited scene root behave like other children from the
inherited scene.
2024-04-11 22:29:18 +08:00
Rémi Verschelde
b2f425fe68
Merge pull request #90514 from jsjtxietian/connection-dialog
Fix connection dialog raise error when it was previously opened in another scene
2024-04-11 11:03:00 +02:00
Rémi Verschelde
17665ec6f2
Merge pull request #89808 from timothyqiu/ok-i-know
Don't error multiple times when trying to load missing default bus layout
2024-04-11 11:02:39 +02:00
jsjtxietian
4aa5c80c07 Fix connection dialog raise error when it was previously opened in another scene 2024-04-11 12:57:58 +08:00
Rémi Verschelde
b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00
Rémi Verschelde
7c23d32446
Merge pull request #90441 from Calinou/editor-move-build-profile-editor
Move engine build profile editor to Tools submenu
2024-04-10 17:49:39 +02:00
Rémi Verschelde
5bb22d87cb
Merge pull request #90378 from AeioMuch/inspect_hovered_node_while_dragging
Inspect hovered node while dragging
2024-04-10 17:49:34 +02:00
AeioMuch
0ba1adfaf9 Inspect hovered node while dragging 2024-04-10 17:15:13 +02:00
Danil Alexeev
fc6c1d6363
Editor: Fix enum detection for unnamed classes 2024-04-10 16:10:55 +03:00
Rémi Verschelde
1f0f81049f
Merge pull request #90476 from mihe/revert-pack-trimming
Revert pack trimming introduced by #82084
2024-04-10 14:22:48 +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
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
492c19732e
Merge pull request #86386 from timothyqiu/empty-layout-name
Strip edges of editor layout names
2024-04-10 14:21:37 +02:00
Mikael Hermansson
a057158d75 Revert pack trimming introduced by #82084 2024-04-10 12:00:04 +02:00
jsjtxietian
077e20cd51 Disable mesh compression if vertex position.z is always 0 2024-04-10 11:27:36 +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
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
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
Christian Feuz
5c1d1ea620 Add option to copy absolute path in file system dock popup 2024-04-09 22:04:39 +02: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
Mikael Hermansson
9d01793dff Add --import command-line flag 2024-04-09 15:18:59 +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
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
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
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
Rémi Verschelde
5c5563f9c9
Merge pull request #90022 from YeldhamDev/debug_tree_fix
Fix debugger tree error on editor start
2024-04-08 18:42:34 +02:00
Rémi Verschelde
429bf0281c
Merge pull request #89810 from Geometror/fix-79417
[VisualShader] Remove invalid graph connections when ports are removed
2024-04-08 18:42:30 +02:00
A Thousand Ships
07c73063e3
[Windows] Support all possible suffixes for console wrapper 2024-04-08 16:42:29 +02:00
Hendrik Brucker
0b9b479ba7 [VisualShader] Remove invalid graph connections when ports are removed
Co-authored-by: EddieBreeg <eddiebreeg0@protonmail.com>
2024-04-08 15:31:27 +02:00