Commit graph

15635 commits

Author SHA1 Message Date
Rémi Verschelde b44e9b0ce4
Merge pull request #92136 from Maran23/editor-feature-profile-improvements
Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited
2024-05-20 17:07:02 +02:00
Rémi Verschelde 15a888712d
Merge pull request #92116 from RadiantUwU/new_audio_icons
Change the AudioStreamPlayer icons to be clearer.
2024-05-20 17:06:58 +02:00
Rémi Verschelde fc9a8d1e91
Merge pull request #92108 from KoBeWi/stash_focus_for_later
Disable follow focus while updating inspector
2024-05-20 17:06:48 +02:00
Rémi Verschelde 45f6aaeb10
Merge pull request #91887 from minionprocyk/master
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Rémi Verschelde b5f8f103aa
Merge pull request #91291 from m4gr3d/fix_unreachable_export_button_android_editor
Fix export dialog sizing issue on small devices
2024-05-20 17:06:34 +02:00
Marius Hanl 7008111a3f Editor Feature Profile: Only rebuild selected TreeItem and all children when a property is edited 2024-05-20 11:32:41 +02:00
Haoyu Qiu becc98162e Fix error when duplicating visual shader node inside a Frame 2024-05-20 15:56:16 +08:00
Christian Kaiser 6c62392fb0 Fixed log rebuilding crashing when there's no messages 2024-05-19 14:55:43 -03:00
Radiant b20d7afa53 Change the AudioStreamPlayer icons to be more clear.
Co-authored-by: mieldepoche <mieldepoche@users.noreply.github.com>
2024-05-19 19:32:52 +03:00
Haoyu Qiu e5c321448e Create AudioStreamPlayer when dropping AudioStream
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Haoyu Qiu 55459dd74e Disable Clear All button when not filtering in Editor Settings 2024-05-19 19:29:48 +08:00
kobewi ba96affd6c Disable follow focus while updating inspector 2024-05-19 12:44:30 +02:00
Rémi Verschelde 6761923f4f
Merge pull request #90716 from dalexeev/gds-fix-export-annotation-issues
GDScript: Fix some export annotation issues
2024-05-19 11:21:00 +02:00
Fredia Huya-Kouadio 60a4cc2fbe Fix export dialog sizing issue on small devices
Fixes https://github.com/godotengine/godot/issues/73130

- Update the min height from `700` to `500` to match the editor's min height of `600`
- Wrap the sections of the `TabContainer` within a `ScrollContainer`. This prevents the export dialog from trying to resize to fit the tallest of those sections, and make them accessible on small screen devices.
2024-05-18 11:27:50 -07:00
Rémi Verschelde 85463fd5eb
Merge pull request #92042 from bruvzg/fix_edit_popup
Fix Tree and FileSystemList edit popup double events and ESC behavior.
2024-05-17 13:00:38 +02:00
Rémi Verschelde 375e5be340
Merge pull request #92032 from hakro/fix-oneclick-web-always-on
Disable remote debug button when there are no runnable presets
2024-05-17 11:14:15 +02:00
Rémi Verschelde e1f72c7ca6
Merge pull request #92012 from lyuma/rest_fixer_anim_scale
Skeleton rest fixer: Apply orthonormalized scale to anims
2024-05-17 11:14:11 +02:00
Rémi Verschelde b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde 9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde 096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Rémi Verschelde 54b2e5dc78
Merge pull request #90647 from Gaktan/master
Fix decimal and hex ranges not working with image fonts
2024-05-17 11:13:39 +02:00
bruvzg 7d4d63b807
Fix Tree and FileSystemList edit popup double events and ESC behavior. 2024-05-17 10:03:52 +03:00
Hakim 04aaa86039 Disable remote debug button when there are no runnable presets 2024-05-17 00:15:13 +02:00
Lyuma 25ddb3dd7f rest fixer: Apply orthonormalized scale to anims
Adjust the logic for position and scale animation tracks in the Apply Node Transforms case
To match how we adjust bone pose/rest, use basis.orthonormalized() for parentless bones.
2024-05-16 02:45:42 -07:00
Nodragem 8e0f0c6edb change default behaviour when drag-and-drop to 2d and 3d editor
correct formatting with clang-formatter

