Commit graph

15378 commits

Author SHA1 Message Date
风青山
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
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
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
Rémi Verschelde
7fa4698475
Merge pull request #90317 from ajreckof/Fix-strange-visual-bug-with-camera-and-external-change-
Fix strange visual bug with camera and external change.
2024-04-08 14:04:45 +02:00
Rémi Verschelde
15b9e7cb2a
Merge pull request #89841 from timothyqiu/double-decker
Fix wrong values displayed after duplicating an audio bus
2024-04-08 14:04:35 +02:00
A Thousand Ships
23782b898b
Add further details on properties returning Packed*Array 2024-04-08 11:35:27 +02:00
Rémi Verschelde
f202ebb495
Merge pull request #90102 from themancalledjakob/fix-drag-drop-shadermaterial
Allow drag and dropping ShaderMaterial in 3D viewport
2024-04-08 11:20:59 +02:00
Rémi Verschelde
84af65d4ba
Merge pull request #89801 from timothyqiu/lost-group
Fix heap-use-after-free when converting scene group to global
2024-04-08 11:20:21 +02:00
Rémi Verschelde
bfccd57769
Merge pull request #89573 from timothyqiu/hop
Fix crash when columns are skipped in CSV translation
2024-04-08 11:20:09 +02:00
ajreckof
609559c074 Fix strange visual bug with camera and external change. 2024-04-07 03:49:43 +02:00
Rémi Verschelde
66dbe3591b
Merge pull request #90280 from TheSofox/duplicated-folder-reference-fix
Fix duplicated folder reference in Godot Editor after changing filename case
2024-04-06 13:06:57 +02:00
Rémi Verschelde
92afd2c417
Merge pull request #90278 from KoBeWi/self_dropping_resources
Prevent dropping Resource to the same resource picker
2024-04-06 13:06:53 +02:00
Rémi Verschelde
554c0af5d4
Merge pull request #90186 from Maran23/error-when-rename-move
Fix errors when renaming/moving/deleting global scripts
2024-04-06 13:06:32 +02:00
Rémi Verschelde
e6d0d0b391
Merge pull request #89406 from AeioMuch/drag_drop_array_nodes
Allow batch drag and drop in typed array of Node and NodePath.
2024-04-06 13:06:18 +02:00
AeioMuch
409c71bdfd Allow batch drag and drop in typed array of Node and NodePath. 2024-04-06 08:18:44 +02:00
Sofox
87b5a56ddf Fix duplicated folder reference in Godot Editor after changing filename case 2024-04-05 21:38:48 +01:00
kobewi
b9c78ba174 Prevent dropping Resource to the same resource picker 2024-04-05 22:26:29 +02:00
Marius Hanl
dda06a8209 Fix errors when renaming/moving/deleting global scripts
When renaming or moving global scripts, the following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
- Parser Error: Class 'xxx' hides a global script class.

When deleting scripts, errors appear when opening the 'Create Node Dialog' as the script cache still contains the removed global scripts. The following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
editor/create_dialog.cpp:241 - Condition "scr.is_null()" is true.

