Commit Graph

15202 Commits

Author SHA1 Message Date
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
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
Rémi Verschelde 1c8d082a3d
Merge pull request #89234 from akien-mga/cmdline-export-fix-exit-code
Fix reporting exit code when command line export fails
2024-03-07 10:04:37 +01:00
Rémi Verschelde 26a6f810d2
Merge pull request #87886 from ryevdokimov/don't-use-physics-process
Do not use `NOTIFICATION_PHYSICS_PROCESS` for 2D Editor
2024-03-07 10:04:31 +01:00
Adam Scott b91cb14197
Add `FolderCreate` icon to the project dialog 2024-03-06 21:36:44 -05:00
Hugo Locurcio 4f52c49006
Don't refresh mirrors for development builds in editor export template manager
Export template downloads are only available for official (pre)-releases,
not development builds.

This prevents an error popup from displaying every time you open
the export template manager on a development build. UI elements
that are non-functional in development builds are now disabled as well.
2024-03-07 01:17:04 +01:00
Rémi Verschelde 51bfda9446
Fix reporting exit code when command line export fails
Fixes #83042.
2024-03-07 01:01:04 +01:00
Rémi Verschelde 7e65fd8725
Merge pull request #89214 from bruvzg/pack_rel_off
[Export] Use relative file base offset for embedded PCK.
2024-03-07 00:24:00 +01:00
Rémi Verschelde 47429b674b
Merge pull request #88197 from passivestar/version-vertical-alignment
Fix vertical alignment of editor version `LinkButton` in the bottom panel
2024-03-07 00:23:52 +01:00
Rémi Verschelde 9d8e267131
Merge pull request #87989 from ryevdokimov/fix-editor-tool-tooltips
Show modifier key functionality on all the editor tools
2024-03-07 00:23:49 +01:00
David Nikdel 5e6adb4a2d Merge uid_cache.bin and global_script_class_cache.cfg after mounting PCKs
fixes godotengine#82061
fixes godotengine#61556

Also, distinguish between main pack and DLC packs.
It's desirable to downloaded content to be as small as possible. This change avoids bloating non-main pack files with new versions of resources that are all read on startup and never used again. They have no effect if loaded after startup.
- project.godot/project.binary file
- extension_list.cfg
- app icon and boot_splash
- .ico and .icns files (these can still be opted in for DLC by listing them explicitly in the include filter)
2024-03-06 12:14:21 -05:00
passivestar a03315e3d9 Fix vertical alignment of editor version `LinkButton` in the bottom panel 2024-03-06 17:48:21 +04:00
Rémi Verschelde 13954fc33e
Merge pull request #87452 from bruvzg/native_menu
Move `global_menu_*` methods to a separate `NativeMenu` class.
2024-03-06 13:16:52 +01:00
bruvzg bf8ec7b81b
[Export] Use relative file base offset for embedded PCK. 2024-03-06 14:02:01 +02:00
Rémi Verschelde 72a31722fd
Merge pull request #89132 from jsjtxietian/lock-update
Update lock and group button state when selection changed in CanvasItemEditor
2024-03-06 09:50:23 +01:00
Rémi Verschelde 0acc4276b6
Merge pull request #82952 from AbelToy/gds-export-array
Allow `@export`ed Arrays to set property hints for their elements
2024-03-06 09:49:53 +01:00
Abel Toy 882441a0ad
Support Array and PackedArray in @export_* 2024-03-06 16:17:54 +09:00
jsjtxietian b047206619 Update lock and group button state when selection changed 2024-03-06 10:24:18 +08:00
Rémi Verschelde 1b2e0b32d7
Merge pull request #89200 from KoBeWi/e
Fix AssetLibrary not going online when clicking button
2024-03-05 23:44:49 +01:00
Rémi Verschelde 3dff0e9eed
Merge pull request #89184 from Calinou/shader-globals-editor-add-enter-shortcut
Add Enter shortcut to add a shader global in the editor
2024-03-05 23:44:39 +01:00
Rémi Verschelde 0975e2941c
Merge pull request #88413 from LeulMulugeta/dont_reset_select_frames
Remember frames when selecting `SpriteFrame` frames
2024-03-05 23:44:33 +01:00
Rémi Verschelde 4bb219321e
Merge pull request #88081 from Calinou/editor-add-bottom-panel-shortcuts
Add editor shortcuts to toggle bottom panel visibility
2024-03-05 23:44:21 +01:00
kobewi 6caa24b1b8 Fix AssetLibrary not going online when clicking button 2024-03-05 21:27:08 +01:00
Hugo Locurcio 305192072f
Add Enter shortcut to add a shader global in the editor
- Clear the shader global name field when adding a new shader global
  to match the behavior of other tabs in the Project Settings dialog.