US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde d3c3a620eb
Merge pull request #91980 from KoBeWi/speedrunning_project_launch
Skip unnecessary updates to scene groups and scripts
2024-05-15 22:41:55 +02:00
Marius Hanl af6a4f300e Improve performance of the 'Create New Node' dialog
- Merged 3 for loops into 1 and save Vector allocation
- Use get_instance_base_type() or get_global_name() instead of get_language()->get_global_class_name() for performance considerations
- Use StringName where appropriate
2024-05-15 20:50:13 +02:00
Rémi Verschelde 9f4dbc6456
Merge pull request #91930 from godotengine/revert-90608-editor/enable-plugin-after-adding
Revert "Enable `EditorPlugin` added by modules and GDExtensions"
2024-05-15 20:21:32 +02:00
kobewi f3b0f7b9e2 Skip unnecessary updates to scene groups and scripts 2024-05-15 16:48:01 +02:00
Rémi Verschelde 805d619382
Merge pull request #91872 from aaronp64/edit_navigation_obstacle
Allow editing `NavigationObstacle2D` shape vertices
2024-05-15 12:09:42 +02:00
RedMser 5e79e02d0f Fix Control resizing wrongly after "change type" in editor 2024-05-14 21:51:35 +02:00
Gaktan cafa64cd27 Add option to open online doc for selected native class in script editor 2024-05-14 21:44:46 +02:00
Rémi Verschelde c0d2464d6b
Merge pull request #91939 from AThousandShips/pressed_sname
[Scene] Add `SceneStringNames::pressed`
2024-05-14 18:10:05 +02:00
Rémi Verschelde 380f63489f
Merge pull request #91728 from kitbdev/assimilate-split-container
Use `as_sortable_control()` in SplitContainer
2024-05-14 18:09:51 +02:00
A Thousand Ships ee79386f7b
[Scene] Add SceneStringNames::pressed 2024-05-14 15:51:28 +02:00
Rémi Verschelde 3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Rémi Verschelde 8bced2add5
Merge pull request #91931 from bruvzg/ed_em_bmp
[Editor] Add editor setting to control `disable_embedded_bitmaps` property of the editor fonts.
2024-05-14 12:07:24 +02:00
Rémi Verschelde 2f1aaca167
Merge pull request #91927 from timothyqiu/monitor-names
Make performance monitor names translatable
2024-05-14 12:07:14 +02:00
Rémi Verschelde 147e737328
Merge pull request #91923 from hakro/fix-completion-custom-icon
Show custom icons in autocompletion suggestions
2024-05-14 12:07:10 +02:00
Rémi Verschelde bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
Rémi Verschelde e58eb6a267
Merge pull request #91905 from groud/fix_patterns_being_needlessly_reorganized
Fix TileMap selection pattern being needlessly reorganized
2024-05-14 12:06:58 +02:00
Magian 8a92615ba0 Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/". 2024-05-14 15:32:47 +08:00
Danil Alexeev 5a5b18c2fc
Editor: Fix categories and tooltips in TileSet editor 2024-05-14 10:23:14 +03:00
bruvzg 151788f7e8
[Editor] Add editor setting to control "disable_embedded_bitmaps" property of the editor fonts. 2024-05-14 09:26:22 +03:00
Raul Santos a8e9dfdcf2
Revert "Enable EditorPlugin added by modules and GDExtensions" 2024-05-14 07:11:34 +02:00
Haoyu Qiu d33e79f299 Make performance monitor names translatable 2024-05-14 10:05:32 +08:00
Hakim c749affef3 Show custom icons in autocompletion suggestions 2024-05-14 00:12:28 +02:00
kobewi 413c11357d Use Core/Scene stringnames consistently 2024-05-13 23:41:07 +02:00
Yuri Rubinsky 56026e6c76 Fix errors on pressing autoplay in sprite frames editor 2024-05-13 22:39:05 +03:00
Gaktan 7b740124f0 Fixed decimal and hex ranges not working with image fonts 2024-05-13 21:18:13 +02:00
Rémi Verschelde 194c940e72
Merge pull request #91497 from magian1127/4.0fixShaderHighlighting
Fix shader highlighting the interruption in `color_region` caused by `disabled_branch_regions`.
2024-05-13 17:32:02 +02:00
Danil Alexeev 76b2d85c9f
GDScript: Fix some export annotation issues 2024-05-13 17:49:06 +03:00
Rémi Verschelde de196227e1
Merge pull request #91716 from dalexeev/editor-fix-help-bit-tooltip-and-progress-dialog-crash
Editor: Fix `EditorHelpBitTooltip` + `ProgressDialog` causes crash
2024-05-13 15:47:34 +02:00
ajreckof 114ab9dd04 fix infinite call loop on theme change.
Apply suggestions from code review
2024-05-13 14:39:02 +02:00
Gilles Roudière b0cd6edceb Fix TileMap selection pattern being needlessly reorganized 2024-05-13 14:34:33 +02:00
Rémi Verschelde 9cfbd6d75f
Merge pull request #91859 from aaronp64/scene_tabs_resized
Move "Add a new scene" button when Scene Tabs settings change
2024-05-13 12:05:53 +02:00
Rémi Verschelde ad4e9d25c2
Merge pull request #91829 from alesliehughes/editor_font_image
Editor: Ensure font image rows/columns are positive
2024-05-13 12:05:50 +02:00
Rémi Verschelde 0ebba3023e
Merge pull request #91435 from ajreckof/Fix-selecting-root-when-opening-scene-
Fix selecting root when opening scene.
2024-05-13 12:05:39 +02:00
Rémi Verschelde dcd6db8680
Merge pull request #90534 from Geometror/vs-reroute-node
[VisualShader] Add reroute node and improve port drawing
2024-05-13 12:05:25 +02:00
Hendrik Brucker 62776842df [VisualShader] Add reroute node and improve port drawing 2024-05-13 03:26:01 +02:00
Peter Procyk 82c2a74646 Use Option+Cmd+Left/Right for script editor history navigation on macOS 2024-05-12 19:55:27 -04:00
ajreckof 0ab5d37049 Fix selecting root when opening scene. 2024-05-12 21:46:21 +02:00
aaronp64 3b30c65880 Allow editing NavigationObstacle2D shape
Add _get_polygon and _set_polygon overrides for NavigationObstacle2DEditor, so AbstractPolygon2DEditor can access the vertex information.