All this errors can be fixed by correctly handling the cases. They involves removing the old path and adding the new one (if not deleted) to the ScriptServer. This is somewhat similar if the file is moved or deleted outside Godot and detected by the file watcher, but more specialized for this particular usecase, since we know the old and the new path / correctly know what the user just did.
2024-04-05 18:52:15 +02:00
Rémi Verschelde
655e93d584
Merge pull request #90266 from akien-mga/scenetreeeditor-fix-treeitem-crash
SceneTreeEditor: Fix crash when TreeItem is removed before callback
2024-04-05 17:23:03 +02:00
Rémi Verschelde
6b8daa498e
SceneTreeEditor: Fix crash when TreeItem is removed before callback
Fixes #90235.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-04-05 16:53:33 +02:00
ajreckof
866452c75e Fix crash on invalid values in EditorPropertyArray/Dict 2024-04-05 16:42:21 +02:00
Rémi Verschelde
4396fb48f8
Merge pull request #90062 from AlexOtsuka/fix-filesystemdock-drop
Fix FileSystemDock behavior when dropping an item in the current folder
2024-04-05 12:16:07 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Rémi Verschelde
fe25b18432
Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
AlexOtsuka
0ccc34d351 Fix FileSystemDock behavior when dropping an item in the current folder 2024-04-04 20:19:29 +02:00
Silc Lizard (Tokage) Renew
04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +09:00
Rémi Verschelde
f6a78f83aa
Merge pull request #90207 from groud/fix_no_cached_rect
Fix "no cached rect" errors in TileMapLayer editor
2024-04-04 17:09:26 +02:00
Rémi Verschelde
4d7c87b7be
Merge pull request #90204 from groud/fix_highlighting_update_on_disable
Correctly update TileMapLayer highlighting when disabling it
2024-04-04 17:09:23 +02:00
Rémi Verschelde
d2bd818f46
Merge pull request #90080 from bruvzg/color_title_logo
[Project Manager] Replace title bar logo with color variant.
2024-04-04 17:09:20 +02:00
Gilles Roudière
c928273c6c Fixes "no cached rect" errors in TileMapLayer editor 2024-04-04 16:28:31 +02:00
Gilles Roudière
256a6713f2 Correctly update TileMapLayer highlighting when disabling it 2024-04-04 15:25:42 +02:00
Hendrik Brucker
a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
Rémi Verschelde
70f6650404
Merge pull request #90078 from SirLich/project-tools-palette
Include 'Orphan Resource Explorer' and 'Upgrade Mesh Surfaces' in Command Palette.
2024-04-04 14:37:07 +02:00
Rémi Verschelde
046816e6b9
Merge pull request #90065 from lyuma/rest_fixer_scaled_position
Fix 2 bugs with scale of position tracks in rest fixer
2024-04-04 14:37:04 +02:00
Rémi Verschelde
96a75d99c4
Merge pull request #90064 from lyuma/remove_immutable_post
Apply "Remove Immutable Tracks" after post-import.
2024-04-04 14:37:01 +02:00
Rémi Verschelde
4329ccb6e6
Merge pull request #90019 from fire/avoid-bone-map-infinite-loop
Fixed loop condition in bone mapping
2024-04-04 14:36:47 +02:00
Rémi Verschelde
77a9cf0ce8
Merge pull request #90003 from AlexOtsuka/fix-animation-save-paths
Fix Set Animation Save Paths breaking on Windows
2024-04-04 14:36:44 +02:00
Rémi Verschelde
299d23aa08
Merge pull request #89987 from Calinou/editor-asset-library-rename-official-support-level
Rename Official support level to Featured in the editor asset library
2024-04-04 14:35:51 +02:00
Rémi Verschelde
8c935c8410
Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr
Editor: Disable auto-translation of titles in `AssetLib`.
2024-04-04 14:35:47 +02:00
Rémi Verschelde
89109e8b01
Merge pull request #89974 from jsjtxietian/tab-close
Reset `tab_closing_menu_option` when cancelling closing editor
2024-04-04 14:35:41 +02:00
Rémi Verschelde
b77ac0a2b3
Merge pull request #89933 from jsjtxietian/path3d-remove
Support "clear points" function in Path3D topmenu bar
2024-04-04 14:35:27 +02:00
Rémi Verschelde
8516304b82
Merge pull request #89847 from GreenCrowDev/missing-bezier-handles
UX and stability improvements for `Path3D` node
2024-04-04 14:31:49 +02:00
Rémi Verschelde
c97885be7d
Merge pull request #89811 from timothyqiu/missing-i18n
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +02:00
Rémi Verschelde
7fa97f37fb
Merge pull request #89452 from Riteo/name-a-better-duo
SCons: Enable the experimental Ninja backend and minimize timestamp changes to generated code
2024-04-04 14:31:24 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde
b5369ee3b3
Merge pull request #89017 from kitbdev/add-close-docks
Allow docks to be closed and opened
2024-04-04 14:31:11 +02:00
Rémi Verschelde
2c65bf0d69
Merge pull request #88761 from eugene87222/fix-asset-lib-layout
Fix broken layout of asset library page
2024-04-04 14:30:58 +02:00
Rémi Verschelde
e302fb2167
Merge pull request #85386 from RedMser/scene-tree-editor-improvements
Improve SceneTreeEditor usability
2024-04-04 14:30:38 +02:00
Rémi Verschelde
84b3d14c9a
Merge pull request #82852 from timothyqiu/property-context
Add context support for editor property name i18n
2024-04-04 14:30:29 +02:00
Eugene Yang
c5cab60b90 Fix broken layout of asset library page 2024-04-04 11:39:47 +08:00
Rémi Verschelde
f47f4a02c8
Merge pull request #89992 from ajreckof/fix-my-mistake-with-replace-in-update-scene
Fix node duplication in update after external changes.
2024-04-04 02:53:57 +02:00
Steven Thompson
9b1a1d2813 Fix gizmo on top material option having no effect
Update get_material function in EditorNode3DGizmoPlugin so that it
enables the disable depth test flag on duplicate versions of the gizmo
materials if the flag is not already set and the gizmo is set to use the
'x-ray' visibility state.
2024-04-03 21:29:51 +01:00
ajreckof
ae472865d0 fix node duplication in update after external changes. 2024-04-03 12:19:38 +02:00
Gilles Roudière
3cd4b2859c Expose TileMapLayer 2024-04-03 11:02:34 +02:00
Haoyu Qiu
91204f6f3f Fix missing i18n for some editor strings 2024-04-03 16:42:28 +08:00
themancalledjakob
d90d5eb3c1 allow drag and dropping ShaderMaterial in 3D viewport
Fixes #90075
2024-04-01 15:52:22 +02:00
RedMser
9cd30208d6 Improve SceneTreeEditor usability
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
bruvzg
364f90512d
[Project Manager] Replace titlebar logo with color variant. 2024-03-31 21:35:43 +03:00
SirLich
c90b2b4299 Include project->tools in command palette 2024-03-31 20:03:51 +02:00
kobewi
5a8066bd50 Fix scroll to description 2024-03-31 14:30:33 +02:00
Haoyu Qiu
479b7afa8e Add context support for editor property name i18n 2024-03-31 18:40:14 +08:00
Haoyu Qiu
23d50b1117 Strip edges of editor layout names 2024-03-31 17:43:03 +08:00
Lyuma
00cf862b54 Fix 2 bugs with scale of position tracks in rest fixer
Both bugs were related to how position animation tracks were adjusted in rest fixer.
First bug: motion scale is applied before subtracting the origin when applying bone roll
Second bug: armature scale was lost when converting basis to quaternion, leading an unscaled position offset to be added to the scaled origin.
2024-03-30 23:54:50 -07:00
Lyuma
b0ce274a52 Apply "Remove Immutable Tracks" after post-import.
Reimplements "Remove Immutable" by comparing to the skeleton rest.
It is necessary to delay removing animation tracks until after the correct rest pose is calculated in rest-fixer.
Preserves the original implementation in the GLTFDocument / FBXDocument API for compatibility.
2024-03-30 23:45:22 -07:00
AlexOtsuka
4d3319eceb Fix Set Animation Save Paths breaking on Windows 2024-03-31 00:46:25 +01:00
A Thousand Ships
334449df70
[Animation] Expose SkeletonProfile.set/is_required 2024-03-30 20:57:55 +01:00
kit
860bff926e Allow docks to be closed 2024-03-29 22:03:59 -04:00
Michael Alexsander
ed1fa9bedf
Fix debugger tree error on editor start 2024-03-29 13:44:49 -03:00
K. S. Ernest (iFire) Lee
15f1a0fba3 Fixed loop condition in bone mapping
Corrected the for-loop condition in the auto_mapping_process function. Previously, it was checking if children.size() is non-zero, which resulted in an infinite loop
2024-03-29 07:22:17 -07:00
Hugo Locurcio
1e4c7c8a57
Rename Official support level to Featured in the editor asset library
This paves the way for integrating hand-picked high-quality assets
to be displayed in the project manager when accepting the
"you don't have any projects yet" dialog.
2024-03-28 18:40:32 +01:00
Zae
361f693adc Editor: Disable auto-translation of titles in AssetLib. 2024-03-28 20:39:43 +08:00
jsjtxietian
41dce99831 Reset tab_closing_menu_option when cancel closing editor 2024-03-28 19:22:52 +08:00
bruvzg
61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor. 2024-03-28 11:53:03 +02:00
Rémi Verschelde
86415f0245
Merge pull request #89963 from timothyqiu/auto-translation
Fix unexpected auto-translation of more editor components
2024-03-28 10:47:42 +01:00
Rémi Verschelde
669fc368ac
Merge pull request #89922 from brno32/override-gutter-icon-inner-class-method
Refactor check for overriden methods in inner classes
2024-03-28 10:47:28 +01:00
Rémi Verschelde
b23d7c3645
Merge pull request #89915 from KoBeWi/podzasób
Disable auto-translation in sub-resource list menu
2024-03-28 10:47:24 +01:00
Haoyu Qiu
f298aaa956 Fix unexpected auto-translation of more editor components 2024-03-28 10:50:57 +08:00
jsjtxietian
34eff85014 Support “clear points” function in Path3D editor 2024-03-27 12:40:30 +08:00
Haoyu Qiu
151d7b10e0 Relax grid parameter constraints in texture region editor 2024-03-27 11:56:28 +08:00
Alex Drozd
fcb0b8d0bf Refactor check for overriden methods in inner classes 2024-03-26 22:14:57 +01:00
kobewi
ad7d54174b Disable auto-translation in sub-resource list menu 2024-03-26 17:47:30 +01:00
Haoyu Qiu
e1ee838d11 Fix wrong extension filter for dependency editor 2024-03-26 23:51:30 +08:00
Rémi Verschelde
3fa6ec7285
Merge pull request #89901 from jsjtxietian/path3d
Fix Path3D picking working incorrectly when viewport is in half resolution
2024-03-26 13:45:50 +01:00
Rémi Verschelde
4dec783017
Merge pull request #89545 from brno32/override-gutter-icon-inner-class-method
Fix missing gutter icon for inner class method overrides
2024-03-26 13:45:18 +01:00
Rémi Verschelde
4352503bc5
Merge pull request #89227 from YeldhamDev/i_said_give_me_those_darn_strings!
Fix POT generation missing some strings when built-in ones are enabled
2024-03-26 13:45:15 +01:00
Rémi Verschelde
19a50127e5
Merge pull request #88690 from MajorMcDoom/color-picker-fix
Fix undo/redo behavior of ColorPicker and add ability to cancel/confirm color selection
2024-03-26 13:45:06 +01:00
Rémi Verschelde
198d0b6bc6
Merge pull request #86479 from YeldhamDev/you_arent_built-in,_sod_off!
Fix scene parser reading non-built-in scripts for POT generation
2024-03-26 13:44:56 +01:00
Rémi Verschelde
bec4de9237
Merge pull request #86143 from YeldhamDev/ttr_here,_rtr_there
Stop using `RTR()` inside the "editor" folder
2024-03-26 13:44:47 +01:00
jsjtxietian
20f4a5d03a Fix path3d's pick works incorrectly when viewport is in half resolution 2024-03-26 17:24:41 +08:00
jsjtxietian
09a6b5a655 Fix Path2D's add new point's UndoRedo bug 2024-03-26 12:38:34 +08:00
Alex Drozd
1d93a1fbb8 Fix missing gutter icon for inner class method overrides 2024-03-25 22:39:33 +01:00
matricola787
5c83d14698 UX and stability improvements for Path3D node 2024-03-25 16:51:37 +01:00
A Thousand Ships
8679ee1c46
Improve merging of docs on generation
Adds dedicated helper methods to perform sorting to clean up code, and
uses linear merging instead of iterating over both lists directly
2024-03-25 11:56:11 +01:00
Rémi Verschelde
ad59b7a70a
Merge pull request #89837 from chrisl8/tooltip_updates_for_debug_menu
Extremely minor tooltip updates for Debug menu.
2024-03-25 11:18:46 +01:00
Rémi Verschelde
c4aa1078fb
Merge pull request #88465 from AeioMuch/search_results_button
[Editor] Hide Search Results by default and show it on first search.
2024-03-25 11:18:35 +01:00
Zi Ye
d827b34ea8 Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection. 2024-03-24 15:12:11 -05:00
Danil Alexeev
eab05558c4
Fix regression with C# build editor crash due to EditorHelpHighlighter 2024-03-24 21:26:18 +03:00
Haoyu Qiu
e444ea717c Fix wrong values displayed after duplicating an audio bus
Also mark "send" bus dropdown untranslatable.
2024-03-24 15:00:06 +08:00
Rémi Verschelde
05372773e1
Merge pull request #89599 from timothyqiu/vegetate
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
Rémi Verschelde
9a8fb26d91
Merge pull request #88824 from V-Sekai/retarget_silhouette_template
Retargeting option to use a template for silhouette.
2024-03-23 21:13:38 -07:00
Christen Lofland
f108149267
Extremely minor tooltip updates for Debug menu. 2024-03-23 21:48:01 -05:00
Lyuma
9db0860c2e Option to use Animation as skeleton rest silhouette.
Adds `rest_pose/external_animation_library` advanced option to replace bone rest with an exported Animation before retargeting.
Together this allows a purely importer based workflow to transfer a known good pose from one FBX to another.
2024-03-23 17:29:02 -07:00
Rémi Verschelde
06abc86a5f
Merge pull request #89831 from bruvzg/macos_pm_title
[macOS] Use `expand_to_title` for the project manager.
2024-03-24 01:24:14 +01:00
Rémi Verschelde
9293cedaa6
Merge pull request #89823 from YeldhamDev/variation,_not_notification
Remove pointless `_notification()` function in `EditorPropertyOTVariation`
2024-03-24 01:24:00 +01:00
Rémi Verschelde
1999b661d0
Merge pull request #89799 from timothyqiu/line-numbers
Translate "Line N" as a whole
2024-03-24 01:23:47 +01:00
Rémi Verschelde
391eaf2a7a
Merge pull request #89732 from azuloo/animation-player-pin-fix
Fix AnimationPlayer pin behavior
2024-03-24 01:23:04 +01:00
Rémi Verschelde
3e27d477ff
Merge pull request #89711 from MewPurPur/fix-godot-logo
Fix a pixel misalignment in the blue robot logo
2024-03-24 01:22:37 +01:00
Rémi Verschelde
77cc2501e1
Merge pull request #89690 from Calinou/editor-improve-native-shader-inspector
Improve the editor native shader source visualizer
2024-03-24 01:21:42 +01:00
Rémi Verschelde
993ce36933
Merge pull request #89658 from AThousandShips/dock_terminal
[Editor] Add `Open in Terminal` to the file system empty click
2024-03-24 01:20:43 +01:00
Rémi Verschelde
dd668530e6
Merge pull request #89642 from permelin/fix-favorite-icon
Resource file not found error when loading Favorite icon
2024-03-24 01:20:16 +01:00
Rémi Verschelde
c9c0205c07
Merge pull request #89631 from dalexeev/editor-fix-inspector-groups-interfering
Editor: Fix same-name (sub)groups interfering in Inspector
2024-03-24 01:20:02 +01:00
Rémi Verschelde
8e6d011013
Merge pull request #89629 from lyuma/import_rest_as_reset
Add option to import skeleton rest as RESET animation
2024-03-24 01:19:49 +01:00
Rémi Verschelde
7761c04265
Merge pull request #89546 from YeldhamDev/bad_fsdock,_bad!
Fix FileSystem dock auto translating files
2024-03-24 01:17:41 +01:00
Rémi Verschelde
4389f85a17
Merge pull request #89518 from AThousandShips/spin_slider_clean
[Editor] Remove redundant code from `EditorSpinSlider`
2024-03-24 01:16:20 +01:00
Rémi Verschelde
a95895742d
Merge pull request #89505 from passivestar/clear-output
Make the "Clear Output" shortcut not require panel focus
2024-03-24 01:16:08 +01:00
Rémi Verschelde
c76d2f03b7
Merge pull request #89447 from ajreckof/fix-error-crash-on-change-type-root-after-external-changes
Fix error where update wouldn't reconnect the signal it should have reconnected and led to errors and crash.
2024-03-24 01:15:38 +01:00
Rémi Verschelde
cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde
33cca7c65c
Merge pull request #88997 from jsjtxietian/parallax
Disable lock and group buttons when selected item is not CanvasItem
2024-03-24 01:14:35 +01:00
Rémi Verschelde
0ca0e8fc49
Merge pull request #88498 from CookieBadger/animation-fix-snapping-multiple
Fix snapping multiple keys in Animation
2024-03-24 01:14:23 +01:00
Rémi Verschelde
b0505b580d
Merge pull request #88445 from CookieBadger/animation-paste-snap-fix
Fix various bugs in Animation key right click actions
2024-03-24 01:14:08 +01:00
Rémi Verschelde
075c171f80
Merge pull request #88231 from ajreckof/fix-copy-paste-for-dictionnaries
Fix update property for dictionaries so that it updates only what is necessary.
2024-03-24 01:13:38 +01:00
Rémi Verschelde
ae8d43b0bb
Merge pull request #88003 from kitbdev/dock-manager-fixes
Refactor and fix issues in Editor Dock Manager
2024-03-24 01:13:26 +01:00
Rémi Verschelde
f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde
f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Rémi Verschelde
0ebcba8583
Merge pull request #87078 from Hilderin/animation-autofit
Add auto fit timeline and bezier scale on animation editor
2024-03-24 01:12:28 +01:00
bruvzg
225761868a
[macOS] Use "expand_to_title" for the project manager. 2024-03-24 00:23:16 +02:00
Michael Alexsander
9f56287d96
Remove pointless _notification() function in EditorPropertyOTVariation 2024-03-23 17:10:57 -03:00
Haoyu Qiu
1ff8e8548b Don't error multiple times when trying to load missing default bus layout 2024-03-23 21:38:43 +08:00
Haoyu Qiu
7984043768 Add necessary flags when opening directory with xfce4-terminal 2024-03-23 20:41:44 +08:00
Haoyu Qiu
4848bf4fd8 Fix heap-use-after-free when converting scene group to global 2024-03-23 19:54:21 +08:00
Haoyu Qiu
9dadeac658 Translate "Line N" as a whole 2024-03-23 18:39:01 +08:00
ajreckof
69e5e582c8 fix error where update wouldn't reconnect the signal it should have reconnected and led to errors and crash 2024-03-22 01:00:33 +01:00
Hugo Locurcio
44de95e18f Improve the editor native shader source visualizer
- Use CodeEdit to enable features such as line numbers and minimap.
- Enable syntax highlighting.
- Use a fixed-width font.
- Use the script editor settings.
2024-03-22 00:17:32 +01:00
ajreckof
0331ecb527 Fix update property for dictionnaries so that it updates only what is necessary 2024-03-21 19:31:46 +01:00
kobewi
969bfeae4c Fix SpriteFrames editor visibility problems 2024-03-21 16:35:22 +01:00
kobewi
e44079607a Remove stray item icon from tabs menu 2024-03-21 14:52:21 +01:00
jsjtxietian
cbb67d114e Add progress bar when update scene groups 2024-03-21 19:20:12 +08:00
azuloo
5c6ca5fc09 Fix AnimationPlayer pin behavior 2024-03-21 08:42:33 +02:00
jsjtxietian
816812ee6c Disable lock and group buttons when selected item can't be locked or grouped 2024-03-21 13:02:34 +08:00
Silc Lizard (Tokage) Renew
6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +09:00
MewPurPur
35a569478f Follow up to blue robot icons optimization 2024-03-20 15:28:57 +02:00
A Thousand Ships
79ba22a73f
Use Vector* component-wise min/max/clamp functions where applicable 2024-03-20 13:47:42 +01:00
A Thousand Ships
2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
Danil Alexeev
e6dafb1020
Editor: Fix text color in EditorHelpHighlighter 2024-03-20 09:40:45 +03:00
Hilderin
b46d0a6ea8 Add auto focus timeline and bezier scale on animation editor
Add a button at the bottom of the animation editor that change the zoom based on the animation length and the bezier scale based on the values and handles of the displayed tracks. The icon and the tooltip of the button change depending if the bezier editor is displayed or not.

