Commit Graph

14971 Commits

Author SHA1 Message Date
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
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