Fixes #91795
2024-05-12 08:40:43 -04:00
aaronp64 245be6f9c1 Move "Add a new scene" button when Scene Tabs settings change
Updating "Display Close Button" setting (interface/scene_tabs/display_close_button) in Editor Settings changes the size of scene tabs, but the add button at the end of the tabs was not being moved until the next update, causing gaps/overlaps between the controls.  Adding call to _scene_tabs_resized() after getting the new settings to update the add button position.

Fixes #91850
2024-05-11 20:13:29 -04:00
Alistair Leslie-Hughes b973a01216 Editor: Disallow font image rows/columns to be zero or less
Fixes #91812
2024-05-12 07:53:06 +10:00
Paweł a5916deb13 (Un)Fold event categories by double click 2024-05-11 20:38:46 +02:00
kobewi a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +02:00
Rémi Verschelde 916ea002c1
Merge pull request #91821 from ckaiser/fix-browse-icons
Fix FileBrowse and FolderBrowse icon style fill not getting replaced
2024-05-11 12:38:40 +02:00
Rémi Verschelde 1c50f539c3
Merge pull request #91820 from timothyqiu/long-category
Fix long category name display in Inspector
2024-05-11 12:38:36 +02:00
Rémi Verschelde 768bd0e97d
Merge pull request #91793 from KoBeWi/a_theme_has_many_variations
Fallback to default theme for variation items
2024-05-11 12:38:24 +02:00
Rémi Verschelde 65f81e4c05
Merge pull request #91484 from kitbdev/open-stay-open
Keep docks menu open when opening dock
2024-05-11 12:38:18 +02:00
Rémi Verschelde ea552e1067
Merge pull request #91471 from aaronp64/filesystemdock_previews
Fix `FileSystemDock` thumbnails sometimes not displaying
2024-05-11 12:38:15 +02:00
Rémi Verschelde 0ffa6e2039
Merge pull request #65258 from RedMser/expaaaaand
Toggle control expand flag directly via top bar
2024-05-11 12:38:04 +02:00
Christian Kaiser d3160c3a90 Fix FileBrowse and FolderBrowse icon style fill not getting replaced
The color replacing code in the icon loader only works with the fill/stroke/stop-color properties and not with colors defined inside the style attribute. This changes the SVG files to use that instead.
2024-05-10 23:46:09 -03:00
Haoyu Qiu fe1bf76e6f Fix long category name display in Inspector 2024-05-11 09:51:32 +08:00
kit fa0ee87bbf Keep docks menu open when opening dock 2024-05-10 14:55:42 -04:00
RedMser 2af78a5e86 Toggle control expand flag directly via top bar 2024-05-10 17:04:14 +02:00
kobewi d7bedcdf43 Fallback to default theme for variation items 2024-05-10 13:16:29 +02:00
Rémi Verschelde 7724a50c28
Merge pull request #91779 from kitbdev/select-next-replace
Select next text to replace
2024-05-10 10:48:51 +02:00
Rémi Verschelde e11796384c
Merge pull request #91777 from KoBeWi/HISTORY_MISMATCH_PLEASE_INSERT_VALID_HISTORY
Fix Sprite2D editor history mismatch
2024-05-10 10:48:48 +02:00
Rémi Verschelde 9c388ce5d3
Merge pull request #91760 from groud/fix_PropertyListHelper_not_handling_array_size
Fix `PropertyListHelper::_get_property` returning a valid value even if an index is outside the array valid indices
2024-05-10 10:48:42 +02:00
Gilles Roudière 7705265477 Fix PropertyListHelper::_get_property returning a valid value even if an index is outside the array valid indices
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-05-10 10:46:04 +02:00
Rémi Verschelde 84f6a3de31
Merge pull request #91732 from Naputt1/fix-2d-editor-selection
Fix 2d editor selection persisting after application loses focus.
2024-05-10 09:56:00 +02:00
Rémi Verschelde 6fcdd24468
Merge pull request #91624 from Repiteo/scons/native-generation
SCons: Generate all scripts natively, implement wrapper function
2024-05-10 09:55:51 +02:00
Rémi Verschelde 6342ab2bc3
Merge pull request #88058 from rsubtil/fix_warning_icon_light_theme
Tweak error and warning colors and fix `StatusWarning` icon visibility on light themes
2024-05-10 09:55:35 +02:00
kit ef3cf7dc0f Select next text to replace 2024-05-09 18:00:09 -04:00
kobewi ea04fc7cde Fix Sprite2D editor history mismatch 2024-05-09 22:12:55 +02:00
naputt 9e196b7d8c fix 2d editor selection 2024-05-08 19:34:17 +01:00
kit d8acd8caa6 Use as_sortable_control() in SplitContainer 2024-05-08 13:17:34 -04:00
Hugo Locurcio e52c9cd9f1
Tweak appearance of 3D editor gizmo icons
- Use alpha scissor to resolve transparency sorting issues with gizmo
  icons relative to other transparent materials in the scene.
  This also makes gizmos visible in `screen_texture`, which means
  gizmos can now be seen through refractive materials.
  Lastly, this reduces the amount of artifacts visible around gizmo
  outlines (although they are still present at times).
