Commit graph

15146 commits

Author SHA1 Message Date
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
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
Haoyu Qiu
479b7afa8e Add context support for editor property name i18n 2024-03-31 18:40:14 +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
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
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
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
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
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