Commit Graph

13920 Commits

Author SHA1 Message Date
Rémi Verschelde 4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Rémi Verschelde b36e6dc9e9
Merge pull request #83101 from joao-pedro-braz/fix-find-in-files-selection-offset
Fix highlight rect in "Whole search" being slightly offseted
2023-10-10 22:51:17 +02:00
Rémi Verschelde 87460bdc3c
Merge pull request #83094 from dalexeev/editor-fix-some-editor-help-tooltip-issues
Editor: Fix some issues with `EditorHelpTooltip`
2023-10-10 22:50:05 +02:00
Danil Alexeev f56532c577
Editor: Fix some issues with `EditorHelpTooltip` 2023-10-10 20:02:47 +03:00
Rémi Verschelde fc64dfedfb
Merge pull request #80817 from garychia/reparent_node
Avoid creating any useless undo action when dragging nodes in place
2023-10-10 15:06:06 +02:00
João Pedro Braz 7945ca9378 Fix highlight in Search panel being offseted
This commit fixes the match highlight in the Find In Files
result panel being slightly offseted.
2023-10-10 09:08:54 -03:00
Rémi Verschelde d80ce0c52a
Merge pull request #83093 from groud/fix_polygon_editor_undo_redo
Fixes undo/redo in tileset polygon editor
2023-10-10 12:34:46 +02:00
Gilles Roudière 8b608f3e6e Fixes undo/redo in tileset polygon editor 2023-10-10 10:33:05 +02:00
Rémi Verschelde fb6dc8c630
Merge pull request #83076 from SaracenOne/make_rest_fixer_tracks_imported
Set new SkeletonRestFixer tracks as imported
2023-10-10 09:12:42 +02:00
Saracen 96c3d0e73e Set new RestFixer tracks as imported 2023-10-09 23:43:37 +01:00
Rémi Verschelde 0e547bccd5
Merge pull request #83024 from SaracenOne/dependency_menu_fix
Fix dependency menu not showing up if scene failed to load.
2023-10-09 23:23:59 +02:00
Rémi Verschelde 98287fe607
Merge pull request #82075 from VedatGunel/fix-filesystem-rename-crash
Fix several issues with renaming in FileSystem dock
2023-10-09 23:22:47 +02:00
Rémi Verschelde 71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Vedat Gunel ecb9ecee54 Fix several issues with renaming in FileSystem dock 2023-10-09 23:18:27 +03:00
Rémi Verschelde a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde a7fcde4dab
Merge pull request #82940 from Calinou/editor-tooltip-metadata
Tweak metadata property tooltip to avoid being misleading
2023-10-09 15:34:45 +02:00
Rémi Verschelde 15d08c6adb
Merge pull request #82924 from SaracenOne/rmb_breakpoint_menu_fix
Fix right-click menu position for the debugger breakpoint tree.
2023-10-09 15:34:15 +02:00
Rémi Verschelde dffd320421
Merge pull request #82907 from mihe/gdext-failed-modal
Remove I/O error popup when failing to load/unload extension
2023-10-09 15:33:50 +02:00
Rémi Verschelde 7513ae6d06
Merge pull request #81812 from MewPurPur/zoomies
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
bruvzg 97bcd8a631 Add method to check if filesystem is case sensitive. 2023-10-09 11:00:15 +03:00
Saracen c0e872c05b Fix dependency menu not showing up if scene failed to load. 2023-10-09 03:15:46 +01:00
Danil Alexeev de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
A Thousand Ships f18aa00e85 Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable 2023-10-08 17:23:33 +02:00
Omar Shehata c25a2d832b Fix external editor hot reload 2023-10-07 22:14:54 -04:00
MewPurPur 44d782681c Incorporate min and max zoom limits into the EditorZoomWidget 2023-10-07 20:41:59 +03:00
RealMadvicius e7a35d1521 Fix crash when clicking on "Interpolation Mode" with nonexistent node path
issue reference [https://github.com/godotengine/godot/issues/81769]
#81769 AnimationPlayer: Editor crashes when clicking on "Interpolation Mode" with nonexistent node path

- adding a nullptr check on a Node pointer obtained from get_node(NodePath) in case it is null now we wont execute the next instruction

> ClassDB::get_property_info(nd->get_class(), prop, &prop_info);

Which then prevents the crash
2023-10-07 11:34:02 +02:00
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
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
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
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
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