Some refactor was made in animation_track_editor.cpp to remove code duplication with the visibility check of the tracks.

This should help with the issue #85826
2024-03-19 21:01:15 -04:00
VolTer
de8b6f7a3c Add editor settings for autocompletion with NodePath and StringName 2024-03-19 17:23:54 +02:00
A Thousand Ships
fa60e2ddb0
[Editor] Add Open in Terminal to the file system empty click
Was missing from clicking in the empty file list
2024-03-19 12:05:05 +01:00
Lyuma
34f284bcc2 Add option to import skeleton rest as RESET animation
Also creates an AnimationPlayer if one does not exist.
Designed to be used in conjunction with loading rest pose in another importer.
2024-03-19 02:27:34 -07:00
Per Melin
ae6410b622 Resource file not found error when loading Favorite icon 2024-03-18 21:39:26 +01:00
emild
d88df641ee Fix snapping multiple keys in Animation 2024-03-18 11:21:12 +01:00
Danil Alexeev
9b7dcfa0e2
Editor: Fix same-name (sub)groups interfering in Inspector
Clear (sub)group hashmaps when changing category.
2024-03-18 09:49:21 +03:00
Haoyu Qiu
8cd1ebbd6d Fix unexpected auto translation of Tree content 2024-03-18 09:31:00 +08:00
AeioMuch
5cf6f3c779 Hide Search Results by default. Show it on first search and push it at the end. Add a close button to hide it back. Also switch to Script Editor if a searched line is clicked. 2024-03-16 20:42:05 +01:00
kit
0c9c84f7a6 Refactor and fix issues in Editor Dock Manager
Extract Dock Context Menu.
2024-03-16 13:51:31 -04:00
Haoyu Qiu
f98d552214 Fix crash when columns are skipped in csv translation 2024-03-16 23:26:06 +08:00
Michael Alexsander
b926e51998
Fix FileSystem dock auto translating files 2024-03-15 23:58:45 -03:00
bruvzg
ebb19c4198 [NativeMenu] Fix changes lost due to incorrect rebase (menu goes under task bar, dark mode, item text get, docs) and check to ensure help menu is not using native menu on Windows. 2024-03-15 22:46:47 +02:00
Riteo
a5cf92664d SCons: unify code generations routine and minimize timestamp changes
Previously, all of the code generation routines would just needlessly
write the same files over and over, even when not needed.