2024-03-05 19:22:52 +01:00
Hugo Locurcio 8221e7546b
Add editor shortcuts to toggle bottom panel visibility
Default shortcuts use the first or second letter of each word.

This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde c3daa041e0
Merge pull request #89177 from luevano/match-89126-3D
Match #89126 for 3D: check for `Resource` type instead of extension
2024-03-05 14:55:32 +01:00
Rémi Verschelde 6399fae16d
Merge pull request #88951 from Geometror/vs-prop-ed-fixes
Make editing properties more intuitive in VisualShader
2024-03-05 14:55:21 +01:00
Leul Mulugeta effad7be0c Remember frames when selecting SpriteFrame frames 2024-03-05 16:50:06 +03:00
Hendrik Brucker d32e0f808c Make editing properties more intuitive in VisualShader 2024-03-05 13:27:33 +01:00
David Luevano Alvarado a918c7c5fe Match #89126 for 3D: check `Resource` type instead of extension 2024-03-05 06:08:35 -06:00
Rémi Verschelde 2d408f48e7
Merge pull request #88546 from bruvzg/indent_wrap
[TextEdit] Add support for optional wrapped line indentation.
2024-03-05 09:55:51 +01:00
Rémi Verschelde 9e13b90ce8
Merge pull request #81177 from Calinou/filedialog-focus-path-shortcut
Add Ctrl + L / Cmd + Shift + G shortcut to focus path bar in FileDialog
2024-03-05 09:55:36 +01:00
RedMser 2bd714e34e
Allow configuring the script filename casing rule
Defaults to "Auto", which detects the casing based on the
preference of the currently selected language (C# for example
prefers PascalCase whereas GDScript prefers snake_case).
2024-03-05 09:43:29 +01:00
Hugo Locurcio 4f8d7cae26
Add Ctrl + L / Cmd + Shift + G shortcut to focus path bar in FileDialog
This also tweaks EditorFileDialog to use the same shortcut,
while making it select the path text after focusing
(like in most file managers).

