Commit graph

14411 commits

Author SHA1 Message Date
Hugo Locurcio
eb824dc6a5
Tweak metadata property tooltip to avoid being misleading 2023-10-07 03:08:16 +02:00
Hugo Locurcio
ac723b3e44
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
This makes it easier to discover the UV2 generation functionality
on primitive meshes.
2023-10-07 02:18:55 +02:00
Saracen
3700ce7318 Fix right-click menu position for the debugger breakpoint tree. 2023-10-06 19:47:19 +01:00
Saracen
3defc17646 Fix debugger behaviour with multi-session debugging:
Fixes script editor debug menu on sessions other than 1
Fixes breakpoint toggle from menu in sessions other than 1
Removes execution display when switching to non-breaked sessions
2023-10-06 19:20:37 +01:00
Rémi Verschelde
62ca46cea4
Merge pull request #82913 from timothyqiu/toasters
Fix garbled text in editor toasters
2023-10-06 16:51:01 +02:00
Rémi Verschelde
49e2bd9d5b
Merge pull request #81523 from KoBeWi/epic_self_roast
Allow contextual plugins to persist temporarily
2023-10-06 16:50:53 +02:00
Rémi Verschelde
7b999ee074
Merge pull request #81284 from YeldhamDev/this_one_was_in_the_backlog_for_a_while
Show doc tooltips when hovering properties in the theme editor
2023-10-06 16:50:48 +02:00
kobewi
a6de7a8a3f Allow contextual plugins to persist temporarily 2023-10-06 15:58:50 +02:00
Haoyu Qiu
3006394a69 Fix garbled text in editor toasters 2023-10-06 21:38:34 +08:00
Mikael Hermansson
1a80508d0f Remove I/O error popup when failing to load/unload extension 2023-10-06 13:57:53 +02:00
Rémi Verschelde
fba341ce44
Merge pull request #82901 from kleonc/sprite-base-3d-gizmo-plugin
Make gizmo plugin handle `SpriteBase3D` instead of `Sprite3D`
2023-10-06 12:53:13 +02:00
Rémi Verschelde
373c4b22d3
Fix various typos with codespell
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
kleonc
db6a8956b2 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-10-06 11:03:44 +02:00
jsjtxietian
b0ccd5c84f Prompt require editor restart to user when gizmo color changed 2023-10-06 15:02:03 +08:00
Rémi Verschelde
4c799d44d0
Merge pull request #82875 from SaracenOne/disconnect_button_disable
Disable disconnect button for inherited signals
2023-10-05 22:51:00 +02:00
Rémi Verschelde
f02695cc04
Merge pull request #81138 from clayjohn/attribute-compression
Vertex and attribute compression
2023-10-05 22:48:55 +02:00
Rémi Verschelde
642479db1e
Merge pull request #79872 from dalexeev/sprite-frames-editor-2
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
2023-10-05 22:48:04 +02:00
Rémi Verschelde
3cf1bc0a24
Merge pull request #79692 from dalexeev/sprite-frames-editor
SpriteFrames Editor: Fix FPS applied to two animations when switching animation
2023-10-05 22:47:37 +02:00
Saracen
054934fde3 Disable disconnect button for inherited signals 2023-10-05 19:10:51 +01:00
clayjohn
51ed3aef63 Vertex and attribute compression to reduce the size of the vertex format.
This allows Godot to automatically compress meshes to save a lot of bandwidth.

In general, this requires no interaction from the user and should result in
no noticable quality loss.

This scheme is not backwards compatible, so we have provided an upgrade
mechanism, and a mesh versioning mechanism.

Existing meshes can still be used as a result, but users can get a
performance boost by reimporting assets.
2023-10-05 12:02:23 -06:00
kobewi
47adf88ed0 Provide translation strings for folder colors 2023-10-05 17:21:48 +02:00
kobewi
5d85551ab3 Fix unsaved changes not getting discarded 2023-10-05 14:03:02 +02:00
kobewi
09b30be86d Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
Rémi Verschelde
aa554e8278
Merge pull request #82694 from BrianMacIntosh/master
"Whole Words" search can detect word boundaries inside the search term.
2023-10-05 10:08:58 +02:00
Rémi Verschelde
b9bf46de9e
Merge pull request #82067 from dalexeev/gds-docgen-fix-metatypes-and-values
GDScript DocGen: Fix and improve appearance of metatypes and values
2023-10-05 10:07:43 +02:00
Michael Alexsander
34e6b86134
Show doc tooltips when hovering properties in the theme editor 2023-10-04 11:53:08 -03:00
Rémi Verschelde
bfd78bb917
Merge pull request #82779 from emacser0/typo
Fix some typos in source
2023-10-04 15:46:29 +02:00
Rémi Verschelde
7a9947f7f5
Merge pull request #82754 from BrunoArmondBraga/wrong_extents_conversion
Removes extents to size conversion
2023-10-04 15:45:16 +02:00
kleonc
6f941cd8e3 Fix transform calculations for drag-moving CanvasItems in editor 2023-10-04 15:44:34 +02:00
Rémi Verschelde
1e544505be
Merge pull request #82691 from YuriSizov/rst-validate-with-exceptions
Validate `code` tags for class and member references
2023-10-04 15:42:42 +02:00
Rémi Verschelde
d92c02002f
Merge pull request #82653 from MewPurPur/simplify-region-folding-icon
Tweak the region folding icons
2023-10-04 15:35:57 +02:00
Rémi Verschelde
03ff9fedb6
Merge pull request #82101 from bruvzg/x11_gles
[X11] Add support for using EGL/GLES instead of GLX.
2023-10-04 15:35:05 +02:00
Rémi Verschelde
bb30c8377c
Merge pull request #82051 from YeldhamDev/i_just_wanted_to_add_tooltips_to_theme_items_man
Revamp how documentation tooltips work
2023-10-04 15:34:40 +02:00
Rémi Verschelde
219a5eff6f
Merge pull request #80977 from ajreckof/Paste-Value-emptying-an-array-on-some-right-click-location
Fix paste value emptying an array on some right click location
2023-10-04 15:33:52 +02:00
Rémi Verschelde
5680d729f2
Merge pull request #80939 from RandomShaper/fix_onion
Revive onion skinning
2023-10-04 15:33:25 +02:00
Rémi Verschelde
7a0fc7e0c1
Merge pull request #75274 from KoBeWi/NodeTrail
Enhance NodePath property editing
2023-10-04 15:32:36 +02:00
bruvzg
af00c4a54a
[X11] Add support for using EGL/GLES instead of GLX. 2023-10-04 14:15:36 +03:00
emacser0
4c65ff52e4 Fix some typos in source. 2023-10-04 19:55:11 +09:00
BrunoArmondBraga
51cc34a99f Removes extents to size conversion
Co-authored-by: Guilhermev25 <guilhermeferreira2529@hotmail.com>
2023-10-03 19:06:47 -03:00
Michael Alexsander
ae91644c73
Revamp how documentation tooltips work 2023-10-03 17:40:51 -03:00
kit
349da99476 fix load floating dock layout 2023-10-03 15:36:53 -04:00
Rémi Verschelde
f5696c311c
Merge pull request #82728 from KoBeWi/king_icong
Fix node icons appearing too big in some cases
2023-10-03 17:27:53 +02:00
Rémi Verschelde
4e1fce3c6f
Merge pull request #82490 from NolanDC/fix_reimport_crash_for_non_loadable_assets
Avoid import dock cleanup for non-loadable assets
2023-10-03 17:24:07 +02:00
Rémi Verschelde
1376a5a0ce
Merge pull request #82103 from bruvzg/icu_export
[Export] Fix TextServer data export.
2023-10-03 17:21:41 +02:00
Rémi Verschelde
a3d6d60fe1
Merge pull request #81188 from the-sink/animation_player_things
Select node when clicked in AnimationPlayer timeline
2023-10-03 17:14:25 +02:00
Rémi Verschelde
cb4879a876
Merge pull request #80802 from xiongyaohua/path3d_gizmo_usability
Improve Path3D gizmo usability
2023-10-03 17:13:32 +02:00
Rémi Verschelde
c3046f4c0d
Merge pull request #80721 from tom95/resource-node-path-renaming
Recurse into resources to check for changed node paths
2023-10-03 17:12:44 +02:00
Rémi Verschelde
ff9b3dc730
Merge pull request #80241 from gamedevishard/filesystem_dock_hsplit
Horizontal split view for Filesystem Dock
2023-10-03 17:11:53 +02:00
Pedro J. Estébanez
071d8e5c9c Revive onion skinning
This also reverts commit 6bbc3cbf04.
2023-10-03 16:52:25 +02:00
kobewi
52b62921b0 Fix node icons appearing too big in some cases 2023-10-03 15:56:13 +02:00
Yuri Sizov
cc0eebd9d8 Validate code tags for class and member references
This commit also adds means to manually disable warnings
in `code` tags where it's a false positive with the new
`skip-lint` attribute.

Warnings are now enabled on CI to prevent future errors.
2023-10-03 15:48:31 +02:00
Micky
021d92fece Fix internal CONNECT_INHERITED being saved in PackedScene & Make Local 2023-10-03 15:03:55 +02:00
AttackButton
93cccda827 Add a button to clear curve points in the Path2D editor 2023-10-03 09:33:38 -03:00
Yaohua Xiong
ce4f64524f Improve Path3D gizmo usability
Allow change tilt gizmo color and size in editor setting
2023-10-03 09:43:24 +08:00
Brian MacIntosh
676627e1d1 "Whole Words" search can detect word boundaries inside the search term.
For example, searching for ".func" will now match in "a.func" even with Whole Words enabled.
2023-10-02 13:47:59 -07:00
Tom Beckmann
42a3108902 recurse into resources to check for changed node paths 2023-10-02 22:00:02 +02:00
Rémi Verschelde
9215b03429
i18n: Sync translations with Weblate (first 4.2 sync) 2023-10-02 17:42:35 +02:00
Rémi Verschelde
57a6813bb8
Merge pull request #81582 from YuriSizov/graph-toolbarniceness
Make `GraphEdit` toolbar more customizable
2023-10-02 15:18:42 +02:00
Rémi Verschelde
2d6cee48f6
Merge pull request #80555 from GrammAcc/fix-80507
AssetLib: Fix long plugin names breaking the UI
2023-10-02 15:18:38 +02:00
Rémi Verschelde
365ee4196c
Merge pull request #68696 from TokisanGames/expose_editor_viewports
Expose editor viewports in EditorInterface
2023-10-02 15:18:25 +02:00
kobewi
cf36afd9d2 Enhance NodePath property editing 2023-10-02 14:50:38 +02:00
Yuri Sizov
b07c664af9 Make GraphEdit toolbar more customizable
Also adds a semi-transparent background
to make the toolbar stand out in front of nodes.
2023-10-02 13:43:08 +02:00
Rémi Verschelde
b926d32ca7
Merge pull request #82591 from Shnazzy/fix-rotation-order-advanced-import
Fixed the Advanced Import Settings window's 3D camera
2023-10-02 13:16:43 +02:00
Rémi Verschelde
1d6f37f80c
Merge pull request #82573 from Chaosus/fix_animationtree_crash
Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
2023-10-02 13:16:35 +02:00
Rémi Verschelde
bc118b36ac
Merge pull request #82370 from YuriSizov/graphs-request-rename-close-delete-please
Rename close requests to delete requests in `GraphEdit`
2023-10-02 13:16:28 +02:00
Rémi Verschelde
0d4fe74043
Merge pull request #81007 from coumcashier/master
FileSystemDock: Don't update current path on rename when file list has focus
2023-10-02 13:15:57 +02:00
Rémi Verschelde
e95b7e84a4
Merge pull request #80844 from dalexeev/fix-callable-expected-argc
Fix expected argument count for `Callable` call errors
2023-10-02 13:15:53 +02:00
MewPurPur
05aaa04b4d Tweak the region folding icons 2023-10-02 04:55:16 +03:00
coumcashier
58af0688d3 rename: don't update current path when file list has focus
FileSystemDock: Don't update current path and path edit when the file list has focus.
So that when renaming from the file list, we don't cd into the renamed folder automatically.
2023-10-02 09:33:11 +11:00
kleonc
c1008c2471 Limit animation audio clip inspector offset sliders to clip length 2023-10-01 18:40:41 +02:00
Cory Petkovsek
110130bb69 Expose editor viewports 2023-10-01 22:04:17 +07:00
GrammAcc
d63a88bef1 AssetLib: Fix long plugin names breaking the UI
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.

I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.

I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.

I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.
2023-09-30 18:16:39 -05:00
Rémi Verschelde
eb14308ebc
Merge pull request #82540 from jackwilsdon/fix-inspector-category-height
Use theme icon size when calculating category minimum size
2023-09-30 11:02:45 +02:00
Yuri Rubinsky
8980211c08 Fix crash when deleting the player in AnimationPlayerEditorPlugin 2023-09-30 09:53:12 +03:00
Shnazzy
17364e20b5 Fixed the Advanced Import Settings window's camera rotation order in the 3D viewport when moving the mouse. 2023-09-29 23:02:22 -04:00
Silc Lizard (Tokage) Renew
afe25937e4 Add useful functions to FilterEdit in AnimationBlendTreeEditor 2023-09-30 03:01:16 +09:00
Jack Wilsdon
4a33a51ea4 Use theme icon size when calculating category minimum size
This previously used the underlying size of the icon, causing the
category to grow incorrectly when re-rendered.