This became a problem with the advent of the experimental ninja backend
for SCons, which can be trivially enabled with a few lines of code and
relies on timestamp changes, making it thus impractical.
2024-03-15 15:43:53 +01:00
A Thousand Ships
56b05a5a3d
[Editor] Remove redundant code from EditorSpinSlider 2024-03-15 15:03:12 +01:00
passivestar
cae610b1d2 Make the "Clear Output" shortcut not require panel focus 2024-03-15 11:40:21 +04:00
Rémi Verschelde
633024617b
Merge pull request #89475 from rsubtil/feature-add_message_type_to_dap
Add output type to DAP `output` events
2024-03-14 22:35:25 +01:00
Rémi Verschelde
520ff5cb17
Merge pull request #89462 from RobProductions/fix-external-theme-margin
Fix main editor button margins while using a custom theme
2024-03-14 22:35:11 +01:00
Rémi Verschelde
453485aede
Merge pull request #89270 from Repiteo/enforce-typename-in-templates
Enforce template syntax `typename` over `class`
2024-03-14 22:34:37 +01:00
Rémi Verschelde
5cf38f8f99
Merge pull request #77932 from KoBeWi/custom_resources_to_kill_performance_again_probably
Fix custom resource icons in FileSystem
2024-03-14 22:34:17 +01:00
Ricardo Subtil
b6d1204186 Add output type to DAP output events 2024-03-14 14:34:14 +00:00
Hugo Locurcio
51af186bb6
Default to trimesh for generated collision shapes in Advanced Import Settings
This avoids using convex decomposition every time collision is enabled
on a mesh, which can be extremely slow on complex meshes (such as entire
levels).
2024-03-14 00:06:54 +01:00
Matt Enad
d4ac3fabac Fix main button margins in custom themes
Defined more theme variations and styleboxes for those variations to work around an issue where external editor themes would apply incorrect margins to certain buttons. This should eliminate clipping/alignment issues while a custom theme is in use.