Ctrl + L / Cmd + Shift + G can also now be used to focus on the
property name in the project settings editor, as well in the
Input Map, Autoload, Shader Globals and Global Groups tabs.
2024-03-05 00:02:09 +01:00
bruvzg c65a667924
Move `global_menu_*` methods to a separate `NativeMenu` class. 2024-03-04 23:41:41 +02:00
Rémi Verschelde a07dd0d6a5
Merge pull request #87363 from Mickeon/documentation-copy-codeblock-button
Add copy codeblock button to built-in documentation
2024-03-04 21:30:11 +01:00
Rémi Verschelde cc3457b125
Merge pull request #89142 from miv391/shortcut-to-editable-children
Change Editable Children menu action to be keyboard shortcuttable
2024-03-04 20:43:57 +01:00
Rémi Verschelde c4a46e00f8
Merge pull request #89126 from luevano/fix-89093-followup
Fix editor crash when unsupported `Resource` is dropped in scene
2024-03-04 20:43:49 +01:00
Rémi Verschelde 82fbbc94fc
Merge pull request #88913 from Cass-dev-web/macos-shortcut-savior
Modify shortcut for closing scene on macOS only
2024-03-04 20:43:38 +01:00
Rémi Verschelde 4320d53a2b
Merge pull request #84907 from miv391/fix-gutter-error
Do not bother with line colors if `line_number_gutter` is not yet calculated
2024-03-04 20:43:30 +01:00
Rémi Verschelde 9f4a764985
Merge pull request #69087 from KoBeWi/million_of_names
Allow easily renaming multiple nodes
2024-03-04 20:43:20 +01:00
Micky f739f78871 Add copy codeblock button to built-in documentation 2024-03-04 20:07:46 +01:00
Micky 8e1024530c Improve how Project & Editor Settings look in built-in docs 2024-03-04 18:12:28 +01:00
Mika Viskari 3c0b66bf8f Changed Editable Children menu action to be keyboard shortcuttable 2024-03-04 18:32:15 +02:00
David Luevano Alvarado c0467aa1f9 Fix editor crash when unsupported `Resource` is dropped in scene 2024-03-04 10:06:05 -06:00
Rémi Verschelde 01dc5c5b58
i18n: Sync translations with Weblate
Adds 'extractable' strings after #86222.
2024-03-04 16:16:19 +01:00
Rémi Verschelde 95085cdcdb
Merge pull request #89121 from KoBeWi/replace_node_type
Fix undo action names for node replacement
2024-03-04 13:34:35 +01:00
Rémi Verschelde faafccbd34
Merge pull request #89110 from rsubtil/fix_missing_field_on_dap_req
Add missing `variablesReference` field to DAP `evaluate` request
2024-03-04 13:34:26 +01:00
Rémi Verschelde 2d4c923307
Merge pull request #89099 from chrisl8/no_custom_cursor_error_in_headless
Do not attempt to set cursor shape in headless mode.
2024-03-04 13:34:09 +01:00
Rémi Verschelde b811e9a74e
Merge pull request #89071 from DeeJayLSP/cubicres
WAV importer: Use cubic interpolation on resampler
2024-03-04 13:34:02 +01:00
Rémi Verschelde 2af237b2d5
Merge pull request #89044 from akien-mga/linux-export-preset-name-compat
Linux: Handle export preset compat with 'Linux/X11' platform name
2024-03-04 13:33:29 +01:00
Rémi Verschelde 1a9c0ee5fe
Merge pull request #87391 from markdibarry/new_node_parallax_2d
Add new Parallax2D node
2024-03-04 13:33:09 +01:00
Rémi Verschelde 8eb08522b3
Merge pull request #85494 from Hobitus/Allow-multi-selection-of-frames-in-the-SpriteFrames-animation-editor
Add multi-selection for `SpriteFramesEditor`
2024-03-04 13:32:44 +01:00
Rémi Verschelde 5d3369e095
Merge pull request #85153 from Repiteo/scons-improve-logs
SCons: Add two new `COMSTR` environment variables
2024-03-04 13:32:38 +01:00
Rémi Verschelde 314efe9bec
Merge pull request #79387 from HolonProduction/completion-update-keep-open
Update completion menu even if no options exist
2024-03-04 13:32:25 +01:00
DeeJayLSP 7fa3431dca WAV importer: use cubic interpolation on resampler 2024-03-04 00:05:48 -03:00
markdibarry a62870956a Add new Parallax2D node 2024-03-03 15:46:40 -05:00
kobewi c1cce6bb69 Fix undo action names for node replacement 2024-03-03 19:09:25 +01:00
kobewi ffadba0b08 Allow to easily rename multiple nodes
Co-authored-by: ajreckof <tbonhoure@ymail.Com>
2024-03-03 13:16:21 +01:00
Ricardo Subtil c07991ef36 Add missing `variablesReference` field to DAP `evaluate` request 2024-03-03 11:22:01 +00:00
Christen Lofland e6d0bf32e9
Do not attempt to set cursor shape when that feature is not available.
Co-authored-by: Riteo <riteo@posteo.net>
2024-03-02 17:44:55 -06:00
Thaddeus Crews 0ce9b6fd1d
Add two new COMSTR environment variables 2024-03-01 12:44:03 -06:00
Mika Viskari 0fbc857e3f Do not call _validate_script if editor is not enabled 2024-03-01 19:48:48 +02:00
Rémi Verschelde dad6c774b0
Merge pull request #89048 from KoBeWi/iBug
Fix `update_property()` in particle material editor
2024-03-01 17:22:25 +01:00
Rémi Verschelde 7c3090ed4a
Merge pull request #89043 from Mickeon/autocomplete-EditorSettings
Add autocompletion for EditorSettings' methods
2024-03-01 17:22:21 +01:00
kobewi 24b210d1c8 Fix update_property() in particle material editor 2024-03-01 16:03:53 +01:00
Rémi Verschelde ace8284231
Linux: Handle export preset compat with 'Linux/X11' platform name
Fixes #89012.
2024-03-01 15:12:54 +01:00
Rémi Verschelde 6149462008
Merge pull request #88833 from emre0altan/save-scene-and-global-checkbox-options-in-history-window
Save scene and global checkbox options of History window
2024-03-01 15:00:24 +01:00
Rémi Verschelde 06d4023884
Merge pull request #87301 from Mickeon/documentation-leading-spaces-to-tabulation
Replace built-in docs codeblock's leading spaces with tabs
2024-03-01 14:59:38 +01:00
Micky adbe238332 Add autocompletion for EditorSettings' methods 2024-03-01 14:58:28 +01:00
Rémi Verschelde c1377920cd
Merge pull request #86743 from Mickeon/autocompletion-optimise-object
Optimise comparisons for Object's `get_argument_options`
2024-03-01 14:56:06 +01:00
Rémi Verschelde 1e950dea5a
Merge pull request #86398 from reach-satori/prof-visibility-fix
Fix internal profiling button being visible when disabled in settings
2024-03-01 14:56:02 +01:00
Dominic Marier 8faba242a4 Added multi-selection for sprite_frame_editor
use multi-selection for copy/paste
move up or down
frame duration set while multi-selected
2024-02-29 20:01:00 -05:00
emre0altan 0f26ae93f2 Save scene and global checkbox options of History window, fixes #88432 2024-02-29 22:51:18 +00:00
Micky cd2032a90b Optimise Object's `get_argument_options` 2024-02-29 18:00:54 +01:00
Micky 9d3768d2d7 Replace built-in docs codeblock's leading spaces with tabs
Replace built-in docs codeblock's leading spaces with tabs
2024-02-29 17:18:41 +01:00
Rémi Verschelde c84188b694
Merge pull request #88980 from Calinou/visualshader-remainder-add-percent-sign
Add percent (`%`) sign to Remainder node name in visual shaders
2024-02-29 13:55:01 +01:00
Rémi Verschelde d194378043
Merge pull request #88904 from akien-mga/efs-tell-me-what-you-import
EditorFileSystem: Add verbose print for file being (re)imported
2024-02-29 13:54:14 +01:00
Rémi Verschelde da916221a7
Merge pull request #88577 from davthedev/itemlist-light-refactor
Fix item positioning, text alignment & unwanted clipping of ItemList items
2024-02-29 13:54:03 +01:00
Rémi Verschelde 16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Hugo Locurcio 07c4baded7 Add percent (`%`) sign to Remainder node name in visual shaders
This makes the node easier to search in the Create New Node dialog.
2024-02-28 20:39:12 +01:00
Michael Alexsander d70c45b5c8
Add option to add built-in strings in the POT generation 2024-02-28 11:34:26 -03:00
Rémi Verschelde 093cdd2188
EditorFileSystem: Add verbose print for file being (re)imported
Also print the time it took for each file.
2024-02-28 09:59:46 +01:00
Rémi Verschelde 0ac99b94d3
Merge pull request #88572 from ajreckof/fix-crash-on-dictionarry-new-key/value-change-type-when-inspector-opened
Fix crash on changing resource type of dictionary new key/value while editing the resource.
2024-02-28 09:34:27 +01:00
ajreckof e922abd975 Fix crash on changing resource type of dictionary new key/value while editing the resource 2024-02-28 01:31:52 +01:00
Rémi Verschelde 2a056329f5
Merge pull request #88911 from Chaosus/fix_editor_help
Remove redundant space after enum/flags word in editor docs
2024-02-27 21:23:10 +01:00
Rémi Verschelde f80cdeb597
Merge pull request #87504 from smix8/nav_mesh_auto_rebake
Auto-bake edited NavigationPolygons in the Editor on a timer
2024-02-27 21:22:56 +01:00
smix8 10e8f3698b Auto-bake edited NavigationPolygons in the Editor on a timer
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
Hugo Locurcio 67e9ccdbc4
Display the build date in the editor and when starting the engine
This can be used to quickly see how recent a development build is,
without having to look up the commit date manually.
When juggling around with various builds (e.g. for benchmarking),
this can also be used to ensure that you're actually running the
binary you intended to run.