- Make icons darker when not selected to be less intrusive
  (and easier to distinguish when selected).
2024-05-08 17:13:14 +02:00
Danil Alexeev 18fca3c294
Editor: Fix EditorHelpBitTooltip + ProgressDialog causes crash 2024-05-08 17:39:33 +03:00
Rémi Verschelde a9a1d0a162
Merge pull request #91619 from AThousandShips/find_improve
Replace `find` with `contains/has` where applicable
2024-05-08 14:35:44 +02:00
Rémi Verschelde 1d101329c9
Merge pull request #91611 from AThousandShips/string_containsn
[Core] Add case-insensitive `String::containsn`
2024-05-08 14:35:41 +02:00
Rémi Verschelde b8255b148f
Merge pull request #91555 from AlexanderFarkas/master
Remove error messages caused by Save on Focus feature
2024-05-08 14:35:37 +02:00
Rémi Verschelde 0fcd30180f
Merge pull request #91039 from timothyqiu/dock-icons
Allow setting editor dock tabs to icon only
2024-05-08 14:35:29 +02:00
A Thousand Ships b4c6cc7d82
[Core] Add case-insensitive String::containsn 2024-05-08 12:48:01 +02:00
AlexanderFarkas bc19b79776 Remove error messages caused by Save on Focus feature
Fixes #73765.
2024-05-08 13:42:45 +03:00
A Thousand Ships a0dbdcc3ab
Replace find with contains/has where applicable
* Replaces `find(...) != -1` with `contains` for `String`
* Replaces `find(...) == -1` with `!contains` for `String`
* Replaces `find(...) != -1` with `has` for containers
* Replaces `find(...) == -1` with `!has` for containers
2024-05-08 12:37:42 +02:00
kobewi 5c28814b39 Add as_sortable_control() to unify Container checks 2024-05-08 11:45:52 +02:00
Michael Alexsander 7bdae7559d
Improve string extraction of ETR POT file 2024-05-07 22:12:40 -03:00
Thaddeus Crews 34fb3f7730
SCons: Generate all scripts natively 2024-05-07 15:30:45 -05:00
kobewi 464a1e8672 Fix temporary Euler when editing quaternion 2024-05-07 22:16:02 +02:00
Rémi Verschelde ec78dde748
Merge pull request #91518 from dsnopek/doctool-gdextension-docs
Generate docs from GDExtensions using `--gdextension-docs` with `--doctool`
2024-05-07 21:52:53 +02:00
Rémi Verschelde 039aa28a60
Merge pull request #89574 from Riteo/scale-your-expectations-with-this-one
Wayland: Workaround API limitation in screen/UI scale logic
2024-05-07 21:52:44 +02:00
Riteo 1bb8199342 Wayland: Workaround API limitation in screen/UI scale logic
Mainly, this fixes auto UI scaling with _single-monitor_ fractional
setups (see the comment in `display_server_wayland.cpp` for more info).