Also simplified the step where margins are copied over thanks to @Rindbee 's suggestion
2024-03-13 15:38:09 -04:00
Rémi Verschelde
006f5bc11c
Merge pull request #89437 from jsjtxietian/help-label
Fix help label will be partly outside the view area at 150% editor scale
2024-03-13 18:41:50 +01:00
Rémi Verschelde
734bd3c8c4
Merge pull request #89434 from jsjtxietian/center-view
Fix center view button appears outside the  GenericTilePolygonEditor
2024-03-13 18:41:46 +01:00
Rémi Verschelde
48b650c254
Merge pull request #89422 from Repiteo/clang-tidy-NULL
clang-tidy: Enforce `modernize-use-nullptr`
2024-03-13 18:41:39 +01:00
Rémi Verschelde
950d11b4ca
Merge pull request #87972 from bruvzg/img_skip
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font.
2024-03-13 18:41:24 +01:00
Rémi Verschelde
6ba0179682
Merge pull request #64488 from reduz/interactive-music-take3
Add interactive music support
2024-03-13 14:32:21 +01:00
jsjtxietian
856e071762 Fix help label will be partly outside the view area at 150% editor scale 2024-03-13 17:50:02 +08:00
jsjtxietian
f59c147d1f Fix center view button appears outside the GenericTilePolygonEditor 2024-03-13 12:46:14 +08:00
Juan Linietsky
43b78cd2ad Add interactive music support
This PR adds 3 types of audio streams used for interactive music support.