The date stored is the date of the Git commit that is built, not
the current date at the time of building the binary. This ensures
binaries can remain reproducible.

The version timestamp can be accessed using the `timestamp` key
of the `Engine.get_version_info()` return value.
2024-02-27 20:39:17 +01:00
Michael Alexsander c7fb8579fe
Stop using `RTR()` inside the "editor" folder 2024-02-27 16:03:28 -03:00
David Giardi f63728cb9f Fix item positioning & pointer detection areas of ItemList 2024-02-27 20:03:10 +01:00
Rémi Verschelde 8f3e2a6113
Merge pull request #88912 from AThousandShips/tile_drag_fix
[TileSet] Fix crash when deleting dragged polygon point
2024-02-27 16:37:10 +01:00
Rémi Verschelde 21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
Rémi Verschelde 9dceb626d6
Merge pull request #88817 from Mickeon/plugin-list-black
Fix toggling a plugin makes its name black
2024-02-27 16:37:04 +01:00
A Thousand Ships fe203d7003
Prevent threading problems in `TileMap` 2024-02-27 15:38:25 +01:00
Cass ea3c303b7e Modify shortcut override for closing scene on macOS 2024-02-27 14:31:17 +00:00
A Thousand Ships 0ba7463803
[TileSet] Fix crash when deleting dragged polygon point 2024-02-27 15:16:27 +01:00
Yuri Rubinsky f7c3c9f987 Remove redundant space after enum/flags word in editor docs 2024-02-27 17:09:55 +03:00
smix8 35dafc9fa8 Split monolithic physics class files
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde 6d8ca17139
Merge pull request #88829 from ryevdokimov/institate_message-2d
Show instantiating or inherit message when using drag to instantiate in 2D
2024-02-27 10:18:17 +01:00
Rémi Verschelde 4a4937318b
Merge pull request #88825 from adamscott/add-create-folder-icon
Add create folder icon
2024-02-27 10:18:13 +01:00
Rémi Verschelde 04e16a27cf
Merge pull request #88821 from lyuma/preserve_initial_pose
Allow preserving the initial bone pose in rest fixer
2024-02-27 10:18:04 +01:00
Rémi Verschelde 3780604d79
Merge pull request #88819 from lyuma/import_nodes_as_skeleton_bones
Add new scene import option to import as Skeleton
2024-02-27 10:18:00 +01:00
Rémi Verschelde 6ed4a279d9
Merge pull request #88774 from ryevdokimov/instantiating-message
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-27 10:17:55 +01:00
Rémi Verschelde e770a38d00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
Fix the text editor theme not being applied on editor start
2024-02-27 10:17:47 +01:00
Rémi Verschelde 8f98ed65f7
Merge pull request #88738 from clayjohn/mesh_compression-tangents
Multiple fixes for compressed meshes
2024-02-27 10:17:43 +01:00
Rémi Verschelde 730ef374b4
Merge pull request #88652 from RobProductions/fix-hover-margin
Fix editor hover style margins when Draw Extra Borders is enabled
2024-02-27 10:17:34 +01:00
Rémi Verschelde e8b94e65bb
Merge pull request #88575 from davthedev/itemlist-no-separators
Hide separators in ItemList in editor theme
2024-02-27 10:17:30 +01:00
Robert Yevdokimov 8875ff0a14 Show instantiating or inherit message when using to drag to instantiate in 2D 2024-02-27 01:09:13 -05:00
Muller-Castro 1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
Adam Scott fd3666298c
Add create folder icon 2024-02-26 09:04:24 -05:00
Lyuma 6a6bd2307c Add rest fixer toggle to disable bone pose reset
Adds a "Reset All Bone Poses After Import" option to the Skeleton3D Rest Fixer settings.
Default value of true resets the bone poses to rest (usually a t-pose), matching previous behavior.
If disabled, keeps the bones posed as they would have been before silhouette adjustment.
2024-02-26 03:24:01 -08:00
Aaron Franke c399424db9
Move 3D-only resources to their own folder 2024-02-26 05:23:04 -06:00
Aaron Franke 1cb531ddb6
Move 2D-only resources to their own folder 2024-02-26 05:22:45 -06:00
Rémi Verschelde 8eb34cb78b
Merge pull request #88849 from ajreckof/Fix-paste-Value-can-empty-a-dictionary-depending-on-right-click-location
Fix paste Value can empty a dictionary depending on right-click location
2024-02-26 12:11:19 +01:00
Lyuma 652ef966f9 Add new scene import option to import as Skeleton
Adds a bool import option `nodes/import_as_skeleton_bones`.
This is supported in all FBX or GLTF document based formats.
It is especially useful for retargeting and importing animations.
2024-02-26 03:06:07 -08:00
Rémi Verschelde a3b44bd89e
Merge pull request #88814 from RedMser/inherit-property-revert-inspector
Inspector `(N changes)` indicator propagates upwards
2024-02-26 10:49:22 +01:00
Rémi Verschelde abe73c3db0
Merge pull request #88675 from MajorMcDoom/script-editor-redundancy
Remove some redundant method calls from ScriptEditor
2024-02-26 10:48:57 +01:00
Rémi Verschelde e7bf883068
Merge pull request #88611 from Alex2782/force_device_cpu_architecture
Display a warning if device CPU architecture is not active in the export preset.
2024-02-26 10:48:49 +01:00
Rémi Verschelde 63bde2feff
Merge pull request #88589 from RandomShaper/gl_preview_liveunlock
Rework viewport capture in preview generation
2024-02-26 10:48:44 +01:00
bruvzg dad4aae386
[TextEdit] Add support for optional wrapped line indentation. 2024-02-26 08:20:14 +02:00
ajreckof a8173439ef Fix paste Value can empty a dictionary depending on right-click location 2024-02-26 06:53:40 +01:00
Zi Ye ea401f9853 Fixed the text editor theme not being applied on editor start. 2024-02-25 14:42:48 -06:00
RedMser 7a08b1fcd6 Inspector changes indicator propagates upwards 2024-02-25 21:12:17 +01:00
Micky 4d6bf44ca8 Fix toggling a plugin makes its name black 2024-02-25 18:54:27 +01:00
Robert Yevdokimov 967d03ac5c Show instantiating message with position when using to drag to instantiate in 3D 2024-02-24 13:58:23 -05:00
clayjohn 781cd27fe4 Avoid singularity when generated tangents and validate that tangents are good enough when using compression 2024-02-23 16:25:26 -08:00
Robert Yevdokimov 13e82094ee Remove word duplicates in comments and strings, and fix casing and punctuation 2024-02-23 17:28:28 -05:00
K. S. Ernest (iFire) Lee 04d43947bf
Add ufbx for FBX importing
This update introduces a new import method for FBX files using ufbx. If the fbx2gltf import fails, it will use the most recently cached scene from the ufbx import. The process is sped up by introducing threads to load the ufbx portion.