Fixes #82527
2023-09-29 18:50:32 +01:00
Rémi Verschelde
48ef57d465
Merge pull request #81725 from Rindbee/fix-folder-moving-in-FileSystemDock
Fix folder moving in file system dock
2023-09-29 19:46:18 +02:00
Rémi Verschelde
55ba576c58
Merge pull request #81688 from Chaosus/vs_custom_dropdown_list_props
Implement drop-down list properties to the custom visual shader nodes
2023-09-29 19:45:54 +02:00
Danil Alexeev
aff767ef07
Fix expected argument count for Callable call errors 2023-09-29 20:00:10 +03:00
Eric Liu
d94ad09903 Fix conversion of hex color strings in project converter 2023-09-29 15:04:35 +02:00
风青山
1cb1d7f41d Fix folder moving in FileSystemDock
Include files in the folder that will be moved/renamed when looking up the file owner.

Rename the function/variable names to make more sense in FileSystemDock
2023-09-29 20:32:16 +08:00
Rémi Verschelde
94377f50b2
Merge pull request #80813 from TokageItLab/rework-animation-manager
Implement `AnimationMixer` as a base class of `AnimationPlayer` and `AnimationTree`
2023-09-29 10:20:16 +02:00
Yuri Roubinski
4575cc0c6f Implement drop-down list properties to the custom visual shader nodes 2023-09-29 10:55:05 +03:00
the-sink
cbdb23e7ee Select node when clicked in AnimationPlayer timeline 2023-09-28 18:00:34 -07:00
Silc Lizard (Tokage) Renew
1b95827d3e Implement AnimationManager the base class of AnimationPlayer/Tree 2023-09-29 08:23:57 +09:00
aXu-AP
0506d6f192 Fix opening docs writing extra navigation history
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.
2023-09-29 00:03:18 +03:00
Yuri Sizov
0b7ff759f9 Merge pull request #82465 from smix8/tilemap_navmesh_bake_4.x
Update TileMap to use new navigation polygon baking
2023-09-28 20:04:33 +02:00
Yuri Sizov
7c23d4082b Merge pull request #82391 from warriormaster12/improve-skeleton_ik3D
Fix `SkeletonIK3D` editor preview when changing active node
2023-09-28 20:04:30 +02:00
Yuri Sizov
f2ab40cd4d Merge pull request #81708 from JoNax97/drop-resource-with-variable
Create a field when Ctrl-dropping a resource into the code editor
2023-09-28 20:04:07 +02:00
Yuri Sizov
4f0e2ea86e Merge pull request #80699 from aXu-AP/spin-box-comma-decimals
Allow comma as a decimal separator for SpinBox
2023-09-28 20:04:02 +02:00
Nolan Carroll
3770ee3c9e avoid cleanup for non-loadable assets 2023-09-28 12:36:52 -04:00
Haoyu Qiu
b50d0ebb28 Fix "Some nodes are referenced by animation tracks" when deleting instance 2023-09-28 22:53:29 +08:00
smix8
27267b62cb Update TileMap to use new navigation polygon baking
Updates TileMap to use new navigation polygon baking.
2023-09-28 10:35:47 +02:00
warriormaster12
ddf93f3f59 Make SkeletonIk3D node usable 2023-09-28 07:38:50 +03:00
Joaquin Muñiz
a93c19f373 create a constant when dropping a resource into the code editor while CRTL is held, and fix some inconsistencies 2023-09-27 14:37:00 -03:00
Yuri Sizov
5e3229b7ed Fix leak when closing theme editor preview tabs 2023-09-27 15:29:20 +02:00
Rémi Verschelde
3228f73127
Merge pull request #82413 from Calinou/3d-editor-gizmos-ignore-fog
Make 3D editor gizmos and debug shapes ignore fog
2023-09-27 09:21:35 +02:00
Rémi Verschelde
c7a5a284d3
Merge pull request #80260 from raulsntos/dotnet/msbuild-panel
C#: Redesign MSBuild panel
2023-09-27 09:20:19 +02:00
Raul Santos
f19694a8d6
C#: Redesign MSBuild panel
- Redesign panel to look closer to the look of other Godot panels such as Output and Debugger.
- Moved list of problems and output log to separate tabs instead of using a HSplit.
- Added Tree/List layouts to the problems tab.
- Added search box to filter problems tab.
- Added `FileTree` icon, made from `FileList`. Both are used for the button that toggles the Tree/List layouts.
2023-09-27 02:53:27 +02:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
Rémi Verschelde
f14ed3067d
Merge pull request #81573 from YuriSizov/docs-use-theme-binds-in-help
Use bound theme properties for documentation
2023-09-26 22:46:10 +02:00
Aaron Franke
b0c1c24c38
Allow adding a custom side menu to EditorFileDialog 2023-09-26 14:03:18 -05:00
Yuri Sizov
596dd726a1 Use bound theme properties for documentation 2023-09-26 18:48:51 +02:00
Rémi Verschelde
b905959f43
Merge pull request #82371 from KoBeWi/menus_that_should_be_there
Fix submenus deleted accidentally
2023-09-26 17:53:02 +02:00
kobewi
e30e84d77a Fix submenus deleted accidentally 2023-09-26 16:47:33 +02:00
Yuri Sizov
cdec1ee6cb Color match editor log toggles and flat pressed buttons 2023-09-26 16:41:50 +02:00
Yuri Sizov
378ab38b1f Rename close requests to delete requests in GraphEdit 2023-09-26 16:41:39 +02:00
Rémi Verschelde
da91cf9367
Merge pull request #82347 from SaracenOne/dir_access_checks
Add error checks for DirAccess creation
2023-09-26 16:36:47 +02:00
Rémi Verschelde
2c8c7b95aa
Merge pull request #82313 from AThousandShips/null_check_servers
[Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-26 13:45:31 +02:00
bruvzg
bc6585a5a7
[RTL] Add support for image dynamic updating, padding, tooltips and size in percent. 2023-09-26 09:39:51 +03:00
Rémi Verschelde
f593b6c936
Merge pull request #82328 from KoBeWi/submit_to_the_dialog_overlords
Fix ScriptCreateDialog not accepting on submit
2023-09-26 08:31:51 +02:00
Rémi Verschelde
563d225654
Merge pull request #82287 from jsjtxietian/fix-clear-error-when-unset-exported-typed-array-vai-editor
Fix can't unset exported typed array element when the type is set to Node
2023-09-26 08:31:01 +02:00
Rémi Verschelde
bf5318f45e
Merge pull request #82045 from marzecdawid/don't-move-not-selected-cursor-item-in-filesystem-dock
While dragging files don't move not selected cursor item in filesystem-dock
2023-09-26 08:22:36 +02:00
Rémi Verschelde
10cf3d0524
Merge pull request #81843 from TokageItLab/improve-automapping
Improve retarget auto-mapping algorithm
2023-09-26 08:22:11 +02:00
Rémi Verschelde
8f0609c00a
Merge pull request #81620 from YuriSizov/assets-remap-install-folder
Allow to specify target folder when installing assets
2023-09-26 08:21:19 +02:00
Rémi Verschelde
3c63b09a70
Merge pull request #81486 from jsjtxietian/Ignoring-empty-lines--when-uncommenting
Ignore empty lines when uncommenting code
2023-09-26 08:20:05 +02:00
Rémi Verschelde
480590ceb2
Merge pull request #81278 from Alex2782/bugfix_EditorSpinSlider_clamp#81272
Fix clamping logic in `EditorSpinSlider`
2023-09-26 08:19:15 +02:00
Rémi Verschelde
7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
Rémi Verschelde
55dfbd7761
Merge pull request #80284 from dsnopek/gdextension-hot-reload
Implement reloading of GDExtensions
2023-09-26 08:17:28 +02:00
David Snopek
2733a6f762 Implement reloading of GDExtensions 2023-09-25 22:10:17 -05:00
Saracen
3f4513d4de Add error checks for DirAccess creation. 2023-09-26 03:07:43 +01:00
PucklaMotzer09
d2e651f403 Add Duplicate Lines shortcut to CodeTextEditor
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
kobewi
c8db3f66ed Fix ScriptCreateDialog not accepting on submit 2023-09-25 22:25:19 +02:00
smix8
0ee7e3102b Add 2D navigation mesh baking
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
A Thousand Ships
fdd3d36c6d [Servers] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-25 18:45:30 +02:00
Rémi Verschelde
fcbc50ec14
Merge pull request #82302 from MewPurPur/alt-font-icon
Add Font and Mesh icons that aren't grayed out
2023-09-25 18:38:29 +02:00
Rémi Verschelde
9750876d7a
Merge pull request #80962 from YuriSizov/godot-the-editor-engine
Differentiate between core and editor-only singletons
2023-09-25 18:38:17 +02:00
Rémi Verschelde
e4cfd4e26a
Merge pull request #82195 from AThousandShips/radian_fix
Replace `radians` range hint with `radians_as_degrees`
2023-09-25 17:18:38 +02:00
Rémi Verschelde
f0a980840f
Merge pull request #82194 from KoBeWi/your_command_failed._Good_luck_finding_out_why
Add call validation to CommandPalette
2023-09-25 17:18:33 +02:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
Rémi Verschelde
cd39da2df7
Merge pull request #81197 from DarioSamo/fsr2-rd
Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
2023-09-25 17:18:12 +02:00
Rémi Verschelde
d759f91f8d
Merge pull request #81101 from 398utubzyt/dotnet/abstract-class-support
C#: Add abstract class support
2023-09-25 17:18:05 +02:00
Rémi Verschelde
c57d9f3483
Merge pull request #79104 from DrRevert/focusable_tabs_refactor
Allow to focus individual tabs in `TabBar`/`TabContainer`
2023-09-25 17:17:51 +02:00
Rémi Verschelde
1a0e653d7f
Merge pull request #78573 from dalexeev/editor-create-script-class-name
Editor: Remove unused Class Name field from Create Script dialog
2023-09-25 17:17:46 +02:00
MewPurPur
fb030beac5 Add white Font and Mesh icons 2023-09-25 17:29:14 +03:00
Dario
057367bf4f Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
A Thousand Ships
e45927b2f2 Replace radians range hint with radians_as_degrees 2023-09-25 08:50:19 +02:00
jsjtxietian
a46901278d Fix can't unset exported typed array element when the type is set to Node 2023-09-25 14:23:05 +08:00
Michael Alexsander
c7d0565681
Make the search bars in the "Project Settings" dialog grab focus when they appear 2023-09-25 01:09:29 -03:00
kobewi
9f0b8c0a70 Add call validation to CommandPalette 2023-09-25 00:10:42 +02:00
Rémi Verschelde
37d5e1e0e3
Merge pull request #82210 from YuriSizov/editor-animation-uiux-cleanup
Fix theme access and improve UX in AnimationTree editor
2023-09-24 23:36:33 +02:00
Rémi Verschelde
9e011c3950
Merge pull request #82190 from BlueCube3310/aabb-import-shadows-disable
Disable bounding box shadows for advanced scene importer
2023-09-24 23:35:22 +02:00
Rémi Verschelde
810021c7cd
Merge pull request #82181 from Chaosus/curve_fix_crash
Fix CurveEdit crash when dragging the curve if it is null
2023-09-24 23:34:58 +02:00
Rémi Verschelde
04317bc784
Merge pull request #82171 from timothyqiu/sep-leak
Fix leak when calling `remove_control_from_menu_panel`
2023-09-24 23:34:35 +02:00
Rémi Verschelde
6d8b33f5d4
Merge pull request #82131 from jsjtxietian/fix-skeleton-editor-deleted-in-wrong-container
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 23:33:42 +02:00
Rémi Verschelde
5b6bf2aa2a
Merge pull request #81675 from Calinou/editor-filter-nodes-type-clarify
Clarify filtering by node type and group in the Scene tree dock
2023-09-24 23:32:07 +02:00
Rémi Verschelde
684effb6b4
Merge pull request #81425 from Rubonnek/expose-inspector-methods-master
Expose `EditorInspector::get_edited_object` to GDScript
2023-09-24 23:31:43 +02:00
Rémi Verschelde
98747a9040
Merge pull request #78803 from EMBYRDEV/additional-mesh-import-options
Add layer, shadow and visibility range options to the Scene importer
2023-09-24 23:30:30 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
jsjtxietian
2679118d51 Fix skeleton 3d editor's toolbar ui deleted from wrong container 2023-09-24 11:28:46 +08:00
Haoyu Qiu
2d67ce4e60 Fix leak when calling remove_control_from_menu_panel 2023-09-24 08:35:45 +08:00
Yuri Sizov
b351cffddf Fix theme access and improve UX in AnimationTree editor 2023-09-23 21:47:27 +02:00
Wilson E. Alvarez
c844988e40
Expose EditorInspector::get_edited_object to GDScript 2023-09-23 09:47:07 -04:00
BlueCube3310
1121c7bbaf Disable bounding box shadows for advanced scene importer 2023-09-23 15:18:57 +02:00
Yuri Rubinsky
6d9e4e9704 Fix CurveEdit crash when dragging the curve if it is null 2023-09-23 11:44:54 +03:00
Hugo Locurcio
edade7db23
Clarify filtering by node type and group in the Scene tree dock
This functionality has been available since 4.0, but was difficult
to discover since there was no tooltip and the placeholder didn't
mention it.
2023-09-22 23:09:35 +02:00
DennisManaa
f248420a2b made visual shader ports expandable by default if there is only one output port and it's of any vector type
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
Devel Oper
81311594b5 Horizontal split view for Filesystem Dock 2023-09-22 11:34:33 +02:00
bruvzg
59d5b2d6d3
[Export] Fix TextServer data export. 2023-09-22 11:54:13 +03:00
Danil Alexeev
426ccba70e
GDScript DocGen: Fix and improve appearance of metatypes and values 2023-09-21 20:44:34 +03:00
MewPurPur
7b86969719 Overhaul the Gradient Editor 2023-09-21 15:55:28 +03:00
aXu-AP
4d3dc0e944 Use comma as a decimal separator for SpinBox
Add support for comma ',' as a decimal separator for SpinBox. This implementation allows for expressions like `pow(2, 3)` to be used as well. If you use comma to separate decimals, use semicolon `;` to separate function parameters.
Change EditorSpinSlider behavior to match.
2023-09-21 15:45:37 +03:00
Rémi Verschelde
fb4c0cf462
Merge pull request #81971 from KoBeWi/there_is_only_one_scene
Don't allow transforming scene tiles
2023-09-21 14:25:08 +02:00
Dawid Marzec
14f6f97f9c Don't move not selected cursor item dragging files 2023-09-21 13:55:06 +02:00
MewPurPur
0095205917 Add PhysicsMaterial icon 2023-09-21 00:05:29 +03:00
Rémi Verschelde
70150bac8a
Merge pull request #81978 from MewPurPur/donut-buff
Improve the Torus icons
2023-09-20 18:55:28 +02:00
MewPurPur
a40a2ff7d9 Improve the Torus icons 2023-09-20 15:42:37 +03:00
kobewi
07a00cf822 Don't allow transforming scene tiles 2023-09-20 14:10:21 +02:00
Rémi Verschelde
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde
b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Rémi Verschelde
8728cac736
Merge pull request #81770 from kevincardona/add_quick_open_shortcut
Add Ctrl+P as shortcut to quick open files in addition to Shift+Alt+O
2023-09-20 13:09:37 +02:00
jsjtxietian
12299e0f53 Ignore empty lines when commenting/uncommenting code 2023-09-20 18:55:48 +08:00
Yuri Sizov
4bd569be95 Replace flat buttons with flat-styled buttons with a visible pressed state 2023-09-19 22:36:29 +02:00
Yuri Sizov
ef80a2b44c Allow to specify target folder when installing assets
This also changes the layout of the installer window to
better separate configuration of the installation and the
expected output.
2023-09-19 20:10:26 +02:00
kobewi
3f43044a40 Make UIDs clickable in the script editor 2023-09-19 15:59:03 +02:00
Gilles Roudière
83f1e31483 Fix TileMap editor so that pressing control deselects cells correctly 2023-09-19 15:12:03 +02:00
ajreckof
6afadbaa9f Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform 2023-09-19 10:29:07 +02:00
Rémi Verschelde
e3e2528ba7
Merge pull request #81834 from MewPurPur/canvas-texture-icon
Add CanvasTexture icon
2023-09-18 10:38:32 +02:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00
Rémi Verschelde
e09ac40372
Merge pull request #81750 from Mickeon/fix-connection-dock-popup-for-inherited
Fix Connection dock's popups always allowing disconnect
2023-09-18 10:38:15 +02:00
Rémi Verschelde
10bac38598
Merge pull request #81625 from Calinou/editor-default-textfile-extensions-xml
Add XML files to default TextFile extensions in the editor
2023-09-18 10:38:07 +02:00
MewPurPur
c7094d5172 Add CanvasTexture icon 2023-09-18 11:05:03 +03:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Silc Lizard (Tokage) Renew
c1c4a09527 Improve retarget auto-mapping algorithm 2023-09-18 12:51:15 +09:00
Arkadiusz Marcin Kołek
18811ac814 Allow to focus individual tabs in TabBar/TabContainer 2023-09-17 18:49:48 +02:00
MewPurPur
c094631ba0 Fix grayed out paint icons 2023-09-17 19:23:28 +03:00
A Thousand Ships
8d7a2c615c Make editor camera speed indicator use m/s and m 2023-09-17 18:04:58 +02:00
Rémi Verschelde
4df80b0e62
Merge pull request #81751 from KoBeWi/locition
Change icon for position key
2023-09-17 14:48:16 +02:00
Rémi Verschelde
04d2aa61a3
Merge pull request #81641 from MewPurPur/bus-go-brrrr-2
Add a `bus_renamed` AudioServer signal
2023-09-17 14:47:29 +02:00
Rémi Verschelde
c63e0aefcf
Merge pull request #79366 from dalexeev/gds-signal-info-and-callback
Editor: Improve signal callback generation
2023-09-17 14:45:47 +02:00
kobewi
b01b1de6a7 Change icon for position key 2023-09-17 00:01:26 +02:00
Kevin Cardona
c1146632b2 Add Ctrl/CMD+P as a shortcut to quick open files in addition to Shift+Alt+O 2023-09-16 15:32:37 -06:00
Kevin Cardona
20887d801b Allow editor commands to have multiple default commands 2023-09-16 15:30:37 -06:00
Micky
4471e7fe92 Fix Connection dock's popups always allowing disconnect 2023-09-16 21:46:00 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00
Rémi Verschelde
cdef53df1e
Merge pull request #81705 from AThousandShips/null_check_editor
[Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-16 21:24:53 +02:00
Rémi Verschelde
91dee347ad
Merge pull request #81609 from AThousandShips/gizmo_fix
Fix local 3D translation editing
2023-09-16 21:24:06 +02:00
Rémi Verschelde
7ca579cb27
Merge pull request #81554 from Calinou/editor-gizmos-add-decal
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
2023-09-16 21:22:54 +02:00
kobewi
447a4b6bcf Fix rotated 2D movement gizmo 2023-09-16 19:26:20 +02:00
A Thousand Ships
dae27d1311 Fix local 3D translation editing 2023-09-16 11:11:54 +02:00
398utubzyt
2df37a237a C#: Abstract script class support 2023-09-15 20:35:25 -07:00
kobewi
cd0aaab48c Cleanup some GLOBAL_DEFs 2023-09-15 21:32:23 +02:00
Hugo Locurcio
5345cf3e75
Add 3D editor gizmo icons for Decal, LightmapProbe and FogVolume
- Tweak CPUParticles3D editor gizmo icon to use the same outline
  color as other gizmo icons. Make the internal icon easier to see
  by using an orange color instead of gray.

Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-09-15 20:44:45 +02:00
A Thousand Ships
75ee58fd04 [Editor] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-15 20:15:39 +02:00
Yuri Sizov
fa31a9fe2a Merge pull request #81673 from KoBeWi/only_child
Don't paste nodes as sibling of scene root
2023-09-15 19:48:44 +02:00
Yuri Sizov
e5ad3d4d58 Merge pull request #81657 from Jordyfel/editor-thing
Fix dependency handling on move or rename in the filesystem dock
2023-09-15 19:48:33 +02:00
Yuri Sizov
2568807941 Merge pull request #81651 from garychia/delete_anim_tracks
SceneTreeDock: Remove animation tracks with correct indices
2023-09-15 19:48:30 +02:00
Yuri Sizov
2febb246e1 Merge pull request #81606 from jsjtxietian/hide-animation-tool--correctly-when-switching-scenes
Hide animation toolbar above the viewport correctly when switching scenes
2023-09-15 19:48:23 +02:00
Yuri Sizov
df6cd37a69 Merge pull request #81516 from YuriSizov/editor-theme-access-the-success
Fix accessing editor theme items throughout the UI
2023-09-15 19:48:14 +02:00
Yuri Sizov
508a758eab Merge pull request #75303 from Calinou/3d-gizmos-only-selected
Show visual-oriented 3D node gizmos only when selected
2023-09-15 19:48:10 +02:00
kobewi
4778b53da9 Don't paste nodes as sibling of scene root 2023-09-15 16:05:17 +02:00
Jordyfel
6245367e6d Fix dependency handling on move or rename. 2023-09-15 16:46:26 +03:00
Yuri Sizov
8ecc0c4f47 Fix accessing editor theme items throughout the UI
This also exposes `EditorInterface::get_editor_theme`.
2023-09-15 14:51:01 +02:00
Yuri Sizov
6e11fcb92c Warn about accessing non-existing editor theme items 2023-09-15 14:51:01 +02:00
MewPurPur
f29b6e73c2 Add a bus_renamed AudioServer signal 2023-09-15 13:02:03 +03:00
Chia-Hsiang Cheng
3d7facd21c Remove animation tracks with correct indices 2023-09-15 14:22:09 +08:00
jsjtxietian
0113e6961d Hide animation tool correctly when switching scenes 2023-09-15 10:48:26 +08:00
Hugo Locurcio
1024ba0c0d
Show visual-oriented 3D node gizmos only when selected
Affected nodes:

- DirectionalLight3D, OmniLight3D, SpotLight3D
- ReflectionProbe
- LightmapGI
- VoxelGI
- GPUParticles3D (but not collision/attractor nodes)
- AudioStreamPlayer3D

This reduces visual clutter in the editor with 3D scenes.
2023-09-15 01:59:49 +02:00
Rémi Verschelde
5a74ce9a56
Merge pull request #81557 from YuriSizov/editor-toolbars-divided
Improve the looks of 2D/3D viewport contextual toolbars
2023-09-14 23:40:33 +02:00
Yuri Sizov
76062213d1 Merge pull request #80278 from KoBeWi/basically_ViewPanner_but_3D_and_without_panning
Add helper for 3D gizmos and unify box
2023-09-14 15:21:23 +02:00
Yuri Sizov
9948f03344 Merge pull request #79920 from KoBeWi/most_sane_path
Automatically add path to built-in scripts
2023-09-14 15:21:19 +02:00
Yuri Sizov
aa075e251a Merge pull request #79161 from MewPurPur/variant-icons
Optimize Variant icons and a few others
2023-09-14 15:21:13 +02:00
Hugo Locurcio
e732a9d41b
Add XML files to default TextFile extensions in the editor
This allows opening `*.xml` files by double-clicking them in the
FileSystem dock.
2023-09-13 20:44:15 +02:00
Yuri Sizov
f542dffb39 Improve the looks of 2D/3D viewport contextual toolbars 2023-09-13 13:04:55 +02:00
kobewi
015953a3d9 Add helper for 3D gizmos and unify box 2023-09-12 18:08:02 +02:00
MewPurPur
ea51392824 Optimize Variant icons 2023-09-12 14:15:55 +03:00
Haoyu Qiu
b8b0339549 Improve undo action names
* Avoid concating strings manually for better i18n and easy l10n
   * Use `vformat` when possible
   * Use separate strings if the changing part is only a few hardcoded strings
* Don't put a period at the end of the name
2023-09-12 18:53:50 +08:00
Rémi Verschelde
183850ee24
Merge pull request #81563 from jsjtxietian/ignore-method-track-when-draw-line
Ignore method track when drawing line between keys
2023-09-12 12:02:26 +02:00
Rémi Verschelde
3e68ed0ca1
Merge pull request #81255 from JohnGabrielUK/primary-line-separate-xy
Allow configuring primary line X/Ys separately
2023-09-12 12:01:15 +02:00
Rémi Verschelde
e83fc9c03a
Merge pull request #80503 from OXTyler/80379
Fixes Scene corruption when child scene is renamed in another directory
2023-09-12 12:00:49 +02:00
Rémi Verschelde
475860839c
Merge pull request #80144 from KoBeWi/freedom_tiles
Add per-tile flipping and transposing
2023-09-12 12:00:20 +02:00
Danil Alexeev
26ce861910
Editor: Remove unused Class Name field from Create Script dialog 2023-09-12 12:49:56 +03:00
John Gabriel
984eb96c43 Allow configuring primary line X/Ys separately 2023-09-12 10:24:07 +01:00
Rémi Verschelde
5c43e4c1ef
Fix various typos with codespell
Using 2.2.6.dev180+ge3a2cfbd.
2023-09-12 08:54:18 +02:00
Rémi Verschelde
7471ac2c4d
Merge pull request #81543 from DarioSamo/lightmap-size-crash-fix
Propagate error correctly when max texture size for lightmaps is too small.
2023-09-12 08:50:45 +02:00
Rémi Verschelde
006a88c855
Merge pull request #80975 from Calinou/editor-property-auto-refresh-add-property-hint
Add a property hint range to Auto Refresh Interval editor setting
2023-09-12 08:49:08 +02:00
jsjtxietian
042e0f7019 Ignore method track when drawing line between keys 2023-09-12 14:43:23 +08:00
Hugo Locurcio
9359e0b91d
Add a property hint range to Auto Refresh Interval editor setting
This prevents using zero or negative values, which are invalid and
will cause various issues in the editor (such as the inspector never
updating until the editor is closed and reopened).
2023-09-11 19:46:21 +02:00
Jean-Michel Bernard
67dce301aa Add code region folding to CodeEdit 2023-09-11 18:36:40 +02:00
Danil Alexeev
4b5daf06ef
Editor: Improve signal callback generation 2023-09-11 18:45:39 +03:00
Rémi Verschelde
3669188607
Merge pull request #81415 from Rindbee/fix-copy-or-paste-root-nodes
Fix bugs of copying scene root node or pasting node as scene root
2023-09-11 15:38:31 +02:00
Rémi Verschelde
786dab42fd
Merge pull request #70329 from Daylily-Zeleen/daylily-zeleen/register_internal_class
Allow GDExtension to register unexposed classes.
2023-09-11 15:35:31 +02:00
Dario
7dfb854556 Propagate error correctly when max texture size for lightmaps is too small.
Add error handling for BAKE_ERROR_LIGHTMAP_TOO_SMALL, which was previously ignored. Fixes #81453.
2023-09-11 09:14:39 -03:00
Chia-Hsiang Cheng
d12d955e68 Avoid changing the currently edited object when attaching a script 2023-09-10 17:16:09 +08:00
kobewi
a9f3154da3 Add per-tile flipping and transposing 2023-09-09 00:56:38 +02:00
Rémi Verschelde
6c1241dcf6
Merge pull request #81380 from AThousandShips/folder_color_add
Update folder colors when moving or renaming
2023-09-08 23:15:17 +02:00
Yuri Sizov
639aba4ee1 Improve handling of archives when installing assets 2023-09-08 20:45:49 +02:00
Rémi Verschelde
8c1817f755
i18n: Sync translations with Weblate
(cherry picked from commit f2c8eea60e)
2023-09-08 12:12:18 +02:00
Rémi Verschelde
b39303abae
Merge pull request #81430 from aaronfranke/export-platform-os-name
Expose `EditorExportPlatform::get_os_name()`
2023-09-08 11:50:46 +02:00
Rémi Verschelde
72ceaa8d9c
Merge pull request #81226 from AThousandShips/file_diag_fix
Fix `EditorFileDialog` clears the file name on changing directory
2023-09-08 11:50:42 +02:00
Rémi Verschelde
119f379a3d
Merge pull request #81075 from SekoiaTree/prevent-leading-dot
Prevent creating any type of file with a leading dot
2023-09-08 09:10:59 +02:00
sekoia
bbeb2f98f5 Prevent creating any type of file with a leading dot
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: gotnospirit <gotnospirit@gmail.com>
2023-09-07 22:13:02 +02:00
Aaron Franke
c1c0ee3faf
Expose EditorExportPlatform::get_os_name() 2023-09-07 12:28:09 -05:00
A Thousand Ships
0f026193b2 Update folder colors when moving or renaming 2023-09-07 17:46:27 +02:00
Hendrik Brucker
5afe78bd9c Clean up/refactor GraphNode and make it more flexible
Split GraphNode into GraphElement and GraphNode, add custom
titlebar, and adjust theming.
2023-09-07 17:29:06 +02:00
Rémi Verschelde
08c578c54c
Merge pull request #81416 from akien-mga/uwp-ce-nest-qu-un-au-revoir
UWP: Remove platform port, needs to be redone from scratch for 4.x
2023-09-07 16:33:40 +02:00
Rémi Verschelde
074931a3aa
Merge pull request #81410 from bitsawer/fix_shader_include_reload
Fix shader text editor include file reloading
2023-09-07 16:32:54 +02:00
风青山
95248a7d72 Fix bugs of copying scene root node or pasting node as scene root
Fix crash when pasting a node as a new scene root.
Fix owner was not set correctly when copying scene root node from unsaved scene.

The owner of the root node is `nullptr`, which was ignored before.
2023-09-07 21:57:37 +08:00
Danil Alexeev
f8a0c487a8
Editor: Rearrange "Main Menu > Help" items 2023-09-07 16:17:28 +03:00
Rémi Verschelde
8de6405288
UWP: Remove platform port, needs to be redone from scratch for 4.x
The UWP platform port was never ported to the Godot 4.0+ API,
and it's now accumulating bitrot as it doesn't compile, and thus
we no longer propagate platform changes in it.

So we finally remove to acknowledge this state. There's still some
interest in reviving the UWP port eventually, especially as support
for Direct3D 12 will soon be merged, but when that happens it will
be easiest to redo it from scratch.
2023-09-07 15:01:59 +02:00
Rémi Verschelde
d6d8cb1a17
Merge pull request #81408 from jsjtxietian/fix-property-array-tooltip-shows-wrong-ID-on-later-pages
Fix property array tooltip shows wrong ID on later pages
2023-09-07 14:04:58 +02:00
Rémi Verschelde
5c7b0ed299
Merge pull request #81407 from AThousandShips/print_go_away
Remove leftover debug print in `FileSystemDock`
2023-09-07 14:04:34 +02:00
Rémi Verschelde
7663c69922
Merge pull request #81388 from YuriSizov/core-gdvirtual-but-less-confused-about-itself
Extract `ScriptInstance` into its own file to simplify includes
2023-09-07 13:53:45 +02:00
Rémi Verschelde
8dc15e8429
Merge pull request #81130 from YuriSizov/theme-context-for-global-themes
Implement a system to contextualize global themes
2023-09-07 13:51:20 +02:00
Rémi Verschelde
88269cfb86
Merge pull request #80821 from Alex2782/bugfix_go_up_#80750
Fix go to parent folder in `EditorFileDialog`
2023-09-07 13:50:55 +02:00
bitsawer
d50595c0e9 Fix shader text editor include file reloading 2023-09-07 14:35:26 +03:00
jsjtxietian
d4ac65bc48 Fix property array tooltip shows wrong ID on later pages
Also do some cleanup, use`element_position` instead of
`begin_array_index + i`
2023-09-07 19:04:28 +08:00
A Thousand Ships
1589efb350 Remove leftover debug print in FileSystemDock 2023-09-07 11:19:18 +02:00
Yuri Sizov
d8ff69d53c Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.

This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
2023-09-06 22:54:38 +02:00
Yuri Sizov
fc01e2e7f6 Add a theme preview switcher to the 2D viewport
This commit adds a new View submenu that allows switching
between the project theme (default), the editor theme, and
the default theme. The last selected option is stored per
project and is restored when reloading the project.
2023-09-06 19:40:43 +02:00
Yuri Sizov
512182f147 Add theme contexts to various parts of the editor
This change defines additional theme contexts for editor
branches to prevent theme leaking between the default
theme, the project theme, and the editor theme.

- Both editor window and EditorNode define an editor-specific
context with the editor theme and the default theme.
- The 2D viewport defines a project-specific context with
the project theme and the default theme.
- Theme editor preview tabs define the default-only context
with the default theme.

Additionally, the default theme context now only includes
the project theme for running projects (both export and debug).
This prevents the project theme from leaking into the editor.

This commit also does a little clean up on the theming aspects
of the EditorNode.
2023-09-06 19:40:43 +02:00
Yuri Sizov
21c5f86d5d Check the native base of scripts when resolving icons 2023-09-06 15:20:07 +02:00
Yuri Sizov
3a585a6bcf Merge pull request #81346 from timothyqiu/interning
Avoid text substitution in EditorHelp messages
2023-09-06 14:49:37 +02:00
Yuri Sizov
008dc63fe6 Merge pull request #81344 from AThousandShips/folder_color_fix
Fix saving editor folder colors
2023-09-06 14:49:34 +02:00
Yuri Sizov
d2cc6897d4 Merge pull request #81299 from jsjtxietian/Reload-built_in-script-after-create-to-allow-drag-nodes-into-it
Fix an error when dragging nodes into built-in scripts because script does not inherit Node
2023-09-06 14:49:24 +02:00
Yuri Sizov
102f42a48d Merge pull request #81121 from jsjtxietian/fix-crash-in-make_mesh_previews
Fix a crash when enable a tool plugin uses `make_mesh_previews`
2023-09-06 14:49:09 +02:00
Yuri Sizov
3c63dce3cd Merge pull request #80573 from KoBeWi/2k_lines_of_changes_created_at_2AM
Add EditorStringNames singleton
2023-09-06 14:49:02 +02:00
jsjtxietian
7e3a762369 Fix a crash when enable a plugin uses make_mesh_previews
The bug happens when plugin tree is propagating mouse events
(so it is blocked), but EditorProgress's dtor will make main editor
focused and call update_plugins immediately
 which will update the blocked tree.
2023-09-06 11:11:07 +08:00
jsjtxietian
d32348c686 Reload built-in script after create to allow dropping nodes into it 2023-09-06 10:03:27 +08:00
Alexander Hartmann
40046bcf60 Fix go to parent folder in EditorFileDialog 2023-09-06 01:01:04 +02:00
Rémi Verschelde
0a7f75ec7b
Merge pull request #80740 from m4gr3d/godot_android_plugin_refactor_main
Godot Android plugin re-architecture
2023-09-06 00:09:07 +02:00
Haoyu Qiu
e350034251 Avoid text substitution in EditorHelp messages 2023-09-05 23:15:34 +08:00
A Thousand Ships
1083ce4466 Fix saving editor folder colors
Also clears setting if none are assigned
2023-09-05 16:57:15 +02:00
bruvzg
ab33613a13
Update and properly list versions of the built-in fonts. 2023-09-05 08:17:24 +03:00
Rémi Verschelde
75de1ca768
Merge pull request #81280 from ogapo/deterministic_pcks
Fix for non-deterministic behavior in PCKPacker
2023-09-04 09:09:23 +02:00
Rémi Verschelde
a0d21d41a8
Merge pull request #80149 from aaronfranke/fix-res-reimport-empty-scene
Fix error message when reimporting resources with an empty scene open
2023-09-04 09:07:48 +02:00
Rémi Verschelde
dd4fae6162
Merge pull request #74809 from Chaosus/completion_color_xyzw
Add coloring for completion of vector components
2023-09-04 09:06:57 +02:00
Daylily-Zeleen
41ffe5461f Allow GDExtension to register unexposed class. 2023-09-04 10:18:20 +08:00
Fredia Huya-Kouadio
8cc7739197 Godot Android plugin re-architecture 2023-09-03 17:04:10 -07:00
David Nikdel
067807c1cb Remove nondeterminism in pck_packer
PCK files (like other build products) should be deterministic based on their inputs. Removed calls to Math::rand() that are being used to generate padding.

Looks like these were introduced as part of adding encryption support, but the padding being random does not have any cryptographic significance. This can be trivially inferred since file blocks that happen to be aligned don't get padding anyway.

If there's a desire to indroduce something that functions as a nonce it should probably be added explicitly and only if encryption is enabled.
remove Math::rand() calls in editor_export_platform.cpp

follow up to make consistent with pck_packer
2023-09-03 18:14:30 -04:00
Alexander Hartmann
053d718154 Fixes the 'CLAMP' problem in the 'EditorSpinSlider' ...
... when arrow keys are pressed up or down.
2023-09-03 20:47:22 +02:00
kobewi
6de34fde27 Add EditorStringNames singleton 2023-09-03 19:58:18 +02:00
Aaron Franke
ff911c3ad3
Fix error message when reimporting resources with an empty scene open 2023-09-03 11:40:48 -05:00
Rémi Verschelde
fa3428ff25
Merge pull request #81221 from dalexeev/editor-inspector-and-signal-dock-improvements
Editor: Inspector and Signal docks improvements
2023-09-03 00:21:04 +02:00
Rémi Verschelde
07035466e8
Merge pull request #81189 from jsjtxietian/Fix-press-space-when-enter-editor-layout-name-will-confirm-save
Use `ui_text_submit` instead of `ui_accept` to confirm and close text prompts
2023-09-02 14:30:12 +02:00
Rémi Verschelde
bb61a932c2
Merge pull request #81072 from KoBeWi/the_scene_file_is_in_another_castle
Refactor disabling scene tab context menu options
2023-09-02 14:29:24 +02:00
Rémi Verschelde
60422759fa
Merge pull request #80849 from KoBeWi/edit_NOTHING
Unedit nodes early when closing scene tab
2023-09-02 14:29:00 +02:00
Danil Alexeev
c33ca26e17
Editor: Inspector and Signal docks improvements 2023-09-02 08:50:28 +03:00
A Thousand Ships
17d69ed7bb Fix EditorFileDialog clears the file name on changing directory
Fixes issues with assigning a name for files being saved
2023-09-01 22:53:41 +02:00
kobewi
a949f1b4b5 Refactor disabling scene tab context menu options 2023-09-01 21:34:54 +02:00
Rémi Verschelde
5588980e47
Merge pull request #80184 from MewPurPur/gray=abstract
Use the gray color for all abstract classes
2023-09-01 16:00:58 +02:00
jsjtxietian
ba41910967 Use ui_text_submit to confirm and close text prompts
Fix press space when enter editor layout name will
confirm and save layout, same in theme editor
2023-09-01 12:23:30 +08:00
MewPurPur
398ca4e71a Use the gray color for all abstract classes 2023-08-31 12:59:18 +03:00
Rémi Verschelde
56a5fb26a0
Merge pull request #81156 from jsjtxietian/fix-crash-when-built-in-scripts-not-saved-and-have-error
Fix a crash when built-in script is not saved and have syntax error
2023-08-31 08:56:04 +02:00
Hugo Locurcio
3ba031602b
Display time of last save in the unsaved changes confirmation editor dialog
When multitasking, this makes it clearer whether closing a window with unsaved
changes is potentially dangerous or not.
2023-08-31 00:47:11 +02:00
Yuri Rubinsky
35802374ac Add coloring for completion of vector components 2023-08-30 21:13:25 +03:00
bitsawer
836705d7a9 Reset SDFGI when changing editor scene tabs 2023-08-30 19:50:05 +03:00
jsjtxietian
cfd7dfd985 Fix a crash when built-in script is not saved and have syntax error
When built-in script is not saved, it has empty path, and origin
code assumes error with empty path is a depended_error but that's
not always the case.
Also add protection before access list index 0.
2023-08-30 17:45:58 +08:00
the-sink
95b0f28255 Add custom color support to project folders 2023-08-29 12:13:53 -07:00
Rémi Verschelde
8ebb34707a
Merge pull request #61818 from KoBeWi/secret_prefix_stash
Made hidden ProjectSettings groups more explicit
2023-08-29 15:05:38 +02:00
Rémi Verschelde
571aa7f531
Merge pull request #81092 from dalexeev/editor-improve-signal-connection-dock
Editor: Signal Connection Dock improvements
2023-08-29 12:47:55 +02:00
Rémi Verschelde
c1e85c6593
Merge pull request #80617 from jmb462/fix_80524
Add buttons to reorder inspector array items without dragging
2023-08-29 12:43:34 +02:00
Rémi Verschelde
3417f34a37
Merge pull request #80529 from KoBeWi/unfortunate_fix_is_unfortunate🤦‍♂️
Fix TileSet not disappearing on deselecting TileMap
2023-08-29 12:43:10 +02:00
Rémi Verschelde
1ffc24e19e
Merge pull request #80124 from Calinou/3d-editor-frame-time-initialize-fps
Initialize View Frame Time estimates to match 120 FPS
2023-08-29 12:42:16 +02:00
Rémi Verschelde
91c5273ec5
Merge pull request #75656 from YuriSizov/core-iconic-builtins
Add a script method to get its class icon
2023-08-29 12:41:03 +02:00
Igor
4b8163586b
Streamline the project import workflow 2023-08-29 09:50:03 +02:00
Danil Alexeev
8efa3cebd9
Editor: Signal Connection Dock improvements 2023-08-29 09:59:58 +03:00
Rémi Verschelde
ba1089689a
Merge pull request #80954 from bruvzg/sp_per_font
[Text Server] Store extra spacing of individual font variations.
2023-08-28 20:37:58 +02:00
Rémi Verschelde
9229ea121c
Merge pull request #77986 from KoBeWi/outside_the_texture,_only_death_awaits
Cleanup tiles outside the texture
2023-08-28 20:37:04 +02:00
Hugo Locurcio
15b31f0891
Initialize View Frame Time estimates to match 120 FPS
This prevents the estimation from being extremely high (close to 100,000 FPS)
until enough time has passed to display an accurate estimation.
2023-08-28 17:25:56 +02:00
kobewi
52d41cc555 Add option to cleanup tiles outside the texture 2023-08-28 15:15:45 +02:00
Rémi Verschelde
031f6deefb
Merge pull request #81068 from KoBeWi/is_scene_a_resource
Fix Quick Open not opening binary resources
2023-08-28 15:05:28 +02:00
Rémi Verschelde
8df1d90336
Merge pull request #81065 from YuriSizov/themable-chairs
Move default theme files to `scene/theme`
2023-08-28 15:05:04 +02:00
Rémi Verschelde
6636ccc3ea
Merge pull request #80943 from rakkarage/tileset-atlas-merge-rgb8
Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed
2023-08-28 15:04:16 +02:00
Rémi Verschelde
bcbe1fd5e0
Merge pull request #80754 from KoBeWi/TileSetImprovementsCollectionSource
Improve scene tiles workflow
2023-08-28 15:03:26 +02:00
Rémi Verschelde
a7ded904de
Merge pull request #79678 from thiagola92/auto_create_tilesets_for_multiple_atlas
Auto create tile for multiple atlases
2023-08-28 15:02:37 +02:00
Rémi Verschelde
120abd12c2
Merge pull request #79504 from Pingar5/master
Android: Add option to always use WiFi to connect to remote debug
2023-08-28 15:02:13 +02:00
Rémi Verschelde
2d42357464
Merge pull request #77316 from rakkarage/tileset_atlas_merge
Include animation frames in tile atlas merge.
2023-08-28 15:01:24 +02:00
Brennen Shaughnessy
40b08cb4b6
Android: Add option to always use WiFi to connect to remote debug 2023-08-28 13:13:36 +02:00
kobewi
cbd01043f0 Fix Quick Open not opening binary resources 2023-08-28 12:57:14 +02:00
Juan Linietsky
407b16ab00
Debug CanvasItem redraw
I wanted to add this tool for years and always forget. This command line option:

```
$ godot.exe -e --debug-canvas-item-redraw
```

Allows to see when a canvas item is redrawn. This helps find out if something
in the UI is refreshing in a way it should not. Examples as such:

* Signals causing more of the UI to redraw.
* Container resizing causes more UI elements to redraw.
* Something using a timer is redrawing all time time, which can go unnoticed.

To my surprise, the editor UI is redrawing very efficiently. There is some
weird stuff with the scene tabs, redrawing when the inspector changes but most
things for the most part are fine.
2023-08-28 12:53:56 +02:00
Rémi Verschelde
b3811a3e4f
Merge pull request #81061 from KoBeWi/remembering_things_is_so_meta
Properly remember custom text color in scene tree
2023-08-28 12:11:59 +02:00
Rémi Verschelde
00d1fafc77
Merge pull request #81022 from YuriSizov/editor-run-scripts-valid-and-toasty
Improve warnings when running scripts in the editor
2023-08-28 12:08:37 +02:00
Rémi Verschelde
b5b87b38ad
Merge pull request #81016 from YeldhamDev/took_me_a_while_to_discover_why_my_plugin_was_acting_weird
Keep `_export_begin()`'s `path` argument always consistent
2023-08-28 12:08:14 +02:00
Rémi Verschelde
8f07644867
Merge pull request #81011 from 21dhruvp/remove-meta-array
Added checks to remove meta arrays when creating and undoing guides
2023-08-28 12:07:03 +02:00
Rémi Verschelde
9a140f92be
Merge pull request #80999 from dsnopek/gdextension-editor-export-plugin
Fix overriding `_export_begin`, `_export_file` and `_export_end` from GDExtension
2023-08-28 12:06:39 +02:00
Rémi Verschelde
ea3c5f96e5
Merge pull request #80998 from MewPurPur/fix-my-little-oopsie-daisy
Move the new RegEx icons into their respective module
2023-08-28 12:06:16 +02:00
Rémi Verschelde
0655a7d7d3
Merge pull request #80517 from YuriSizov/tsa-randomly-picked-you-for-mandatory-inspection-i-think-not
Avoid unnecessary inspector updates when loading or switching scenes
2023-08-28 12:05:06 +02:00
Rémi Verschelde
2967084fe3
Merge pull request #80490 from YuriSizov/editor-scene-tabs-unchained
Extract editor scene tabs into their own component
2023-08-28 12:04:41 +02:00
Rémi Verschelde
33a3e12fe1
Merge pull request #80435 from YuriSizov/region-editor-quality-pass
Fix multiple usability issues in the texture region editor
2023-08-28 12:04:18 +02:00
kobewi
b88007b6c5 Properly remember custom text color in scene tree 2023-08-28 02:37:47 +02:00
Yuri Sizov
fd2ec47ec9 Move default theme files to scene/theme
This also puts the default theme icons into their own folder.
2023-08-28 00:23:38 +02:00
Michael Alexsander
cc859fda33
Keep _export_begin()'s path argument always consistent 2023-08-27 11:06:45 -03:00
thiagola92
c8a94ea3e8 Support auto create tiles when adding multiple atlases
TileSet add button support multiple files
Join most of the code of `_drop_data_fw()` and `_texture_file_selected()` in a new function `_load_texture_files()`
Rename `init_source` to `init_new_atlases`
2023-08-27 10:45:03 -03:00
Yuri Sizov
4b7d0c84a1 Fix multiple usability issues in the texture region editor
- Correctly display atlas textures when used by other objects.
- Make region handles easier to hit in ninepatchable objects.
- Correctly initialize and restore various visual properties.
- Improve code quality.
2023-08-27 14:25:49 +02:00
Yuri Sizov
2270f4917a Improve warnings when running scripts in the editor 2023-08-27 13:59:06 +02:00
Jean-Michel Bernard
a871679aac Add buttons to reorder inspector array items without dragging 2023-08-27 13:18:16 +02:00
21dhruvp
a7b2819540 Added checks to remove meta arrays when creating and undoing guides
Added checks to remove meta arrays when creating and undoing guides

Update editor/plugins/canvas_item_editor_plugin.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Update editor/plugins/canvas_item_editor_plugin.cpp

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-08-26 10:35:54 -04:00
Chia-Hsiang Cheng
41441765cd Avoid creating any useless undo action when dragging nodes in place 2023-08-26 22:00:36 +08:00
Yuri Sizov
6da4ad1662 Merge pull request #80968 from rakkarage/alternative-icon-scale
Call `add_child` after `set_rect` to fix size bug
2023-08-25 21:26:50 +02:00
Yuri Sizov
43f61836ad Merge pull request #80934 from philippesic/TileSet-Sep-Suffix
Add `px` suffix for TileSet `separation` property
2023-08-25 21:26:41 +02:00
Yuri Sizov
3c71214a70 Merge pull request #80914 from jsjtxietian/init-importer-default-correctly
Fix "Import Defaults" selector not being initialized incorrectly
2023-08-25 21:26:34 +02:00
jsjtxietian
f997feed75 Fix "Import Defaults" selector not being initialized incorrectly
In ImportDefaultsEditor, delete 'Select Importer';
when first call the function, last_selected should
be the first one, directly show the settings for
"Animation Library"
2023-08-26 00:24:30 +08:00
Pippo Pesic
0044217a7f Add px suffix to TileSet Separation value
Add px suffix to TileSet separation value
2023-08-25 08:58:11 -07:00
David Snopek
d09843c5ae Fix overriding _export_begin, _export_file and _export_end from GDExtension 2023-08-25 10:52:30 -05:00
MewPurPur
3f79c69d70 Move the new RegEx icons into their respective module 2023-08-25 18:08:45 +03:00
Rakka Rage
e93d2a04df Call add_child after set_rect to fix size bug 2023-08-25 10:10:47 -04:00
Yuri Sizov
6f90b23702 Merge pull request #80967 from aaronfranke/fix-enter-tree
Fix redundant enter tree notification in project export texture format
2023-08-25 14:59:04 +02:00
Yuri Sizov
6340fb3479 Merge pull request #80879 from jsjtxietian/keep-show-built-in-action-after-editor-restart
Save "Show Built-In Actions" state to project metadata
2023-08-25 14:58:44 +02:00
Yuri Sizov
e21ded8f8f Merge pull request #80450 from KoBeWi/settings_freeze,_no_more_changes
Deprecate `project_settings_changed` signal
2023-08-25 14:58:32 +02:00
ajreckof
f2758d8591 Fix paste value emptying an array on some right click location 2023-08-25 14:00:02 +02:00
Aaron Franke
4c51544d62
Fix redundant enter tree notification in project export texture format 2023-08-24 12:32:10 -05:00
Yuri Sizov
4cdbbfd071 Differentiate between core and editor-only singletons
This makes sure that running scenes in debug mode
(from the editor) does not crash Godot.
In export mode it should already work correctly, because
editor-only singletons are never registered in the first place.
2023-08-24 16:46:54 +02:00
Yuri Sizov
2c77f07aaa Add a script method to get its class icon
Co-authored-by: Danil Alexeev <danil@alexeev.xyz>
2023-08-24 13:05:41 +02:00
Yuri Sizov
6ab34005ad Extract editor scene tabs into their own component 2023-08-24 12:24:29 +02:00
bruvzg
5453503697
[Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
Rakka Rage
dc2aa69c46 Convert TileSet Atlas Merge input images to RGBA8 to match output, if needed 2023-08-23 19:26:57 -04:00
kobewi
2cd63a1ef0 Made hidden ProjectSettings groups more explicit 2023-08-23 22:43:43 +02:00
Rakka Rage
c17848f07d Include animation frames in tile atlas merge. 2023-08-23 16:19:24 -04:00
jsjtxietian
9c1278cae8 save show built-in actions button state 2023-08-22 16:36:48 +08:00
Rémi Verschelde
b195b0a7d4
Merge pull request #80865 from MewPurPur/cam-revert
Revert to the old Camera icons
2023-08-22 09:09:31 +02:00
MewPurPur
383c0116d7 Revert to the old Camera icons 2023-08-22 01:58:04 +03:00
Rémi Verschelde
cc01b28886
Merge pull request #80779 from Chaosus/cpuparticles_converter
Implement conversion from `CPUParticles` to `GPUParticles` (3D/2D)
2023-08-21 19:26:48 +02:00
Rémi Verschelde
38b8751f0d
Merge pull request #79891 from Calinou/plugin-editor-create-add-tooltips
Add tooltips to the plugin editor creation dialog
2023-08-21 19:26:24 +02:00
kobewi
dd7152a311 Unedit nodes early when closing scene tab 2023-08-21 14:12:26 +02:00
Rémi Verschelde
5c690c324e
Merge pull request #80811 from Nolkaloid/root_name_no-translate
Disable translation of root name on scene creation
2023-08-21 08:25:50 +02:00
Rémi Verschelde
23db0240a2
Merge pull request #78996 from Tetane/create_shader_node_popup
Fix "Create Shader Node" window position when visual shader editor is floating
2023-08-21 08:20:42 +02:00
Hugo Locurcio
aa8eb8fd3a
Add tooltips to the plugin editor creation dialog 2023-08-21 00:00:48 +02:00
Nolkaloid
4d13126e3b Disable translation of root name on scene creation 2023-08-20 11:23:38 +02:00
Rémi Verschelde
f2f8cfb783
Merge pull request #80771 from KoBeWi/simplify-inator
Simplify making texture nodes in 2D editor
2023-08-19 11:49:24 +02:00
Rémi Verschelde
1fbe3e12a6
Merge pull request #79213 from martinboue/show-only-compatible-nodes
Show only compatible nodes in 'Select a node' window
2023-08-19 11:48:56 +02:00
Yuri Roubinski
7fcb91f077 Implement conversion from CPUParticles to GPUParticles (3D/2D) 2023-08-19 11:58:57 +03:00
kobewi
0d8f8d7054 Simplify making texture nodes in 2D editor 2023-08-19 00:17:34 +02:00
Martin Boué
bf4cbd4129 Show only compatible nodes in 'Select a node' window
Fixes https://github.com/godotengine/godot-proposals/issues/7217
2023-08-18 18:52:00 +02:00
Rémi Verschelde
a2a1ed1aac
Merge pull request #80576 from KurtBliss/master
Fixed editor filesystem/import properties not being caught by the doctool.
2023-08-18 15:43:58 +02:00
kobewi
a88e3b8604 Improve scene tiles workflow 2023-08-18 13:55:30 +02:00
Rémi Verschelde
a017e9c698
Merge pull request #80119 from MewPurPur/svg-opacities-standardization
Optimize and fix up some SVGs
2023-08-18 09:30:23 +02:00
Rémi Verschelde
8c0e08481d
Merge pull request #80726 from dalexeev/editor-dont-cache-script-signal-descriptions
Editor: Don't cache script signal descriptions
2023-08-18 00:42:02 +02:00
Rémi Verschelde
1c0e2e532c
Merge pull request #80724 from MewPurPur/regex-icon
Add a RegEx icon
2023-08-18 00:41:39 +02:00
MewPurPur
c845242250 Add a RegEx icon 2023-08-17 19:41:56 +03:00
Danil Alexeev
fe5bcadb73
Editor: Don't cache script signal descriptions 2023-08-17 18:59:37 +03:00
Hugo Locurcio
81d603ad0e
Replace all flags with one value when holding Cmd in the layers editor
This behavior is inspired by Blender (except it's the other way
around to preserve the current default behavior).

Trying to enable a single enabled value with Cmd held will invert the
current flags, which makes enabling all flags but one faster.
2023-08-17 14:01:55 +02:00
Rémi Verschelde
281b7b9fdf
i18n: Sync translations with Weblate
(cherry picked from commit 7a86ffc034)
2023-08-17 13:24:10 +02:00
Rémi Verschelde
446dfdbd87
Merge pull request #80329 from xiongyaohua/path3d_tilt_gizmo
Add handles to control Curve3D tilt
2023-08-17 12:29:55 +02:00
Rémi Verschelde
d3b69c09ad
Merge pull request #78297 from aganm/contrast
Change light themes default contrast from -0.08 to -0.06
2023-08-17 12:27:53 +02:00
Rémi Verschelde
a42f95f9e2
Merge pull request #80689 from AThousandShips/gizmo_fix
Fix gizmo for `BoxShape3D`
2023-08-17 11:27:28 +02:00
Rémi Verschelde
c7356c795b
Merge pull request #80647 from jsjtxietian/CollisionShape3D-Shape-Size-handles-missing-when-Script-editor-floating
Fix 2D/3D viewport context switching issues when script editor is floating
2023-08-17 11:27:04 +02:00
Rémi Verschelde
417239ee6d
Merge pull request #80411 from dalexeev/editor-improve-signal-dock
Editor: Improve Signal Dock for script classes
2023-08-17 11:25:51 +02:00
Rémi Verschelde
8d0c9a4c87
Merge pull request #80317 from KoBeWi/taking_shortcuts
Ensure TileMap editor shortcuts are handled
2023-08-17 11:24:39 +02:00
Rémi Verschelde
678c89aa1a
Merge pull request #79382 from MewPurPur/better-prepare-scene-context-menu
Disable irrelevant scene tab context menu items
2023-08-17 11:20:57 +02:00
Rémi Verschelde
229af8e573
Merge pull request #78457 from aaronfranke/tex-format-fix-button
Add a button in the export dialog to fix missing texture formats
2023-08-17 11:20:08 +02:00
Rémi Verschelde
aa9e4b8ace
Merge pull request #77096 from spanzeri/skeleton-editor-cleanup-followup
Additional cleanup of bone editors
2023-08-17 11:19:44 +02:00
Rémi Verschelde
4b11bc2b34
Merge pull request #36493 from KoBeWi/echo_menus
Add option to allow echo events in menu shortcuts
2023-08-17 11:18:50 +02:00
Aaron Franke
ada360affe
Add a button in the export dialog to fix missing texture formats 2023-08-17 02:56:42 -05:00
Tomasz Chabora
3dd881b4e4 Add option to allow echo events in menu shortcuts 2023-08-16 16:59:17 +02:00
Rémi Verschelde
c081d1bd24
Merge pull request #78816 from kleonc/scene-tree-fix-drag-drop-to-parent-with-internal-nodes
Fix drag-dropping nodes to parent with internal nodes
2023-08-16 16:54:06 +02:00
A Thousand Ships
1dcb45a79c Fix gizmo for BoxShape3D 2023-08-16 16:49:04 +02:00
Danil Alexeev
1d5539cf77
Editor: Improve Signal Dock for script classes
* Add signal documentation for script classes.
* Use separate sections for script class inheritance.
2023-08-16 13:05:10 +03:00
Rémi Verschelde
90f90cbcb0
Merge pull request #80661 from MewPurPur/nav-agent-more-readable
Make the NavigationAgent3D icon more readable
2023-08-16 09:18:59 +02:00
Rémi Verschelde
d2f7f8de34
Merge pull request #80659 from MewPurPur/portable-texture-icon
Add PortableCompressedTexture2D icon
2023-08-16 09:18:35 +02:00
MewPurPur
82c45ed689 Make the NavigationAgent3D icon more readable 2023-08-15 18:31:02 +03:00
MewPurPur
8498078ee9 Add PortableCompressedTexture2D icon 2023-08-15 17:31:43 +03:00
jsjtxietian
fec0396cac fix CollisionShape3D Shape Size handle will missing
when Script editor floating
2023-08-15 12:41:20 +08:00
Rémi Verschelde
c78be12f42
Merge pull request #80610 from lawnjelly/fix_tilemap_editor_plugin_crash2
Fix `TileMapEditorPlugin` crash by storing tilemap ID instead of pointer
2023-08-14 15:31:19 +02:00
Rémi Verschelde
c2fde9cc1e
Merge pull request #80607 from lawnjelly/fix_tileset_signal_crash
Fix crash on exit where `TileSet` calls destroyed `TileSetAtlasSourceEditor`
2023-08-14 15:30:32 +02:00
Rémi Verschelde
6f1c205221
Merge pull request #80598 from MewPurPur/curve-xyz-texture-icon
Add CurveXYZTexture icon
2023-08-14 15:30:08 +02:00
lawnjelly
356fc728a4 Fix TileMapEditorPlugin crash by storing tilemap ID instead of pointer
Store the tilemap ObjectID instead of raw pointer, and check it is valid before access.
2023-08-14 12:56:52 +01:00
KurtBliss
300ecfab89 Fixed editor filesystem/import properties not being caught by the doctool
Defined glft editor properties in editor_settings
Added documentation descriptions and entries
2023-08-14 06:06:28 -04:00
MewPurPur
d009caef2b Add CurveXYZTexture icon 2023-08-14 12:44:33 +03:00
lawnjelly
fa7be20ee1 Fix crash on exit where TileSet calls destroyed TileSetAtlasSourceEditor
Removes signal from TileSet on destroying TileSetAtlasSourceEditor, to prevent TileSet calling function in destroyed TileSetAtlasSourceEditor.
2023-08-14 10:25:50 +01:00
MewPurPur
93318d2dd5 Optimize and fix up some SVGs 2023-08-13 17:48:17 +03:00
Yuri Sizov
2445414aa0 Avoid unnecessary inspector updates when loading or switching scenes
This should result in some noticeable performance improvements,
aside from fixing bugs due to conflicts in logic.
This also simplifies some related code identified while debugging.
2023-08-12 13:32:59 +02:00
Daniel Roberts
46e395abb1 Add handles to control Curve3D tilt 2023-08-12 14:55:38 +08:00
kobewi
6b7829b5ff Fix TileSet not disappearing on deselecting TileMap 2023-08-12 00:47:26 +02:00
Rémi Verschelde
a22cadfee9
Merge pull request #76778 from eugene87222/create-plugin-dialog
Apply new input validation method for Create Plugin dialog
2023-08-11 10:32:36 +02:00
Rémi Verschelde
48a447b5ee
Merge pull request #58389 from rcorre/blender-numeric
Implement numeric blender-style transforms.
2023-08-11 10:31:40 +02:00
Tyler
98bdf279d7 Fixes Scene corruption when child scene is renamed in another directory
Fixes #80379
2023-08-10 21:38:31 -04:00
Eugene Yang
8671dc4e03 Add validation pane to create plugin dialog 2023-08-10 22:08:51 +08:00
kobewi
fca3ab5564 Deprecate project_settings_changed signal 2023-08-10 15:07:25 +02:00
Rémi Verschelde
7df393312f
Merge pull request #80476 from bruvzg/log_print_rich_ml
[Editor Log] Clear rich print tags only after the last line.
2023-08-10 14:55:56 +02:00
Rémi Verschelde
b78d52b693
Merge pull request #75694 from YuriSizov/editor-hot-singleton-interfaces-in-your-area
Make `EditorInterface` accessible as a singleton
2023-08-10 14:53:35 +02:00
Ryan Roden-Corrent
d6a83a6bac
Implement numeric blender-style transforms.
This allows the user to input numbers during an "instant" (blender
style) transform operation to specify exactly how far to transform the
object. For example:

g2.5xx: Translate 2.5 units along the local x-axis
ry-45: Rotate -45 degrees around the y-axis
s.25Z: Scale by a factor of .25 on the xy plane

Some shared code between the traslate/rotate/scale branches of update_transform
was refactored into apply_transform so numeric transforms could reuse it.

This removes any "{X,Y,Z}-Axis Transform" messages. These prevented the
"Transforming: (x,y,z)" messages from showing, and the latter are more
useful, as they tell you the actual units.

This also rearranges finish_transform to clear _edit before updating
the axis rendering, so an axis doesn't remain highlighted.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2023-08-10 07:18:18 -04:00
bruvzg
9a6ecda591
[Editor Log] Clear rich print tags only after the last line. 2023-08-10 09:48:53 +03:00
kobewi
f02133a4a2 Fix TileSet with TileMap handling 2023-08-09 23:50:45 +02:00
Rémi Verschelde
1b132b7c23
Merge pull request #80377 from YuriSizov/importers-are-made-to-be-alone
Register and cleanup resource importer singletons in a predictable way
2023-08-09 17:46:33 +02:00
Rémi Verschelde
8375f73680
Merge pull request #80355 from jcovin293/issue/80347/fix-missing-ellipsis
Fix menu items that trigger secondary interface missing ellipsis
2023-08-09 17:46:26 +02:00
Yuri Sizov
951ea2415b Make EditorInterface accessible as a singleton
- EditorPlugin.get_editor_interface() is removed as redundant.
2023-08-09 16:01:31 +02:00
RandomWalrus13
585633ea85 Fix menu items that trigger secondary interface missing ellipsis
fix #80347
2023-08-09 08:30:35 -05:00
Rémi Verschelde
f6b9d445b5
Merge pull request #80285 from YeldhamDev/just_a_little_bit
Further separate icon from text of buttons in both editor and default themes
2023-08-09 15:20:25 +02:00
Rémi Verschelde
75c979e48d
Merge pull request #80256 from garychia/stack_var_debug
Avoid retrieving the object ID of a stack variable if it is nil
2023-08-09 15:20:20 +02:00
Rémi Verschelde
1163dac9e3
Merge pull request #80215 from clayjohn/HDR-2D
Add option to enable HDR rendering in 2D
2023-08-08 16:57:33 +02:00
Rémi Verschelde
60d6e14323
Merge pull request #78744 from KoBeWi/easy_peasy_routine_refactor_stuff
Standardize dialog input validation as a new class
2023-08-08 16:55:55 +02:00
Rémi Verschelde
14256a2395
Merge pull request #78468 from KoBeWi/enmarginalization
Fix ColorPicker margin theme property
2023-08-08 16:55:32 +02:00
kobewi
7f41403a6f Standardize dialog input validation as a new class 2023-08-08 16:14:35 +02:00
Hugo Locurcio
e21388d9f4
Readd a Camera3D icon gizmo to the 3D editor, renew Camera2D/3D icons
The lack of icon gizmo made it no longer possible to select Camera3D
nodes in the 3D viewport by clicking on them.

A new Camera3D icon gizmo was designed to be direction-neutral.
This avoids the issue that the previous icon gizmo had, since it was
always facing right.

This also adds icons for CameraAttributesPractical and CameraAttributesPhysical.
2023-08-08 16:04:53 +02:00
Michael Alexsander
98bdb56815
Further separate icon from text of buttons in both editor and default themes 2023-08-07 13:22:39 -03:00
Yuri Sizov
237515d0ed Register and cleanup resource importer singletons in a predictable way 2023-08-07 17:49:33 +02:00
Rémi Verschelde
169a28bd0f
Merge pull request #80362 from Calinou/string-use-unicode-compiletime
Use compile-time Unicode string conversion
2023-08-07 14:55:58 +02:00
Rémi Verschelde
c833827e50
Merge pull request #80102 from MewPurPur/undo-redo-icon
Add UndoRedo icon
2023-08-07 14:50:23 +02:00
Rémi Verschelde
5413b185f1
Merge pull request #79971 from Calinou/editor-filesystem-dock-expand-favorites
Uncollapse favorites by default in the editor FileSystem dock
2023-08-07 14:49:58 +02:00
Rémi Verschelde
016621f51d
Merge pull request #79467 from Calinou/editor-add-paste-as-sibling
Add a shortcut to paste nodes as sibling of the selected node
2023-08-07 14:47:27 +02:00
Rémi Verschelde
1ee571887e
Merge pull request #79431 from MewPurPur/non-placeholder-icons-for-placeholders
Add icons to some placeholder classes
2023-08-07 14:46:14 +02:00
Rémi Verschelde
524c8f03e7
Merge pull request #78903 from MewPurPur/forget-dice-we-have-texture-cubes-now
Add icons for 3D texture classes
2023-08-07 14:44:58 +02:00
Rémi Verschelde
02709d57ee
Merge pull request #78858 from MewPurPur/tweak-mesh-preview
Improve material and mesh preview buttons
2023-08-07 14:44:34 +02:00
Rémi Verschelde
bbfa74a991
Merge pull request #75137 from nongvantinh/implement-6320
Expose 'Reimport' on right-click context menu in the FileSystem panel
2023-08-07 14:43:44 +02:00
Rémi Verschelde
faaf27f284
Fix various typos with codespell
Also includes typo fixes from #79993, #80068, #80276, and #80303.

Co-authored-by: betalars <contact@betalars.de>
Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com>
Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com>
Co-authored-by: Raul Santos <raulsntos@gmail.com>
2023-08-07 13:09:47 +02:00
clayjohn
57eb762bae Add option to enable HDR rendering in 2D
This is needed to allow 2D to fully make use of 3D effects (e.g. glow), and can be used to substantially improve quality of 2D rendering at the cost of performance

Additionally, the 2D rendering pipeline is done in linear space (we skip linear_to_srgb conversion in 3D tonemapping) so the entire Viewport can be kept linear.
This is necessary for proper HDR screen support in the future.
2023-08-07 11:24:03 +02:00
Hugo Locurcio
e9f723006a
Use compile-time Unicode string conversion
Thanks to this syntax introduced in C++11, this reduces the amount of work
that needs to be performed at run-time while making the code more terse.
2023-08-07 10:38:16 +02:00
kobewi
181eecc51b Ensure TileMap editor shortcuts are handled 2023-08-06 03:38:03 +02:00
Yuri Sizov
dc6ea03101
Merge pull request #35555 from Calinou/add-version-project-setting
Add a "version" project setting and use it in new export presets
2023-08-04 21:01:15 +02:00
MewPurPur
3510b6e02c Add icons for 3D texture classes 2023-08-04 19:38:27 +03:00
MewPurPur
21739b89ef Add UndoRedo icon 2023-08-04 19:18:11 +03:00
MewPurPur
4b0ee492ae Disable irrelevant scene tab context menu items 2023-08-04 19:04:18 +03:00
Chia-Hsiang Cheng
8da66412f6 Avoid retrieving the object ID of a Nil variable 2023-08-04 22:38:43 +08:00
kobewi
05ab444357 Show valid types in SceneTreeDialog 2023-08-04 13:50:27 +02:00
Hugo Locurcio
ad4480bf2e
Add a "version" project setting and use it in new export presets
This makes it easy to retrieve the project version at runtime
for display purposes, while simplifying the export preset configuration.
You can now leave the version empty unless you need to override it on a per-preset
basis.

Since export presets save the values of default values to the `export_presets.cfg`
file, this change only affects export presets created after this commit was merged.
2023-08-04 10:29:33 +02:00
MewPurPur
50f4c298e6 Improve material and mesh preview buttons 2023-08-04 01:47:32 +03:00
Yuri Sizov
e4b8dc81b8 Merge pull request #78300 from ajreckof/fix-replace-node-destroying-Node-properties
Auto-update properties when replacing a node
2023-08-03 22:37:40 +02:00
ocean (they/them)
bf3af190c3 Increase vertical size of CurveEdit when Inspector widens
This should allow users to edit points in a less constrained space,
which feels like a UX improvement.

That said, changing minimum size according to current size might be a
hack that causes issues in certain situations.
2023-08-03 16:02:28 -04:00
ajreckof
4da9927faf Fix replace node deleting Node properties.
Update editor/scene_tree_dock.cpp

Co-Authored-By: Hugo Locurcio <hugo.locurcio@hugo.pro>
2023-08-03 18:38:24 +02:00
Rémi Verschelde
bf185e4f70
Merge pull request #79357 from raulsntos/dotnet/build-button
C#: Move build button to EditorRunBar
2023-08-03 18:33:41 +02:00
Rémi Verschelde
179e3d6ab9
Merge pull request #78292 from ajreckof/Fix-batch-rename-for-unique-name-and-empty-name-
Fix batch rename for unique name and empty name
2023-08-03 18:33:37 +02:00
ajreckof
4909396cfc Fix batch rename for unique name and empty name. 2023-08-03 18:26:58 +02:00
Raul Santos
03598062fd
C#: Move build button to EditorRunBar
- Move C# build button to `EditorRunBar`.
- Add C# build icon.
- Add shortcut macros to `GodotTools`.
- Move C# build shortcuts to C#.
2023-08-03 17:55:52 +02:00
Rémi Verschelde
8b6c867c81
Merge pull request #79280 from raulsntos/dotnet/better-push-error
C#: Improve `GD.PushError` and `GD.PushWarning`
2023-08-03 14:46:44 +02:00
Rémi Verschelde
4ed08409b0
Merge pull request #78108 from aaronfranke/variant-util-header
Make a header for VariantUtilityFunctions
2023-08-03 14:46:29 +02:00
kobewi
0a9a8c75fa Improve editing of box collision shapes 2023-08-03 14:09:10 +02:00
Yuri Sizov
79f6ac5cd5 Merge pull request #80161 from RandomShaper/avoid_crash_on_late_prints
Avoid crash on exiting due to late prints
2023-08-02 21:37:13 +02:00
Yuri Sizov
1886dee28f Merge pull request #79588 from magian1127/4.0Fix78052
Fix the error when clicking AnimationTree in the editor
2023-08-02 21:36:56 +02:00
Magian
0b3c073c9e Fix the error when clicking AnimationTree in the editor 2023-08-02 22:45:09 +08:00
Pedro J. Estébanez
b3a5e10f4a Avoid crash on exiting due to late prints 2023-08-02 13:38:58 +02:00
Rémi Verschelde
f823bccdf8
Merge pull request #80135 from KoBeWi/A_NumbER_Is_REQuIrEd
Ignore null "id" in tile source proxy
2023-08-02 12:22:48 +02:00
Rémi Verschelde
6adc25ec7b
Merge pull request #80129 from MewPurPur/shader-include-icon
Add ShaderInclude class icon
2023-08-02 12:22:25 +02:00
Rémi Verschelde
74ce33a6fe
Merge pull request #80113 from MewPurPur/performance-icon
Add an icon to the Performance object
2023-08-02 12:21:36 +02:00
Rémi Verschelde
65d80c36a8
Merge pull request #80103 from MewPurPur/access-icons
Add FileAccess and DirAccess icons
2023-08-02 12:21:12 +02:00
Rémi Verschelde
f8ead6d5b6
Merge pull request #80089 from AThousandShips/editor_settings_fix
Fix API hash related crash in `EditorSettings`
2023-08-02 12:20:47 +02:00
Rémi Verschelde
f5b2d7d393
Merge pull request #79774 from aaronfranke/scene-import-root-type-name
Improve overriding the root type or root name in the scene importer
2023-08-02 12:19:34 +02:00
Rémi Verschelde
93c69a2db6
Merge pull request #79756 from sfreed141/root-node-casing-fix
In Create New Scene dialog derive the default root node name based on `editor/naming/node_name_casing`
2023-08-02 12:19:11 +02:00
Rémi Verschelde
1cc377b4e0
Merge pull request #79650 from garychia/filters_section
Avoid duplicating the "Filters" section
2023-08-02 12:18:21 +02:00
Rémi Verschelde
2132638937
Merge pull request #79404 from raulsntos/dotnet/lines-open-in-external-editor
C#: Fix line in OpenInExternalEditor
2023-08-02 12:17:31 +02:00
Rémi Verschelde
2331eab917
Merge pull request #78675 from AThousandShips/template_fix
Fix indentation in script templates
2023-08-02 12:15:50 +02:00
kobewi
91328a86cd Ignore null "id" in tile source proxy 2023-08-01 22:52:16 +02:00
Aaron Franke
ba3fb66d71
Merge pull request #79907 from kdiduk/fix-advanced-scene-reimport-default-settings
Fix reimporting scene with default values selected
2023-08-01 15:30:07 -05:00
Aaron Franke
aa187d8d69
Improve overriding the root type or root name in the scene importer 2023-08-01 13:30:57 -05:00
Yuri Sizov
2d6e98d9c8 Merge pull request #79984 from KoBeWi/reverse_engineering_or_something_idk
Reverse condition for skipping directories
2023-08-01 20:03:51 +02:00
Yuri Sizov
de0a06ee80 Merge pull request #79258 from KoBeWi/drag_and_drop_anarchy
Assume root when dropping node to unassigned script
2023-08-01 20:03:38 +02:00
MewPurPur
c2bbd12ec1 Add ShaderInclude icon 2023-08-01 20:38:28 +03:00
kobewi
3f272f4910 Assume root when dropping node to unassigned script 2023-08-01 17:36:51 +02:00
Yuri Sizov
dfebfd10a8 Merge pull request #80058 from dalexeev/editor-fix-pot-gen-escaping
Editor: Fix escaping issues with POT generator
2023-08-01 17:36:07 +02:00
Yuri Sizov
2bd1d8ac28 Merge pull request #80107 from Spycemyster/reimport-path-message
Add path to missing import texture metadata to error message
2023-08-01 17:26:10 +02:00
Yuri Sizov
77785c340d Merge pull request #79852 from YeldhamDev/that_was_getting_annoying
Fix usability issues with scene tabs
2023-08-01 17:25:33 +02:00
Yuri Sizov
6731accf80 Merge pull request #79419 from KoBeWi/no_ID_for_you
Unexpose tile source ID
2023-08-01 17:25:11 +02:00
Yuri Sizov
266e195c0d Merge pull request #77533 from EMBYRDEV/phys-mat-import-option
Add more physics options to the Scene importer
2023-08-01 17:25:02 +02:00
MewPurPur
182db99a61 Add an icon to the Performancce object 2023-08-01 14:29:43 +03:00
Spencer Chang
57d9e3bb0e Added path to output of missing import texture metadata 2023-08-01 01:28:36 -07:00
MewPurPur
4fa123ca56 Add FileAccess and DirAccess icons 2023-08-01 09:54:34 +03:00
Yuri Sizov
0387defcbe Merge pull request #80037 from KoBeWi/we_are_reaching_levels_of_hacks_that_should_not_be_possible
Edit TileSet source on double click
2023-07-31 21:01:47 +02:00
Yuri Sizov
fbe7602bd3 Merge pull request #79945 from hvarga/fix-current-scene-update
Fix out of bounds access when updating current scene
2023-07-31 21:01:43 +02:00
Yuri Sizov
f15898161a Merge pull request #79917 from hvarga/fix-scene-tab-close
Fix crash when using "Close All Tabs"
2023-07-31 21:01:40 +02:00
Yuri Sizov
25f3f660c5 Merge pull request #79610 from aaronfranke/toggle-comment-slash
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K
2023-07-31 21:01:17 +02:00
Yuri Sizov
04e550acb6 Merge pull request #79358 from timothyqiu/indentation
Make indentation indicators translatable
2023-07-31 21:01:13 +02:00
Yuri Sizov
41efc7cb86 Merge pull request #78941 from dalexeev/gds-doc-comments-deprecated-and-experimental
GDScript: Add `@deprecated` and `@experimental` doc comment tags
2023-07-31 21:01:08 +02:00
Yuri Sizov
438d960592 Merge pull request #50674 from starry-abyss/master
Reorganize buttons in the project manager
2023-07-31 21:00:51 +02:00
kobewi
2a5db5949f Rework modifying tile source ID 2023-07-31 20:57:09 +02:00
Danil Alexeev
aac4a3611d
Editor: Fix escaping issues with POT generator 2023-07-31 21:06:16 +03:00
Ninni Pipping
e2a91309d0 Fix API hash related crash in EditorSettings 2023-07-31 16:35:41 +02:00
Michael Alexsander
3e539fff78
Fix some issues with scene tabs
- Stop scene creation on double-click when hovering the offset buttons.
- Fix the "Add Scene" button's position on RTL mode.
2023-07-30 01:13:36 -03:00
kobewi
d39b040114 Edit TileSet source on double click 2023-07-30 02:27:40 +02:00
Kirill Diduk
8b729e5b7e [bugfix] Fix reimporting scene withh default values selected
This commit fixes #78140

When the scene was re-imported with non-default values of some settings, re-importing it again using default values for those settings didn't have the effect.

The problem was that when handling the reimport, a wrong dictionary of the settings was used.
2023-07-28 16:53:33 +02:00
kobewi
f7238fb3f4 Reverse condition for skipping directories 2023-07-28 16:07:18 +02:00
Pedro J. Estébanez
abd0dcac88 Fix life cycle of ResourceImporterTexture better 2023-07-28 11:52:09 +02:00
Hugo Locurcio
075bd4b281
Uncollapse favorites by default in the editor FileSystem dock 2023-07-28 01:09:14 +02:00
Sam Freed
1ab7d1fcad Respect "editor/naming/node_name_casing" in Create New Scene dialog 2023-07-27 14:01:43 -07:00
Yuri Sizov
6c11fcd01a
Merge pull request #74717 from KoBeWi/tilesetmap_handler_plugin
Add separate editor plugin for TileMap and TileSet
2023-07-27 19:11:37 +02:00
Yuri Sizov
a0f572494e Merge pull request #79954 from RandomShaper/fix_res_imp_life
Fix life cycle of ResourceImporterTexture not tracked properly
2023-07-27 15:23:05 +02:00
Yuri Sizov
4aae6d3f23 Merge pull request #78944 from bgie/particle_mask
Add option to center image when loading particle emission mask
2023-07-27 15:22:58 +02:00
Yuri Sizov
b2e2973a67 Merge pull request #79928 from timothyqiu/fonts
Sort system font menu in Inspector
2023-07-27 15:22:47 +02:00
Yuri Sizov
6535b7475d Merge pull request #79908 from YeldhamDev/output_icon_space
Fix spacing between icon and "Output" button
2023-07-27 15:22:44 +02:00
Yuri Sizov
cd074f965f Merge pull request #79904 from KoBeWi/how_to_create_huge_tiles_using_a_simple_trick
Add help label about creating multiple/big tiles
2023-07-27 15:22:40 +02:00
Yuri Sizov
f29a0ad21c Merge pull request #79512 from KoBeWi/tile_expanded_universe
Add option to expand tile polygon editors
2023-07-27 15:22:36 +02:00
Pedro J. Estébanez
79c798fa0b Fix life cycle of ResourceImporterTexture not tracked properly 2023-07-27 13:54:30 +02:00
Hrvoje Varga
ba2850759d Fix current-scene update 2023-07-27 07:45:53 +02:00
Hrvoje Varga
51923fc528 Fix scene tab close 2023-07-27 07:38:40 +02:00
Yuri Sizov
41a7f6b380
Merge pull request #77537 from henriquelalves/feature/ei_save_all_scenes
Expose `save_all_scenes` method to EditorInterface
2023-07-26 23:43:08 +02:00
Michael Alexsander
2883a40aa1
Fix spacing between icon and "Output" button 2023-07-26 15:22:44 -03:00
Yuri Sizov
7fe88c7710 Merge pull request #79899 from KoBeWi/snapped_in_half
Improve atlas tile size dragging
2023-07-26 18:40:38 +02:00
Yuri Sizov
921776f0a5 Merge pull request #79203 from KoBeWi/visible_confusion
Don't grab theme icons for scripts
2023-07-26 18:39:52 +02:00
Yuri Sizov
bc0e646076 Merge pull request #78827 from Rindbee/fix-history-mismatch
Fix history mismatch
2023-07-26 18:39:32 +02:00
Yuri Sizov
92960b7a22 Merge pull request #78615 from RandomShaper/fix_doc_cache
Re-enable docs cache with fixes
2023-07-26 18:39:22 +02:00
Yuri Sizov
c4e582262f Merge pull request #76582 from reduz/threaded-debugger
Support threads in the script debugger
2023-07-26 18:39:16 +02:00
Yuri Sizov
1ad95f27ab Merge pull request #72664 from paddy-exe/additional-vs-nodes
Add more useful Visual Shader nodes
2023-07-26 18:39:12 +02:00
Yuri Sizov
3bc842b1b1 Merge pull request #54524 from Calinou/animation-editor-add-bypass-confirmation
Skip keyframe creation dialog when holding Shift in the animation editor
2023-07-26 18:39:01 +02:00
Haoyu Qiu
7de4fef959 Sort system font menu in Inspector 2023-07-26 23:56:57 +08:00
kobewi
ec24d50469 Add separate editor plugin for TileMap and TileSet 2023-07-26 17:23:41 +02:00
kobewi
ed6ad376c6 Automatically add path to built-in scripts 2023-07-26 14:52:45 +02:00
Juan Linietsky
5e512b705e Support threads in the script debugger
* This implementation adds threads on the side of the client (script debugger).
* Some functions of the debugger are optimized.
* The profile is also now thread safe using atomics.
* The editor can switch between multiple threads when debugging.

This PR adds threaded support for the script language debugger. Every thread has its own thread local data and it will connect to the debugger using multiple thread IDs.
This means that, now, the editor can receive multiple threads entering debug mode at the same time.
2023-07-26 12:06:45 +02:00
Patrick
65b0989f68 Additional Visual Shader Nodes
* RotationByAxis Visual Shader Node added
* WorldPositionFromDepth Visual Shader Node added
* ScreenNormalWorldSpace Visual Shader Node added
2023-07-26 00:39:12 +02:00
kobewi
df69073589 Add help label about creating multiple/big tiles 2023-07-25 22:55:29 +02:00
kobewi
965847b6e9 Improve atlas tile size dragging 2023-07-25 22:06:38 +02:00
Yuri Sizov
fc1b392e08 Merge pull request #79793 from trollodel/hide_make_floating_swm
Make the single window mode check more strict
2023-07-25 21:51:31 +02:00
Yuri Sizov
b495811108 Merge pull request #79736 from timothyqiu/bit
Fix typo in ResourceImporterImageFont
2023-07-25 21:51:24 +02:00
Yuri Sizov
4d4e5145b3 Merge pull request #79734 from somecrepe/master
Change the text for the flat button preview to follow pattern
2023-07-25 21:26:10 +02:00
Yuri Sizov
623787061a Merge pull request #79492 from dsnopek/gdextension-remove-editor-plugins-at-shutdown
Prevent GDExtensions from trying to remove editor plugins at shutdown
2023-07-25 21:25:58 +02:00
Igor
40eeeb9191 Project manager button rearrangement 2023-07-25 20:58:14 +04:00
Danil Alexeev
0d39121b3a
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame 2023-07-25 10:55:37 +03:00
Danil Alexeev
2f1e135573
SpriteFrames Editor: Fix FPS applied to two animations when switching animation 2023-07-25 10:51:35 +03:00
somecrepe
97fd8cbdb3 Change the text for the flat button preview to follow pattern
Changed text for flat button preview to follow pattern set by previous two.
2023-07-24 13:24:59 -07:00
Yuri Sizov
0cbdad47f9 Merge pull request #79837 from KoBeWi/CursorShaper
Fix `get_cursor_shape()` in tile atlas editor
2023-07-24 19:33:41 +02:00
Yuri Sizov
7dbbf2eef9 Merge pull request #79743 from TokageItLab/fix-name-list-asp
Make animation name list scroll to new animation in `SpriteEditor`
2023-07-24 19:33:23 +02:00
Yuri Sizov
dbff173597 Merge pull request #79676 from KoBeWi/MissingNo.Layers
Add placeholder items to TileSet layer list
2023-07-24 19:33:09 +02:00
Yuri Sizov
2f4c962929 Merge pull request #79434 from Calinou/2d-editor-allow-float-bone-size
Allow using floating-point bone sizes and outline widths in the 2D editor
2023-07-24 19:32:42 +02:00
Yuri Sizov
fb2c3ae8f7 Merge pull request #79308 from Geometror/refactor-graphedit
Clean up/refactor GraphEdit
2023-07-24 19:32:33 +02:00
Yuri Sizov
fefd02b411 Merge pull request #79175 from MewPurPur/curve-deselect
Deselect curve point with RMB on the empty space
2023-07-24 19:32:29 +02:00
Yuri Sizov
74d20fe17e Merge pull request #75216 from rune-scape/rune-dependancy-errors
Script editor (GDScript): Show depended script errors
2023-07-24 19:32:20 +02:00
Yuri Sizov
c3727c35d1 Merge pull request #74382 from RedMser/feature-profile-api
Allow changing feature profile via `EditorInterface`
2023-07-24 19:32:16 +02:00
Yuri Sizov
2bd904e3db Merge pull request #73196 from Vilcrow/fix-lookup-symbol
Fix jumping to function definition using `Ctrl+LMB` or the "Lookup Symbol" button
2023-07-24 19:32:12 +02:00
RedMser
8e0e81ced3 Allow changing feature profile via EditorInterface 2023-07-24 18:46:36 +02:00
Hendrik Brucker
a38fd09669 Clean up/refactor GraphEdit 2023-07-24 18:37:23 +02:00
Yuri Sizov
91258e52be
Merge pull request #79307 from Geometror/remove-graph-node-comment
Remove GraphNode's comment property and related functionality
2023-07-24 16:56:41 +02:00
rune-scape
83b01708b2 Script editor: Show depended script errors 2023-07-24 15:49:39 +02:00
kobewi
4408f82c93 Fix get_cursor_shape() in tile atlas editor 2023-07-23 23:06:23 +02:00
Stanislav Labzyuk
3462ecf2fb Fix undo methods for DELETE in EditorAutoloadSettings 2023-07-23 19:19:40 +02:00
kobewi
3dc47b0b84 Load project metadata file only when needed 2023-07-23 17:51:42 +02:00
Chia-Hsiang Cheng
e0cbbe4bbd Avoid duplicating the 'Filters' section 2023-07-23 12:14:28 +08:00
kobewi
f837624d75 Add option to expand tile polygon editors 2023-07-22 22:21:05 +02:00
trollodel
0f6327b59b Make the single window mode check more strict
Check the "interface/editor/single_window_mode" editor settings.
2023-07-22 17:24:47 +02:00
Yuri Sizov
7573a458be Merge pull request #79600 from Rindbee/fix-rename-animation-in-SpriteFramesEditor
Fix rename animation in SpriteFramesEditor
2023-07-21 17:54:47 +02:00
Yuri Sizov
ce92f052ec Merge pull request #79562 from KoBeWi/click_here_yo
Improve message when no tile is selected to edit
2023-07-21 17:54:43 +02:00
Yuri Sizov
547f88aa8c Merge pull request #79396 from Sauermann/fix-systeminfo-displayserver
Include display server type in "Copy System Info"
2023-07-21 17:54:30 +02:00
Yuri Sizov
5ae617627d Merge pull request #78519 from groud/add_white_rect_to_tilemap_selection
Add white rect to TileMap selection tool
2023-07-21 17:54:17 +02:00
Yuri Sizov
a3a7e1fa3b Merge pull request #51863 from Calinou/shader-editor-improve-templates
Improve shader editor templates to be more descriptive
2023-07-21 17:54:05 +02:00
Yuri Sizov
ea756c67a5 Merge pull request #79613 from MewPurPur/lighter-docs-icon
Make Help.svg not look disabled
2023-07-21 17:15:45 +02:00
Yuri Sizov
bf73ac2891 Merge pull request #73641 from KoBeWi/yolo_exiting
Don't save scripts when exiting editor
2023-07-21 17:15:14 +02:00
Silc Lizard (Tokage) Renew
99451b55c2 Make animation name list scroll to new animation in SpriteEditor
Co-authored-by: DarellLdark <darell.ldark@gmail.com>
2023-07-21 19:36:25 +09:00
Haoyu Qiu
80728bdf1e Fix typo in ResourceImporterImageFont 2023-07-21 09:50:29 +08:00
kobewi
51f92d1100 Don't grab theme icons for scripts 2023-07-21 02:13:07 +02:00
Hugo Locurcio
73c1b212f7
Improve headings for the export mode in the Export dialog
"Export as dedicated server" now uses a less confusing heading.
2023-07-20 23:27:40 +02:00
kobewi
bb64588796 Add placeholder items to TileSet layer list
Co-authored-by: MewPurPur <mew.pur.pur@abv.bg>
2023-07-20 14:31:00 +02:00
Yuri Roubinski
01101134f4 Make the dragging connections more user-friendly in visual shaders 2023-07-20 15:00:19 +03:00
Gilles Roudière
0fc56646f1 Add white rect to TileMap selection tool 2023-07-19 17:42:29 +02:00
Henrique Alves
8ef2e3d76c Add save_all_scenes method to Editor Interface
Update documentation

(squash) fix docs

(squash) Improve docs
2023-07-19 18:05:15 +03:00
Fredia Huya-Kouadio
d17811c814 Re-architect how Android plugins are packaged and handled at export time
The previous packaging format for Godot Android plugins consisted of the plugin's `gdap` config file accompanied by binaries defined in the `gdap` file.
This format is now deprecated (starting with Godot 4.2), and instead Godot Android plugins are now packaged as `EditorExportPlugin` plugins.

The `EditorExportPlugin` class has been updated with the following methods to provide the necessary set of functionality:
- `_supports_platform`: returns true if the plugin supports the given platform
- `_get_android_dependencies`: retrieve the set of android dependencies (e.g: `org.godot.example:my-plugin:0.0.0`) provided by the plugin
- `_get_android_dependencies_maven_repos`: retrieve the urls of the maven repos for the provided android dependencies
- `_get_android_libraries`: retrieve the local paths of the android libraries (AAR files) provided by the plugin
- `_get_android_manifest_activity_element_contents`: update the contents of the `<activity>` element in the generated Android manifest
- `_get_android_manifest_application_element_contents`: update the contents of the `<application>` element in the generated Android manifest
- `_get_android_manifest_element_contents`: update the contents of the `<manifest>` element in the generated Android manifest
2023-07-18 19:14:53 +02:00
MewPurPur
963a63708e Make Help.svg not look disabled 2023-07-18 16:23:47 +03:00
Yuri Sizov
9c39fe0690 Merge pull request #79609 from KoBeWi/one_dollar_mistake
Fix wrong Curve connection
2023-07-18 15:10:13 +02:00
kobewi
b883f32188 Check for unsaved changes when closing a scene 2023-07-18 14:27:56 +02:00
kobewi
000471ee56 Add unsaved status for script and shader editors 2023-07-18 14:18:36 +02:00
kobewi
6dc5dc3479 Add _get_unsaved_status() method to EditorPlugin 2023-07-18 14:18:36 +02:00
Aaron Franke
df3a1c18f1
Add Ctrl+/ as a shortcut to toggle comment in addition to Ctrl+K 2023-07-18 07:00:59 -05:00