* AudioStreamInteractive: Allows setting several sub-streams and transition between them with many options.
* AudioStreamPlaylist: Allows sequential or shuffled playback of a list of streams.
* AudioStreamSynchronized: Allows synchronous playback of several streams, the volume of each can be controlled.

Theese three stream types can be combined to create complex, layered interactive music and transitions between them, similar to software such as WWise.
2024-03-12 21:54:59 +01:00
bruvzg
fee14eb5e8
[Import] Add "skip file" import option to skip (and exclude from export) importable formats, auto set it for the images used by bitmap font. 2024-03-12 21:34:40 +02:00
Thaddeus Crews
3b3e2374c9
clang-tidy: Enforce modernize-use-nullptr 2024-03-12 10:59:53 -05:00
Rémi Verschelde
48ad83a4e7
Merge pull request #88827 from adamscott/add-browse-folder-icon
Add browse folder and browse file icons
2024-03-12 16:28:03 +01:00
Michael Alexsander
8dba9d8330
Fix POT generation missing some strings when built-in ones are enabled 2024-03-12 11:21:17 -03:00
Adam Scott
44d3ce2c11
Add browse folder and browse file icons 2024-03-12 09:57:59 -04:00
Rémi Verschelde
b18942d429
Merge pull request #89405 from KoBeWi/receiver,_do_you_copy
Select method name edit when opening connection dialog
2024-03-12 14:23:06 +01:00
passivestar
3199c294f9 Allow connecting signals to existing methods without opening the script editor 2024-03-12 15:50:54 +04:00
kobewi
c1a034297d Select method name edit when opening connection dialog 2024-03-12 00:51:50 +01:00
Rémi Verschelde
b1b0a526d8
Merge pull request #89393 from Repiteo/retire-subprocess_main
SCons: Remove `run_in_subprocess` & `subprocess_main` dependencies
2024-03-11 23:48:21 +01:00
Rémi Verschelde
d5856f864f
Merge pull request #89383 from bruvzg/font_no_bitmaps
[Font] Add option to disable embedded bitmaps loading.
2024-03-11 23:48:17 +01:00
Rémi Verschelde
c0ad0b0acf
Merge pull request #87870 from ryevdokimov/remove-unnecessary-focus-methods
Remove unnecessary focus methods and directly bind to `set_close_on_escape`
2024-03-11 23:48:13 +01:00
Thaddeus Crews
5a6e3cbcb0
SCons: Remove run_in_subprocess dependency 2024-03-11 13:20:09 -05:00
bruvzg
911fa38d3a
[Font] Add option to disable embedded bitmaps loading. 2024-03-11 16:31:10 +02:00
kobewi
77879d4288 Update NodePaths only in built-in resources 2024-03-11 15:17:29 +01:00
Rémi Verschelde
6cfed9734e
Merge pull request #89378 from Faolan-Rad/FixBugWithDIableingGodotModuleInEditor
Fix PluginConfigDialog crash in editor build without any language support
2024-03-11 14:02:50 +01:00
Rémi Verschelde
0475011c66
Merge pull request #82084 from ogapo/pr/pck-cache-merge
Merge `uid_cache.bin` and `global_script_class_cache.cfg` after mounting PCKs
2024-03-11 14:01:16 +01:00
Jacob Sanders
1836f5c7a4 Update plugin_config_dialog.cpp 2024-03-11 03:14:51 -04:00
Thaddeus Crews
fb299d0fb1
SCons: Ensure with statement where applicable 2024-03-10 12:57:57 -05:00
Rémi Verschelde
0ace0a1292
Merge pull request #89333 from Repiteo/enforce-eol-python
Enforce `\n` eol for Python writes
2024-03-09 22:20:23 +01:00
Rémi Verschelde
7d6ae138fa
Merge pull request #89332 from Riteo/werror-never-changes
Fix compiler warning when highlighting codeblocks in editor help
2024-03-09 22:20:19 +01:00
Rémi Verschelde
8cc3216c75
Merge pull request #89320 from Calinou/editor-fogvolume-use-gizmo-helper
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces
2024-03-09 22:20:05 +01:00
Rémi Verschelde
0322436a93
Merge pull request #89315 from nongvantinh/fix-regression-89295
Fix ScriptCreateDialog so it does not select the file extension when it's opened
2024-03-09 22:19:55 +01:00
Rémi Verschelde
92343030f3
Merge pull request #89049 from Mickeon/documentation-meta-underline-begone
Use `META_UNDERLINE_ON_HOVER` in built-in class reference
2024-03-09 22:19:38 +01:00
Rémi Verschelde
5c1b926610
Merge pull request #88045 from Malcolmnixon/optimize-collider-regeneration
Optimize when colliders are regenerated for imported meshes
2024-03-09 22:19:34 +01:00
Riteo
4f61d42a00 Fix compiler warning when highlighting codeblocks in editor help
It's more verbose but it should do the trick.
2024-03-09 22:00:35 +01:00
Thaddeus Crews
d9fa40f2df
Enforce \n eol for Python writes
• Ensure utf-8 encoding if previously unspecified
2024-03-09 14:29:24 -06:00
Hugo Locurcio
72002a77de
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces 2024-03-09 18:03:01 +01:00
Nông Văn Tình
a13b755b60 Fix ScriptCreateDialog to avoid selecting the file extension upon opening
Fixes: #89295