Key changes include:

- Support for importing geometry helper nodes in FBX files.
- Addition of cameras and lights with updated names.
- Removal of the fbx importer manager.
- Introduction of ModelDocument3D and updates to its methods.
- Changes to FBX import options and visibility.
- Updating the documentation and handling some errors.
- Store the original non-unique node, mesh and animation names in FBX and glTF.

Co-Authored-By: bqqbarbhg <bqqbarbhg@gmail.com>
2024-02-23 22:33:04 +01:00
Rémi Verschelde 2fe8f07b6c
Merge pull request #88731 from ajreckof/Removing-element-in-array-will-not-change-page-when-emptying-page-
Fix removing element in array inspector not changing page when emptying page.
2024-02-23 22:19:36 +01:00
Rémi Verschelde 4ec8976fdd
Merge pull request #88726 from RandomShaper/node_cust_leak
Fix leak of scene used for customization during export
2024-02-23 22:19:33 +01:00
Rémi Verschelde 0c00dbb395
Merge pull request #88716 from timothyqiu/keep-fs
Don't translate filenames in FileSystem dock
2024-02-23 22:19:25 +01:00
Rémi Verschelde b17456bc42
Merge pull request #88685 from KoBeWi/redialog
Improve Run Instances Dialog
2024-02-23 22:19:08 +01:00
Rémi Verschelde fd788d7df9
Merge pull request #88584 from ryevdokimov/hide_grid_per_viewport
Add ability to hide grid per viewport
2024-02-23 22:19:01 +01:00
Rémi Verschelde 4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
kobewi fdf2b25754 Improve Run Instances Dialog 2024-02-23 21:07:46 +01:00
ajreckof 4f2074ebd9 Removing element in array will not change page when emptying page. 2024-02-23 20:41:32 +01:00
Pedro J. Estébanez d103b5570f Fix leak of scene used for customization during export 2024-02-23 19:30:55 +01:00
Haoyu Qiu 9c63a5222d Don't translate filenames in FileSystem dock 2024-02-24 01:00:01 +08:00
Robert Yevdokimov df431542c3 Add ability to hide grid per viewport 2024-02-23 10:25:29 -05:00
Mounir Tohami 7884d63281 Fix PopupMenu doesn't respect it's ScrollContainer's margins 2024-02-23 15:51:47 +02:00
Rémi Verschelde 42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
Alexander Hartmann 293c34a2d2 Display a warning if device CPU architecture is not active in the export preset. 2024-02-23 01:37:32 +01:00
Rémi Verschelde 15bb860fa1
Merge pull request #88609 from Cass-dev-web/master
Improve user experience for VCS metadata generator menu button to mitigate accidentally overriding
2024-02-22 23:34:35 +01:00
Rémi Verschelde 031ca87d83
Merge pull request #87901 from pohy/feat/use-subgizmos-for-path3d-position-editing
Use subgizmos for Path3D position editing and declutter the UI
2024-02-22 23:34:26 +01:00
Rémi Verschelde 213c835cde
Merge pull request #85017 from Geometror/vs-redesign
Redesign the graph editor for visual shaders
2024-02-22 23:34:19 +01:00
pohy 6efff2cd06 Use subgizmos instead of handles for Path3D curve points 2024-02-22 22:33:34 +01:00
Hendrik Brucker 02a33b67a8 Redesign the graph editor for visual shaders 2024-02-22 20:40:09 +01:00
Zi Ye 943f6aa113 Removed some redundant calls from ScriptEditor. 2024-02-22 12:13:48 -06:00
Rémi Verschelde 43771659cb
Merge pull request #86610 from Joseph-DiGiovanni/system-theme-options
Add option for editor to follow system theme and accent colors
2024-02-22 16:39:40 +01:00
cass-dev-web 87ba714a3a Added clarity on VCS metadata creator button 2024-02-22 15:38:39 +00:00
kobewi aeec3c1309 Add methods to add submenus without using names 2024-02-22 15:13:53 +01:00
Rémi Verschelde 2f58db935e
Merge pull request #88645 from KoBeWi/🤦‍♂️🤦‍♂️🤦‍♂️
Fix 3D editor project settings update
2024-02-22 14:39:18 +01:00
Rémi Verschelde b82bd22592
Merge pull request #88636 from ajreckof/Keep-the-type-of-the-last-added-item
Dictionary Editor: Keep the type of the last added item.
2024-02-22 11:23:34 +01:00
Matt Enad f75cffcd46 Fix hover style margin with extra borders enabled
The content margins for FlatMenuButton and RunBarButton are now handled correctly when the "Draw Extra Borders" user option is enabled
2024-02-21 21:36:48 -05:00
Zi Ye 9281c441f6 Improved text editor status bar and zooming UX. 2024-02-21 17:33:16 -06:00
kobewi 3a8fdc0bac Fix 3D editor project settings update 2024-02-21 20:20:52 +01:00
ajreckof 7f7d253e53 Dictionary Editor : keep the type of the last added item. 2024-02-21 17:44:05 +01:00
Rémi Verschelde 846d075a2f
i18n: Sync translations with Weblate
First sync with the 4.3 changes.
2024-02-21 15:32:56 +01:00
Saracen 98d9c9c573
Make AnimationPlayerEditor read-only edit rules more permissive. 2024-02-21 15:17:56 +01:00
Pedro J. Estébanez 91f0a65fc9 Rework viewport capture in preview generation 2024-02-21 10:44:21 +01:00
kit eb6ca91ba6 Extract BottomPanel from EditorNode 2024-02-20 15:09:07 -05:00
Rémi Verschelde 9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
Rémi Verschelde 6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
Rémi Verschelde 25a52c624e
Merge pull request #88597 from KoBeWi/thinking_outside_the_inspector
Remove error when property is outside inspector
2024-02-20 15:47:25 +01:00
Rémi Verschelde b3de60933b
Merge pull request #88591 from Cass-dev-web/master
Add `android` to auto-generated `.gitignore`
2024-02-20 15:47:17 +01:00
kobewi c060ff8b41 Remove error when property is outside inspector 2024-02-20 14:53:16 +01:00
cass-dev-web 9c0ef3940d Added `android/` to the `.gitignore` file automatically generated by the VCS plugin. 2024-02-20 11:23:16 +00:00
emild 041315253f Fix various bugs in Animation key right click actions 2024-02-20 12:17:20 +01:00
emild 080315ca6b Fix Animation bezier key selection bugs 2024-02-20 12:11:45 +01:00
Rémi Verschelde b7145638d5
Merge pull request #88523 from KoBeWi/open_text_as_text
Add separate program case for Godot Resources
2024-02-20 11:12:11 +01:00
Rémi Verschelde c187d6522b
Merge pull request #84569 from jsjtxietian/Add-ignorable-columns-to-translation-CSVs
Add support for comment (ignorable) column in translation csv
2024-02-20 11:12:03 +01:00