This is the result of a bunch of current limitations, mainly the fact
that the UI scale is static (it's probed at startup) and the fact that
Wayland exposes fractional scales only at the window-level, by design.

The `screen_get_scale` special case should help in 99% of cases, while
the auto UI scale part will unfortunately only help with single-screen
situations, as multi-screen fractional scaling requires dynamic UI
scale changing.
2024-05-07 19:50:48 +02:00
David Snopek 2c5c3ae579 Generate docs from GDExtensions using --gdextension-docs with --doctool 2024-05-07 11:45:17 -05:00
Rémi Verschelde 55b8724bd5
Merge pull request #91560 from ydeltastar/retarget-axis-fix
Make retarget keep global rest of unmapped bones if there are no mapped bones on the child
2024-05-07 16:49:50 +02:00
Rémi Verschelde 25324545f2
Merge pull request #91538 from kitbdev/fix-inspector-exit-crash
Fix EditorInspector crash when exiting
2024-05-07 16:49:46 +02:00
Rémi Verschelde f9eb81e70e
Merge pull request #91338 from Calinou/find-in-files-increase-file-threshold
Increase threshold for files per directory in editor Find in Files
2024-05-07 16:49:43 +02:00
Rémi Verschelde 0494b37a0c
Merge pull request #91226 from Calinou/editor-gpuparticles3d-simplify-gizmo
Simplify the GPUParticles3D editor gizmo to improve readability
2024-05-07 16:49:38 +02:00
Rémi Verschelde 316c4d50d5
Merge pull request #91112 from RandomShaper/fix_double_confirm
Avoid double handling of rename in the file system dock
2024-05-07 16:49:34 +02:00
Rémi Verschelde 594498e718
Merge pull request #90966 from Calinou/debug-draw-use-runtime-colors
Use same colors for editor and running project for collision/path debug
2024-05-07 16:49:31 +02:00
Rémi Verschelde ba6f840970
Merge pull request #89248 from KoBeWi/store_no_store
Don't store values when loading them
2024-05-07 16:49:26 +02:00
Rémi Verschelde 68bd282c50
Merge pull request #81906 from the-sink/dominant-script-default
Set `open_dominant_script_on_scene_change` to off by default
2024-05-07 16:49:07 +02:00
yds ca58715c06 Keep global rest of unmapped bones if no mapped bone descendants 2024-05-07 09:38:39 -03:00
Pedro J. Estébanez eb2bd41fb8 Make handling of rename line-edit popups more robust 2024-05-07 14:29:35 +02:00
Rémi Verschelde 4db9103c2b
Merge pull request #91650 from akien-mga/codespell
Fix various typos with codespell
2024-05-07 13:49:03 +02:00
Rémi Verschelde 4eb614568d
Merge pull request #91641 from TokageItLab/silhouette-visibility
Make silhouette fixer option visibility dependent on availability
2024-05-07 13:49:00 +02:00
Rémi Verschelde e001bc75e8
i18n: Sync translations with Weblate 2024-05-07 11:52:38 +02:00
Rémi Verschelde 4b070e8031
Fix various typos with codespell
Using 2.2.7.dev217+g10c2abcf.

Had to add `colour` to the ignore list as we used it as an alias/keyword for the
documentation of color-related APIs.
Also ignore recommendations to change `thirdparty` to either `third-party` or
`third party`, which are correct but we use the former fairly consistently.
2024-05-07 10:08:42 +02:00
Rémi Verschelde 107fd30ae7
Merge pull request #91647 from jsjtxietian/fix-uint-hightlight
Make native shader source visualizer highlight uint suffix
2024-05-07 09:04:55 +02:00
Rémi Verschelde e63252b421
Merge pull request #90705 from AThousandShips/foreach_list
Reduce and prevent unnecessary random-access to `List`
2024-05-07 09:04:44 +02:00
jsjtxietian cff1111359 Make native shader source visualizer can highlight uint suffix 2024-05-07 14:18:48 +08:00
Silc Lizard (Tokage) Renew c7cb65f159 Make silhouette fixer option visibility dependent on availability 2024-05-07 09:55:16 +09:00
Rémi Verschelde 7cdad33311
Merge pull request #91621 from AThousandShips/localvector_has
[Core] Add `LocalVector::has` for convenience
2024-05-06 22:33:45 +02:00
A Thousand Ships 86de59d60a
[Core] Add LocalVector::has for convenience 2024-05-06 18:03:37 +02:00
kobewi c344e593d0 Add MultiNodeEdit support to MeshInstance3D editor 2024-05-06 17:40:16 +02:00
Rémi Verschelde d8aa2c65a9
Merge pull request #91598 from Frozenfire92/select-method-search-insensitive
Update `ConnectDialog::_filter_method_list` to be case insensitive for search string
2024-05-06 15:15:43 +02:00
Rémi Verschelde ecfcadbdca
Merge pull request #91522 from AThousandShips/anim_lib_improve
[Editor] Don't open `AnimationLibrary` as a scene
2024-05-06 15:15:12 +02:00
Rémi Verschelde a7c59fe192
Merge pull request #91331 from dsnopek/expose-editor-file-dialog-popup-function
Expose `EditorFileDialog::popup_file_dialog()` to GDScript and GDExtension
2024-05-06 15:15:01 +02:00
Rémi Verschelde 394941c8f8
Merge pull request #91281 from ckaiser/the-lightmode-struggle-continues
Fix disabled files in FileDialog using the wrong color
2024-05-06 15:14:56 +02:00
Rémi Verschelde 1069d7b7c6
Merge pull request #88343 from Riteo/warped-mouse-float
Handle warped mouse motion as floating point
2024-05-06 15:14:46 +02:00
Joel Kuntz 94e5bada97 Update ConnectDialog::_filter_method_list to be case insensitive for search string
Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-05-06 09:05:57 -03:00
Ricardo Subtil db61cf8368 Fix warning icon visibility on light themes 2024-05-05 15:23:35 +01:00
A Thousand Ships 955d5affa8
Reduce and prevent unnecessary random-access to List
Random-access access to `List` when iterating is `O(n^2)` (`O(n)` when
accessing a single element)

* Removed subscript operator, in favor of a more explicit `get`
* Added conversion from `Iterator` to `ConstIterator`
* Remade existing operations into other solutions when applicable
2024-05-04 16:08:55 +02:00
A Thousand Ships aff2e47bff
[C#] Unexpose GodotSharp
This class seems to have been exposed accidentally, and breaks
documentation on non-mono builds, requiring hacks
2024-05-04 14:09:42 +02:00
Rémi Verschelde e071f67c78
Merge pull request #91515 from AThousandShips/shortcut_fix
[Editor] Prevent some shortcut errors when generating docs
2024-05-04 11:52:35 +02:00
Rémi Verschelde 8efe58476d
Merge pull request #89461 from Calinou/3d-import-collision-default-trimesh
Default to trimesh for generated collision shapes in Advanced Import Settings
2024-05-04 11:52:11 +02:00
kit 55afb5b680 Fix EditorInspector crash when exiting 2024-05-03 16:27:59 -04:00
A Thousand Ships 62c9a99ee3
[Editor] Don't open AnimationLibrary as a scene 2024-05-03 18:27:27 +02:00
A Thousand Ships fd8a31b53d
[Editor] Prevent some shortcut errors when generating docs 2024-05-03 17:43:54 +02:00
jsjtxietian b851514b10 Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08:00
Rémi Verschelde 03e6fbb010
Merge pull request #85474 from fire/packedvector4array
Add `PackedVector4Array` Variant type
2024-05-03 12:25:26 +02:00
ajreckof cba9606611 Add colored margin in Inspector for arrays and dictionaries.
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-Authored-By: Tomek <kobewi4e@gmail.com>
2024-05-03 10:56:23 +02:00
Rémi Verschelde c968374caa
Merge pull request #91012 from TheSofox/editor-log-line-limit
Add line limit to Output Log in Editor
2024-05-03 10:31:42 +02:00
Magian c538b30021 Fix shader highlighting the interruption in color_region caused by disabled_branch_regions. 2024-05-03 12:49:39 +08:00
Aiden Storey b4c1634b52 Implement trim_final_newlines functionality 2024-05-02 22:57:34 -04:00
K. S. Ernest (iFire) Lee f9b488508c
Add PackedVector4Array Variant type
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-05-03 00:58:27 +02:00
aaronp64 831a085f67 Fix FileSystemDock thumbnails sometimes not displaying
There were (at least) three cases where thumbnails would not display, if they were generated while the FileSystemDock was not visible:
	- current_path == "Favorites", due to p_path not starting with "Favorites"
	- current_path == "res://", due to current_path having last "/" trimmed for comparison
	- current_path pointing to a selected file instead of folder, since it no longer matches p_path's base directory

This change removes the current_path and is_visible_in_tree checks when determining whether to update the file's icon.

Fixes #90801
Fixes #91432
2024-05-02 13:05:53 -04:00
Rémi Verschelde d680b9b9da
DAP: Fix typo in parsing of PackedVector3Array 2024-05-02 18:11:38 +02:00