This is a regression from commit 2bd714e34e
2024-03-09 22:33:43 +07:00
Micky
3a0d056180 Use META_UNDERLINE_ON_HOVER in built-in class reference 2024-03-09 13:22:59 +01:00
Rémi Verschelde
bfa866c318
Merge pull request #89301 from KoBeWi/human_readable_code
Refactor how file cache entries are stored
2024-03-09 00:52:39 +01:00
Rémi Verschelde
e9ca51ce87
Merge pull request #89292 from Chaosus/vs_fix_crash
Fix possible crash when converting a node to other in visual shader
2024-03-09 00:52:35 +01:00
Rémi Verschelde
47941d49ac
Merge pull request #89286 from Kiisu-Master/fix-pot-generation
Fix packed scene translation parser missing strings.
2024-03-09 00:52:32 +01:00
Rémi Verschelde
eccdf1a1e8
Merge pull request #89263 from dalexeev/editor-help-codeblock-syntax-highlighting
Editor Help: Add syntax highlighting for code blocks
2024-03-09 00:52:16 +01:00
Rémi Verschelde
3cac010344
Merge pull request #89255 from passivestar/themable-log-buttons
Add missing normal and hover states to `EditorLogFilterButton`
2024-03-09 00:52:12 +01:00
Rémi Verschelde
1c8ef9e252
Merge pull request #89251 from KoBeWi/fastpector
Speed up inspector updates for TileMap
2024-03-09 00:52:09 +01:00
Rémi Verschelde
d78fafa4b0
Merge pull request #89085 from miv391/remember-search-replace-text
Remember search text in Find/Replace in Files dialog
2024-03-09 00:52:05 +01:00
Rémi Verschelde
8af66a72b5
Merge pull request #56420 from nathanfranke/project-creation
Automatically create folder in project manager create and import
2024-03-09 00:51:51 +01:00
kobewi
25553d7aca Refactor how file cache entries are stored 2024-03-08 23:16:31 +01:00
kobewi
a62ccf3f1a Fix custom resource icons in FileSystem 2024-03-08 22:31:15 +01:00
Danil Alexeev
87718d2a6e
Editor Help: Add syntax highlighting for code blocks 2024-03-09 00:02:31 +03:00
Kiisu_Master
8446084a20 Fix packed scene translation parser missing strings. 2024-03-08 20:43:19 +02:00
Yuri Rubinsky
d9292ea51e Fix possible crash when converting a node to other in visual shader 2024-03-08 21:28:05 +03:00
Nathan Franke
2130f1121a
Automatically create folder in project manager create/import/install 2024-03-08 12:27:50 -06:00
passivestar
bcfca0295c Add missing normal and hover states to EditorLogFilterButton 2024-03-08 20:10:49 +04:00
Mika Viskari
bfd1700971 Remember search text in Find/Replace in Files dialog 2024-03-08 17:43:31 +02:00
Rémi Verschelde
a658621cc5
Merge pull request #89264 from ryevdokimov/don't-update-snap-every-scan
Move `snap_controls_to_pixels` from process to projects settings changed method
2024-03-08 13:09:46 +01:00
Rémi Verschelde
6db28c9fb7
Merge pull request #89204 from luevano/fix-cyclic-dep-on-drop
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-08 13:09:37 +01:00
Rémi Verschelde
476be3ab64
Merge pull request #88111 from Ryan-000/master
Expose scene unique id functionality in Resource
2024-03-08 13:09:13 +01:00
Rémi Verschelde
2c0797b257
Merge pull request #87161 from ryevdokimov/do-not-commit
Do not commit transforms and handles if no changes were made
2024-03-08 13:09:10 +01:00
Thaddeus Crews
9903e6779b
Enforce template syntax typename over class 2024-03-07 22:39:09 -06:00
Aaron Franke
0700b807a2 Allow node visibility to work with custom user-provided node types 2024-03-07 17:25:06 -08:00
Robert Yevdokimov
f99de3f024 Move snap_controls_to_pixels from process to projects settings changed method 2024-03-07 16:21:23 -05:00
David Luevano Alvarado
71426d0f5c
Fix wrong undo-redo action when dropping files containing circular dependencies 2024-03-07 12:20:49 -06:00
kobewi
7319b612f3 Speed up inspector updates for TileMap 2024-03-07 18:01:30 +01:00
Rémi Verschelde
dd90c3c30c
Merge pull request #89240 from adamscott/create-folder-project-dialog
Add `FolderCreate` icon to the project dialog
2024-03-07 15:24:01 +01:00
Rémi Verschelde
0fefbe85fb
Merge pull request #89086 from Mickeon/documentation-ProjectSettings-members-display-nice
Improve how Project & Editor Settings look in built-in docs
2024-03-07 15:23:54 +01:00
Ryan
42ce14043e
Expose scene unique id functionality in Resource 2024-03-07 14:53:58 +01:00
Rémi Verschelde
24f775089e
Merge pull request #89236 from Calinou/export-template-manager-no-mirrors-development
Don't refresh mirrors for development builds in editor export template manager
2024-03-07 10:04:40 +01:00