Commit graph

15671 commits

Author SHA1 Message Date
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
Rémi Verschelde
a531452eec
Merge pull request #91384 from kitbdev/fix-spin-slider-margin
Fix editor spin slider RTL and margin
2024-05-02 17:31:36 +02:00
kobewi
6e9dc0ee27 Change update checker version source 2024-05-02 15:32:24 +02:00
kit
5fd23730eb Fix editor spin slider RTL and margin 2024-05-02 08:34:46 -04:00
Sofox
b823724e00 Add line limit to Editor Output Log 2024-05-02 13:28:59 +01:00
Rémi Verschelde
9cb3a16a8e
Merge pull request #91014 from DeeJayLSP/qoa-wav-playback
Add QOA (Quite OK Audio) as a WAV compression mode
2024-05-02 12:46:32 +02:00
Rémi Verschelde
928441052b
Merge pull request #90608 from raulsntos/editor/enable-plugin-after-adding
Enable `EditorPlugin` added by modules and GDExtensions
2024-05-02 12:46:29 +02:00
Rémi Verschelde
0b6c29f2d2
Merge pull request #89114 from AThousandShips/vec_elem_scalar
[Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-02 12:46:22 +02:00
Rémi Verschelde
a21824b293
Merge pull request #85295 from jsjtxietian/use-mutex-protect-max_index-in-ImportThreadData
Use `SafeNumeric` to protect `max_index` in ImportThreadData
2024-05-02 12:46:19 +02:00
A Thousand Ships
308dbb8c63
[Core] Add scalar versions of Vector* min/max/clamp/snap(ped)
Convenience for a number of cases operating on single values
2024-05-02 10:31:13 +02:00
DeeJayLSP
b9cbf2c96f Add QOA (Quite OK Audio) as a WAV compression mode 2024-05-01 19:05:14 -03:00
Rémi Verschelde
b297e97abf
Merge pull request #91396 from Daylily-Zeleen/daylily-zeleen/fix_disable_main_screen_plugin_crash
Fix crash when switching main screen from a disabled plugin main screen if code editor is floating.
2024-05-01 20:32:25 +02:00
Rémi Verschelde
26738ea20d
Merge pull request #91379 from KoBeWi/annihilate_them_duplications
Remove code duplication for adding global script class
2024-05-01 09:55:30 +02:00
Rémi Verschelde
de00cfbc01
Merge pull request #90892 from Chaosus/vs_fix_expression_port_expand
Prevent expanding output port in visual shader expression
2024-05-01 09:54:57 +02:00
Daylily-Zeleen
5c133f5432 Fix crash when switching main screen from a disabled plugin main screen if code editor is floating. 2024-05-01 15:05:56 +08:00
kobewi
0904378515 Remove code duplication for adding global script class 2024-05-01 00:26:42 +02:00
Rémi Verschelde
0af75593dd
Merge pull request #91236 from ckaiser/audio_bus_contrast
Improve Audio Bus button pressed state visibility
2024-04-30 17:03:30 +02:00
Rémi Verschelde
bf00e1efde
Merge pull request #91168 from kitbdev/docks-dont-edit-current-v2
Don't edit current when changing docks v2
2024-04-30 17:03:25 +02:00
Rémi Verschelde
e19b808a7a
Merge pull request #86978 from kitbdev/multicaret-overhaul
Overhaul multicaret editing and selection in TextEdit
2024-04-30 17:03:04 +02:00
Rémi Verschelde
d9bf750cbf
Merge pull request #84443 from KoBeWi/cookies_for_EditorResourcePicker
Cache allowed types in EditorResourcePicker
2024-04-30 17:02:58 +02:00
Haoyu Qiu
1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08:00
Hugo Locurcio
760d7cb231
Increase threshold for files per directory in editor Find in Files
This allows up to 100,000 files per folder to be searched
with Find in Files, as opposed to just 1,000.
2024-04-30 01:05:51 +02:00
Christian Kaiser
0c8ff887b5 Improve Audio Bus button pressed state visibility 2024-04-29 18:47:01 -03:00
David Snopek
8ce54d4632 Expose EditorFileDialog::popup_file_dialog() to GDScript and GDExtension 2024-04-29 14:49:32 -05:00
Rémi Verschelde
78f03f8e12
Merge pull request #91252 from timothyqiu/control-category
Only add warning label for Layout group in Control category
2024-04-29 10:10:35 +02:00
Rémi Verschelde
947f5a8741
Merge pull request #91247 from AThousandShips/callable_fix
Fix unsafe uses of `Callable.is_null()`
2024-04-29 10:10:32 +02:00
Rémi Verschelde
4b2245ffe1
Merge pull request #91238 from timothyqiu/interpolation-tooltip
Add text to icon-only interpolation OptionButton in blend space editor
2024-04-29 10:10:26 +02:00
Rémi Verschelde
6f14e19aa1
Merge pull request #91237 from TokageItLab/reset-intrp
Make adding track process to set interpolation type on creating RESET
2024-04-29 10:10:22 +02:00
Rémi Verschelde
dee1231ce6
Merge pull request #91220 from Repiteo/scons/colorize-warn-error
SCons: Colorize warnings/errors during generation
2024-04-29 10:10:16 +02:00
Rémi Verschelde
4f1d4ace09
Merge pull request #91214 from DeeJayLSP/patch-1
ResourceImporterWAV: Remove unnecessary var declaration
2024-04-29 10:10:09 +02:00
Rémi Verschelde
7cd6ea0f7e
Merge pull request #91183 from KoBeWi/small_stuff
Misc code cleanup
2024-04-29 10:09:57 +02:00
Rémi Verschelde
13fbd42c37
Merge pull request #90975 from aaronfranke/plugin-org
Organize existing code for editor plugins
2024-04-29 10:09:45 +02:00
Rémi Verschelde
9286ac7aa5
Merge pull request #90161 from magian1127/4.0sTip
Implement tooltips for shader uniform in the inspector.
2024-04-29 10:09:35 +02:00
Rémi Verschelde
c205f02165
Merge pull request #90050 from TokageItLab/add-tips-detection
Add tips detection to auto mapping in bone mapper
2024-04-29 10:09:32 +02:00
Thaddeus Crews
e0e8ce1fc0
SCons: Colorize warnings/errors during generation 2024-04-28 16:24:48 -05:00
Christian Kaiser
10e6be9df6 Fix disabled files in FileDialog using the wrong color 2024-04-28 13:09:28 -03:00
Aaron Franke
1bcbbe96c4
Organize existing code for editor plugins 2024-04-27 11:59:58 -07:00
Silc Lizard (Tokage) Renew
9c3a1c00c4 Add tips detection to bone mapper
Co-authored-by: Lyuma <xn.lyuma@gmail.com>
2024-04-28 02:24:41 +09:00
A Thousand Ships
31e7ee63f2
Fix unsafe uses of Callable.is_null()
`Callable.is_null()` is not equivalent to `!Callable.is_valid()` and
doesn't guarantee the call is valid.
2024-04-27 16:22:57 +02:00
Haoyu Qiu
bd716a693a Only add warning label for Layout group in Control category 2024-04-27 21:56:24 +08:00
Haoyu Qiu
8b2f95ffc1 Add text to icon-only interpolation OptionButton 2024-04-27 11:01:41 +08:00
Silc Lizard (Tokage) Renew
fc21161525 Make adding track process to set interpolation type on creating RESET 2024-04-27 11:39:30 +09:00
Hugo Locurcio
cb05b49c09
Simplify the GPUParticles3D editor gizmo to improve readability
- Remove handles as users should use the Generate Visibility AABB
  option whenever possible, so manual resizing isn't needed often.
  (For particles that move quickly and have Local Coords disabled,
  Extra Cull Margin can be increased in the GeometryInstance3D
  properties in the inspector.)
- Remove translucent filled part of the gizmo to be more consistent
  with GeometryInstance3D's recently introduced Custom AABB gizmo.
- Remove center marker as it can visually obstruct particles.

This paves the way for future emission shape gizmos which will
feature handles.
2024-04-26 22:29:26 +02:00
kit
773a473807 Overhaul multiple caret editing in TextEdit.
Use a multicaret edit to delay merging overlapping carets until the end.
2024-04-26 14:26:10 -04:00
kit
154f727c7a Overhaul TextEdit selection.
The caret is now a part of the selection.
2024-04-26 14:24:10 -04:00
Douglas Leão
9c5bff1e87
ResourceImporterWAV: remove unnecessary var declaration 2024-04-26 12:39:18 -03:00
kobewi
e62ca29da9 Add a way to invalidate preview cache 2024-04-26 16:57:45 +02:00
kobewi
914528180f Misc code cleanup 2024-04-26 15:30:21 +02:00
Rémi Verschelde
2338d9b3bc
Merge pull request #89747 from KoBeWi/icoNOT
Remove stray item icon from tabs menu
2024-04-26 15:13:31 +02:00
Rémi Verschelde
e7fa697808
Merge pull request #86668 from KoBeWi/most_shader_path
Automatically add path to built-in shaders
2024-04-26 15:13:26 +02:00
Rémi Verschelde
0fe0f1e992
Merge pull request #86605 from KoBeWi/update_all_of_the_tree_not
Don't update tree on deselect
2024-04-26 15:13:21 +02:00
Rémi Verschelde
bd598d5657
Merge pull request #85678 from KoBeWi/editor_walktime
Add separate feature tags for editor runtime
2024-04-26 15:13:16 +02:00
Rémi Verschelde
8063ea9e32
Merge pull request #84446 from KoBeWi/EditorYOLOPicker
Don't check resource type assigned in property
2024-04-26 15:13:06 +02:00
Rémi Verschelde
caca54af2c
Merge pull request #79918 from KoBeWi/what_is_this_thing
Add tooltips for tile source types
2024-04-26 15:13:01 +02:00
Rémi Verschelde
593e30841d
Merge pull request #79723 from KoBeWi/tfw_you_single-linedly_implement_a_proposal😎
Use existing `plugin.cfg`
2024-04-26 15:12:58 +02:00
Rémi Verschelde
69a94c5e27
Merge pull request #77069 from KoBeWi/turning_tooltips_into_music_player_BECAUSE_WHY_NOT
Add tooltip plugin for AudioStream
2024-04-26 15:12:54 +02:00
Rémi Verschelde
c1907f2d30
Merge pull request #75048 from KoBeWi/it's_ok_to_be_loaded
Allow loading custom ProjectSettings instance
2024-04-26 15:12:51 +02:00
Rémi Verschelde
7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
Rémi Verschelde
610a9bed13
Merge pull request #58375 from KoBeWi/temporary_pivot_is_temporary
Add temporary pivot for rotating multiple 2D nodes
2024-04-26 15:12:41 +02:00
kobewi
3ebb5b84a0 Add separate feature tags for editor runtime 2024-04-26 14:44:38 +02:00
kobewi
2cac59fbfa Add tooltips for tile source types 2024-04-26 14:38:45 +02:00
kobewi
7b3da2348b Use existing plugin.cfg 2024-04-26 14:38:13 +02:00
Magian
e3a7c751f2 Implement tooltips for shader uniform in the inspector.
using regular expressions
2024-04-26 17:48:11 +08:00
kobewi
4324d01c8e Allow loading custom ProjectSettings instance 2024-04-26 11:34:37 +02:00
Rémi Verschelde
0510191e49
Merge pull request #91164 from Calinou/shader-globals-editor-allow-compressed-texture-array-types
Allow compressed texture array and cubemap types in shader globals editor
2024-04-26 11:08:50 +02:00
Rémi Verschelde
ce539e559b
Merge pull request #91158 from Arnklit/show-in-filesystem-favorites
Add show in filesystem option for file favorites
2024-04-26 11:08:47 +02:00
Rémi Verschelde
d015a74a7b
Merge pull request #91126 from dsnopek/fix-gdextension-docs-on-reload
Fix GDExtension documentation disappearing after hot-reload
2024-04-26 11:08:41 +02:00
Rémi Verschelde
285c917c4a
Merge pull request #84711 from mihe/double-export-feature
Add `single`/`double` as export features automatically
2024-04-26 11:08:15 +02:00
kobewi
f8cd3bbc36 Add temporary pivot for rotating multiple 2D nodes 2024-04-26 11:03:47 +02:00
Kasper Frandsen
ca2005f658 Add show in filesystem option for file favorites 2024-04-26 09:02:53 +01:00
kobewi
3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +02:00
kit
eefd311456 Don't edit current when changing docks v2 2024-04-25 15:01:20 -04:00
Hugo Locurcio
73e4e7ef9c
Allow compressed texture array and cubemap types in shader globals editor 2024-04-25 17:36:31 +02:00
Rémi Verschelde
f859400c6b
Merge pull request #91078 from aaronp64/import_skip_crash
Fix errors/crashes related to skipped imports
2024-04-25 17:12:38 +02:00
Rémi Verschelde
5a14db7554
Merge pull request #86627 from ajreckof/add-static-body-creation-for-all-colision-shape-creations
Add static body creation equivalent for all collision shape sibling creations
2024-04-25 17:12:31 +02:00
aaronp64
e63d0983d0 Fix errors/crashes related to skipped imports
- Added check for "animation/fps" key before attempting to use it in EditorSceneFormatImporterBlend::import_scene, to give error instead of crashing

- Don't show "Advanced..." button if last import used "Keep File" or "Skip File"

- Don't try to call ResourceLoader::load on kept/skipped file when changing importer, which would give an error

Fixes #90324
2024-04-25 10:33:59 -04:00
ajreckof
b84f66c5df Rework MeshInstance3d collision shape creation into a subMenu and add all static body options
Apply suggestions from code review

Co-Authored-By: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-04-25 15:34:58 +02:00
David Snopek
52324ebbb3 Fix GDExtension documentation disappearing after hot-reload 2024-04-25 07:24:55 -05:00
Rémi Verschelde
4bca2d8bc6
Merge pull request #91113 from KoBeWi/acceptator
Register text enter for script base class
2024-04-24 18:55:30 +02:00
Rémi Verschelde
9f1ce63296
Merge pull request #91109 from kleonc/path3d-tilt-gizmo-ray-against-global-plane
Fix `Path3D` tilt gizmo raycasting against local plane
2024-04-24 18:55:25 +02:00
Rémi Verschelde
2da707ee35
Merge pull request #91090 from timothyqiu/disconnect
Fix error when moving FileSystem dock
2024-04-24 18:55:13 +02:00
kobewi
d68ab7c874 Register text enter for script base class 2024-04-24 17:38:09 +02:00
kleonc
0c8275b4f7 Fix Path3D tilt gizmo raycasting against local plane 2024-04-24 16:02:01 +02:00
Rémi Verschelde
a4fbe4c01f
Merge pull request #91081 from KoBeWi/closing_faster_than_light
Further speed up closing multiple scripts
2024-04-24 09:59:56 +02:00
Rémi Verschelde
8b7917f685
Merge pull request #91073 from KoBeWi/irritating_bounds
Remove `uv_editor_bounds` editor setting
2024-04-24 09:59:44 +02:00
Rémi Verschelde
17d9c52ad9
Merge pull request #90894 from lyuma/animation_step_30
Set animation step from importers. Increase default step from 10 to 30FPS
2024-04-24 09:59:21 +02:00
Rémi Verschelde
149023335d
Merge pull request #90817 from KoBeWi/there_is_one_pattern
Reuse single erase pattern in tile editor
2024-04-24 09:59:17 +02:00
Haoyu Qiu
308fb3a284 Fix error when moving FileSystem dock 2024-04-24 08:36:56 +08:00
kobewi
fd3ed998ce Further speed up closing multiple scripts 2024-04-23 23:33:01 +02:00
kobewi
6f7da2f5e4 Remove uv_editor_bounds editor setting 2024-04-23 19:13:22 +02:00
Rémi Verschelde
ba804f1be7
Merge pull request #90875 from KoBeWi/minor_problem
Use minor version in EditorSettings file name
2024-04-23 19:11:35 +02:00
Rémi Verschelde
2ad43045a3
Revert "Don't edit current when changing docks"
This reverts commit 55711b2ee8.
Fixes #91046.
2024-04-23 19:08:16 +02:00
kobewi
b8ee1366bc Hide update status label when no action is required 2024-04-22 21:36:22 +02:00
Rémi Verschelde
8ab5ab19c3
Merge pull request #90816 from kitbdev/dock-dont-edit-current
Don't edit current when changing docks
2024-04-22 12:53:00 +02:00
Rémi Verschelde
61d146c89e
Merge pull request #90748 from aaronfranke/fix-basis-scale-global
Fix incorrect name of internal Basis global scale getter
2024-04-22 12:52:52 +02:00
Rémi Verschelde
bffaa98b13
Merge pull request #90645 from Malcolmnixon/unified-xr-trackers
Rework XR Trackers to have a common ancestor
2024-04-22 12:52:07 +02:00
Rémi Verschelde
e500046e00
Merge pull request #90611 from m4gr3d/automatically_generate_debug_keystore
Automatically generate the Android debug keystore
2024-04-22 12:52:03 +02:00
Rémi Verschelde
fb3c3ace62
Merge pull request #90153 from rburing/clipper2_electric_boogaloo
Replace Clipper1 library by Clipper2 library
2024-04-22 12:51:46 +02:00
Rémi Verschelde
0cf1557045
Merge pull request #89780 from AThousandShips/import_fix
Fix import and saving related crashes
2024-04-22 12:51:37 +02:00
A Thousand Ships
49ae632b7d
Fix import and saving related crashes
* Don't add empty mesh to result when importing obj files
* Check for null resources in `ResourceSaver`
2024-04-22 12:13:19 +02:00
Hugo Locurcio
b1a2394b3b
Use same colors for editor and running project for collision/path debug
This harmonizes the appearance of collision shapes and paths between
the editor and running project, in both 2D and 3D.

This means that in 3D, paths are now green and shapes are now cyan
instead of light blue.
2024-04-21 00:58:08 +02:00
Ricardo Buring
8a28f816d0 Replace Clipper1 library by Clipper2 library 2024-04-20 13:37:59 +02:00
kit
55711b2ee8 Don't edit current when changing docks 2024-04-19 17:10:38 -04:00
Fredia Huya-Kouadio
ede88cf59d Fix loading GDExtension dependencies on Android 2024-04-19 07:55:08 -07:00
Rémi Verschelde
4a0160241f
Merge pull request #90886 from timothyqiu/lefty
Fix offset of node filter menu separator icon
2024-04-19 16:28:36 +02:00
Rémi Verschelde
1bd6fe81ea
Merge pull request #89538 from CrayolaEater/feature/custom-aabb-gizmos
Add Gizmo to display 3D custom AABB
2024-04-19 16:27:16 +02:00
Rémi Verschelde
55842a502c
Merge pull request #89058 from dalexeev/editor-help-bit-deprecated-experimental
Editor: Display deprecated/experimental messages in tooltips
2024-04-19 16:27:06 +02:00
Rémi Verschelde
3acd14d6bc
Merge pull request #88660 from MajorMcDoom/tokenized-file-search
Add tokenized search support to Quick Open dialog and FileSystem filter
2024-04-19 16:26:50 +02:00
Rémi Verschelde
42e6f9a9d8
Merge pull request #76140 from jeronimo-schreyer/add_secondary_light_to_3d_resource_importer
Added secondary light to 3D Advanced Import Settings
2024-04-19 16:26:42 +02:00
Lyuma
bb9674c1b1 Set animation step from importers. Increase default step from 10 to 30 FPS. 2024-04-19 03:02:20 -07:00
Yuri Rubinsky
56d843724e Prevent expanding output port in visual shader expression 2024-04-19 11:49:10 +03:00
Haoyu Qiu
6a406bf424 Fix offset of node filter menu separator icon 2024-04-19 13:33:45 +08:00
Malcolm Nixon
823ae7b3fa Rework XR Trackers to have a common ancestor. Allow creation of XRNode3D to drive node positions and visibility. 2024-04-18 20:04:01 -04:00
Bogdan Inculet
8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
kobewi
12f39befa9 Use minor version in EditorSettings file name 2024-04-19 00:13:06 +02:00
Danil Alexeev
a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03:00
kobewi
a00527e415 Fix folder scan replacing project list 2024-04-18 13:03:21 +02:00
Rémi Verschelde
1ebdacb4b0
Merge pull request #90835 from bruvzg/input_dup
Fix input map shortcuts incorrectly edited on cancel.
2024-04-18 12:25:02 +02:00
Rémi Verschelde
c1efd37e3b
Merge pull request #90829 from timothyqiu/remove-sub-color
Fix folder color not cleared for removed subfolders
2024-04-18 12:24:59 +02:00
Rémi Verschelde
f6ba06a8d7
Merge pull request #90815 from KoBeWi/2_objects_1_editor
Avoid double editing when clicking AnimatedSprite
2024-04-18 12:24:53 +02:00
Rémi Verschelde
1a89b60549
Merge pull request #90651 from Muller-Castro/folder-color
Fix folder colors not present in editor dir dialog
2024-04-18 12:24:30 +02:00
bruvzg
68e4ead9ad
Fix input map shortcuts incorrectly edited on cancel. 2024-04-18 08:22:39 +03:00
Zi Ye
fbfda46ffa Added tokenized search support to Quick Open dialog and FileSystem filter. 2024-04-17 21:12:55 -05:00
Haoyu Qiu
4efaeefaec Fix folder color not cleared for removed subfolders 2024-04-18 10:08:20 +08:00
Hugo Locurcio
1e8526659c
Add minimum width/height to dialog buttons
This makes buttons with short texts such as "OK" or "Close"
easier to click, especially on a touchscreen.

This is exposed to projects via `buttons_min_width` and `buttons_min_height`
theme items in AcceptDialog (and therefore ConfirmationDialog and FileDialog),
with the default values being 0 to preserve compatibility with existing projects.
2024-04-17 23:48:05 +02:00
kobewi
6b69ae8dd0 Reuse single erase pattern in tile editor 2024-04-17 20:43:00 +02:00
Rémi Verschelde
75e772c528
Merge pull request #90807 from KoBeWi/creating_this_thing_is_strictly_prohibited_in_13_states
Disable Create button for abstract classes
2024-04-17 20:26:43 +02:00
Rémi Verschelde
8293aac75c
Merge pull request #90787 from Chaosus/vs_fix_port_bug
Fix incorrect behavior at expanding an output port in visual shader node
2024-04-17 20:26:31 +02:00
Rémi Verschelde
5a502a6001
Merge pull request #90784 from KoBeWi/progressive_progress
Don't show scene group progress for 1 scene
2024-04-17 20:26:27 +02:00
Rémi Verschelde
ab24edca4f
Merge pull request #90680 from jsjtxietian/skip-.godot
Fix editor's file explorer will show directories that should be skipped
2024-04-17 20:26:24 +02:00
Rémi Verschelde
c50e80b481
Merge pull request #90653 from ajreckof/Fix-going-forward-backward-in-editor-selection-history-
Fix going forward backward in editor selection history.
2024-04-17 20:26:20 +02:00
kobewi
e36301e418 Avoid double editing when clicking AnimatedSprite 2024-04-17 19:51:42 +02:00
kobewi
c9407931b8 Disable Create button for abstract classes 2024-04-17 18:48:36 +02:00
Yuri Rubinsky
ac77219d2b Fix incorrect behavior at expanding an output port in visual shader node 2024-04-17 13:36:40 +03:00
kobewi
5883300b92 Don't show scene group progress for 1 scene 2024-04-17 11:23:54 +02:00
Rémi Verschelde
dc6802587e
Merge pull request #90720 from tbreese3/master
Allow closing scene tab preview using Escape
2024-04-17 10:58:52 +02:00
Rémi Verschelde
0473f291a7
Merge pull request #90709 from kleonc/tile-set-editor-atlas-with-separation-rect-drawing
Fix selection rect drawing in `TileSet` editor when create/remove tiles with separation
2024-04-17 10:58:49 +02:00
Rémi Verschelde
544ecc123a
Merge pull request #90616 from Rindbee/update-undo-redo-allowed-after-switching-scene-tab
Update undo redo allowed after switching scene tab
2024-04-17 10:58:42 +02:00
Rémi Verschelde
517d7cfd52
Merge pull request #90566 from Rindbee/make-the-load-scene-open-in-current-scene-tab-if-it-is-empty
Make the loading scene open in the current scene tab if the current scene is empty
2024-04-17 10:58:39 +02:00
Rémi Verschelde
dffa8b1712
Merge pull request #90446 from aaronp64/theme_override_tooltips
Fix `theme_override` tooltip caching
2024-04-17 10:58:36 +02:00
Rémi Verschelde
84457f66bb
Merge pull request #90189 from Naros/expose-goto-help
Expose `goto_help` for GDExtension on `ScriptEditor`
2024-04-17 10:58:32 +02:00
Chris Cranford
d8f1287bcf Expose goto_help for GDExtension on ScriptEditor 2024-04-16 19:32:33 -04:00
unknown
5ae6382105 Allow closing scene tab preview using Escape 2024-04-16 13:11:24 -07:00
kit
fefa93d5b8 Display godot version in project manager 2024-04-16 15:32:13 -04:00
Muller-Castro
c8ef9e6955 Fix folder colors not present in editor dir dialog 2024-04-16 16:21:49 -03:00
Jeronimo Schreyer
c3bc768d64
Make Advanced Import lights more like the mesh and material editors
Co-authored-by: Aaron Franke <arnfranke@yahoo.com>
2024-04-16 10:15:25 -07:00
风青山
b5157e0686
Make the loading scene open in the current scene tab if the current scene is empty 2024-04-16 23:04:25 +08:00
Rémi Verschelde
b9620bef17
Merge pull request #90722 from Calinou/import-scene-remove-unused-make-streamable
Remove unused Make Streamable option from scene import dialog
2024-04-16 13:30:54 +02:00
Aaron Franke
e83807ef85
Fix incorrect name of Basis global scale getter 2024-04-16 04:26:52 -07:00
Hugo Locurcio
611d2591d6
Remove unused Make Streamable option from scene import dialog 2024-04-16 00:07:32 +02:00
kobewi
1fce8d8a91 Add tooltip plugin for AudioStream 2024-04-15 22:14:21 +02:00
Hugo Locurcio
ed540964ee
Add an editor setting to import resources while unfocused
This can be used to speed up iteration by starting the import process
earlier when saving files in the project folder. This also allows getting
visual feedback on changes without having to click the editor window,
which is useful with multi-monitor setups.

The downside is that this increases idle CPU usage and may steal CPU
time from other applications when importing resources, so this is
disabled by default.
2024-04-15 19:40:04 +02:00
kleonc
2dfc4f4487 Fix TileSet editor create/remove tiles selection rect drawing 2024-04-15 19:03:19 +02:00
Rémi Verschelde
ce2a09f40e
Merge pull request #89739 from jsjtxietian/group-step
Add progress bar when updating scene groups
2024-04-15 18:14:42 +02:00
kobewi
49e69fabba Add automatic checking for engine updates 2024-04-15 15:08:27 +02:00
jsjtxietian
be0dc52718 Make "Pick Color"'s result less precise, keep only 3 decimals 2024-04-15 19:48:41 +08:00
Rémi Verschelde
e1dd1f49c0
Merge pull request #90571 from KoBeWi/you're_too_old,_upgrade_to_newer_format
Improve error when scene/resource is saved with newer format
2024-04-15 13:41:15 +02:00
Rémi Verschelde
5b681dbe7f
Merge pull request #84932 from timothyqiu/search-and-replace
Improve search/replace bar behavior
2024-04-15 13:41:05 +02:00
kobewi
445302a4b2 Improve error when scene/resource is saved with newer format 2024-04-15 12:08:35 +02:00
jsjtxietian
d06db652ef Fix editor's file explorer will show directories that should be skipped 2024-04-15 11:13:46 +08:00
Adam Scott
a0e644eab5
Rename Q&A to Forum in the Help top bar 2024-04-14 15:34:49 -04:00
Adam Scott
38d8abea12
Improve UX when saving newer files on disk 2024-04-14 11:36:07 -04:00
ajreckof
48a6476861 Fix going forward backward in editor selection history. 2024-04-14 17:21:11 +02:00
kobewi
64eff14a46 Prevent crash when dropping Resource that can't load 2024-04-14 15:26:53 +02:00
Rémi Verschelde
9b0b7afe28
Merge pull request #90035 from KoBeWi/SUPER_CALL_DEFERRED
Fix scroll to description
2024-04-14 14:39:07 +02:00
Aaron Franke
6dd4a68797
Reorganize some code to have 2D things grouped together 2024-04-13 02:56:50 -07:00
Rémi Verschelde
085601510b
Merge pull request #90606 from m4gr3d/fix_export_option_overrides_load_on_startup
Fix the logic to load export preset's options overrides
2024-04-13 11:30:54 +02:00
Rémi Verschelde
dae51097c5
Merge pull request #90583 from groud/fix_heap-use-after-free_error
Fix heap-use-after-free error in TileMapLayerEditor
2024-04-13 11:30:38 +02:00
Rémi Verschelde
c88993411d
Merge pull request #90536 from Rindbee/make-the-inherited-scene-root-node-unable-to-change-type
Make the inherited scene root node unable to change type
2024-04-13 11:30:25 +02:00
Rémi Verschelde
665a98b5f2
Merge pull request #90525 from KoBeWi/color_limbo
Fix folder colors not saving after project.godot is modifed externally
2024-04-13 11:30:21 +02:00
Rémi Verschelde
2a0fcc4c7b
Merge pull request #88926 from samsface/fix_animation_player_error_dialog
Fix animation player error dialog focus
2024-04-13 11:30:18 +02:00
Rémi Verschelde
d5fd611591
Merge pull request #75787 from Calinou/advanced-import-settings-tweak-environment
Tweak environment in the Advanced Import Settings dialog
2024-04-13 11:30:06 +02:00
风青山
29ef52c8ac
Update undo redo allowed after switching scene tab
It has different status in different tabs.
2024-04-13 16:53:51 +08:00
Fredia Huya-Kouadio
a8c9b59f3f Automatically generate the Android debug keystore
Automatically generate the Android debug keystore when the Java SDK path is specified.
2024-04-12 23:53:28 -07:00
Raul Santos
db763ae16e
Enable EditorPlugin added by modules and GDExtensions 2024-04-13 06:03:59 +02:00
Haoyu Qiu
2ef69642af Rearrange Open In menu items of FileSystem dock 2024-04-13 10:11:46 +08:00
Fredia Huya-Kouadio
26e01e41dc Fix the logic to load export preset's options overrides
Update the logic to load export preset's options overrides when an editor export plugin is added.
2024-04-12 19:08:59 -07:00
sam
943aeb4573 fix animation error player error focus 2024-04-12 22:36:30 +01:00
Gilles Roudière
bb6a1cb5a8 Fix heap-use-after-free error in TileMapLayerEditor 2024-04-12 17:56:28 +02:00
kobewi
a064ca16a8 Fix folder colors not saving after project.godot is modifed externally 2024-04-12 13:22:46 +02:00
Rémi Verschelde
30e71782af
Merge pull request #90559 from Rindbee/fix-crash-when-drag-scene-file-to-screen
Fix crash when dragging scene files to 2D/3D screen
2024-04-12 11:17:05 +02:00
Rémi Verschelde
5eadb88596
Merge pull request #90183 from stevenjt/fix-gizmo-on-top-material-option
Fix gizmo on top material option having no effect
2024-04-12 11:16:41 +02:00
Rémi Verschelde
a95893caef
Merge pull request #89754 from KoBeWi/bottom_feeder
Fix SpriteFrames editor visibility problems
2024-04-12 11:16:37 +02:00
Rémi Verschelde
42ab525aa2
Merge pull request #86144 from jsjtxietian/disable-mesh-compression-for-2d
Disable mesh compression if vertex `position.z` is always 0
2024-04-12 11:16:33 +02:00
风青山
4ff5326959
Fix crash when dragging scene files to 2D/3D screen
The crash usually occurs when there is no scene root node.
2024-04-12 13:10:02 +08:00
风青山
e825a6fb01
Make the inherited scene root node unable to change type
Make the inherited scene root behave like other children from the
inherited scene.
2024-04-11 22:29:18 +08:00
Rémi Verschelde
b2f425fe68
Merge pull request #90514 from jsjtxietian/connection-dialog
Fix connection dialog raise error when it was previously opened in another scene
2024-04-11 11:03:00 +02:00
Rémi Verschelde
17665ec6f2
Merge pull request #89808 from timothyqiu/ok-i-know
Don't error multiple times when trying to load missing default bus layout
2024-04-11 11:02:39 +02:00
jsjtxietian
4aa5c80c07 Fix connection dialog raise error when it was previously opened in another scene 2024-04-11 12:57:58 +08:00
Rémi Verschelde
b091162a90
Merge pull request #90488 from dalexeev/editor-fix-enum-detect-unnamed-classes
Editor: Fix enum detection for unnamed classes
2024-04-10 17:49:59 +02:00
Rémi Verschelde
7c23d32446
Merge pull request #90441 from Calinou/editor-move-build-profile-editor
Move engine build profile editor to Tools submenu
2024-04-10 17:49:39 +02:00
Rémi Verschelde
5bb22d87cb
Merge pull request #90378 from AeioMuch/inspect_hovered_node_while_dragging
Inspect hovered node while dragging
2024-04-10 17:49:34 +02:00
AeioMuch
0ba1adfaf9 Inspect hovered node while dragging 2024-04-10 17:15:13 +02:00
Danil Alexeev
fc6c1d6363
Editor: Fix enum detection for unnamed classes 2024-04-10 16:10:55 +03:00
Rémi Verschelde
1f0f81049f
Merge pull request #90476 from mihe/revert-pack-trimming
Revert pack trimming introduced by #82084
2024-04-10 14:22:48 +02:00
Rémi Verschelde
9c5e968bbc
Merge pull request #90432 from Rindbee/correctly-replace-scene-root-when-must_reload
Correctly replace scene root when `must_reload` in `EditorData::check_and_update_scene()`
2024-04-10 14:22:29 +02:00
Rémi Verschelde
7d7d30340f
Merge pull request #90421 from Krigu/add_option_copy_absolute_path_to_file_system_dock_popup
Add option to copy absolute path in file system dock popup
2024-04-10 14:22:26 +02:00
Rémi Verschelde
22299f83f1
Merge pull request #89704 from dalexeev/editor-help-fix-text-color
Editor: Fix text color in `EditorHelpHighlighter`
2024-04-10 14:21:51 +02:00
Rémi Verschelde
492c19732e
Merge pull request #86386 from timothyqiu/empty-layout-name
Strip edges of editor layout names
2024-04-10 14:21:37 +02:00
Mikael Hermansson
a057158d75 Revert pack trimming introduced by #82084 2024-04-10 12:00:04 +02:00
jsjtxietian
077e20cd51 Disable mesh compression if vertex position.z is always 0 2024-04-10 11:27:36 +08:00
Haoyu Qiu
bafbdc6cb2 Improve search/replace bar behavior
- When multiple lines are selected:
  - Find: Keep previous search instead of putting those lines in the
    find input.
  - Replace: Focus find input instead of replace input.
- Add placeholder and tooltip for LineEdits and icon buttons.
- Disable related buttons when the operation makes no sense.
2024-04-10 10:10:17 +08:00
ajreckof
248e5bfba2
Revert what needs to be reverted 2024-04-10 09:49:30 +08:00
风青山
41f6a683b6
Correctly replace scene root when must_reload in EditorData::check_and_update_scene()
We need to update the scene root in multiple singletons to ensure that
certain flags are correct. This is what `EditorNode::set_edited_scene()`
does.

Usually we use `replace_by` to complete the replacement of the scene
root. Call `EditorNode::set_edited_scene()` when the `replacing_by`
signal is emitted to set the new scene root. This is suitable when
using a single node to replace, which may be problematic if the
replacing node is a tree. Because during the call to `replace_by()`,
the new node and its child nodes will enter tree during `parent->
add_child(p_node)`, and later emits the `replacing_by` signal.

When the parent scene has to be reloaded because the child scene
changes and switches to the parent scene, there is no need to use
`replace_by()` since the scene's diffs are already saved.
2024-04-10 09:49:29 +08:00
Rémi Verschelde
0993df8be3
Merge pull request #90431 from mihe/import-flag
Add `--import` command-line flag
2024-04-09 22:29:44 +02:00
Rémi Verschelde
78fade3809
Merge pull request #89874 from jsjtxietian/path2d
Fix Path2D's add new point's UndoRedo bug
2024-04-09 22:25:18 +02:00
Christian Feuz
5c1d1ea620 Add option to copy absolute path in file system dock popup 2024-04-09 22:04:39 +02:00
aaronp64
050ca0c5ed Fix theme_override tooltip caching
theme_override properties have some special handling in EditorInspector.  When caching documentation info for properties, the theme_item_name value (used only for theme_overrides) was not being cached, so it would only be included on first use.  This meant that theme_override property tooltips would show up in the editor the first time a node was selected, but not again after selecting something else/reselecting.  Added theme_item_name to caching to fix this.

Fixes #90395
2024-04-09 14:31:44 -04:00
Hugo Locurcio
8e924bcb22
Move engine build profile editor to Tools submenu
- Rename it to Engine Compilation Configuration Editor. This makes
  it clearer that it requires compiling the engine to work ("build"
  can be understood as exporting a project or building C# solutions
  by some).
- Add it to the editor command palette and allow defining a keyboard
  shortcut for it, for consistency with other tools.
2024-04-09 19:08:31 +02:00
Mikael Hermansson
9d01793dff Add --import command-line flag 2024-04-09 15:18:59 +02:00
Rémi Verschelde
8c6e8c72a2
Merge pull request #90414 from jsjtxietian/assign-crash
Fix `_node_assign` will crash  when `base_node` is nullptr
2024-04-09 10:42:38 +02:00
Rémi Verschelde
dfcf803724
Merge pull request #90255 from Jabberdrake/bugfix-new
Fix 3d axes flickering in the negative direction when extremely zoomed out
2024-04-09 10:42:35 +02:00
Rémi Verschelde
dcf17cbb11
Merge pull request #89931 from timothyqiu/relax
Relax grid parameter constraints in texture region editor
2024-04-09 10:42:32 +02:00
Rémi Verschelde
3c4c79c65a
Merge pull request #89803 from timothyqiu/xfce4-terminal
Add necessary flags when opening directory with xfce4-terminal
2024-04-09 10:42:27 +02:00
Miguel Coelho
a53841021c
Fixes 3D axes flickering in the negative direction
When zooming out in the 3d node editor view, the negative half
of all 3d axes starts flickering upon moving the camera. To fix this,
the logic surrounding 3d transform "scaled" and "translated" calls has
been altered so as to account for negative distance values.

Fixes #89215.
2024-04-09 10:38:22 +02:00
jsjtxietian
7d4bdcf80a Fix _node_assign will crash when base_node is nullptr 2024-04-09 12:37:32 +08:00
Hugo Locurcio
72599858fc
Tweak environment in the Advanced Import Settings dialog
Use a gradient sky to improve visibility in shaded areas,
while also helping the user orient themselves. The bottom of the sky
is black, while the top of the sky is white.

This change also makes it so that the Default Clear Color project setting
no longer affects the Advanced Import Settings dialog.
2024-04-09 01:03:49 +02:00
Rémi Verschelde
d2c7f09353
Merge pull request #90387 from AThousandShips/console_wrap_fix
[Windows] Support all possible suffixes for console wrapper
2024-04-08 21:56:05 +02:00
Rémi Verschelde
5c5563f9c9
Merge pull request #90022 from YeldhamDev/debug_tree_fix
Fix debugger tree error on editor start
2024-04-08 18:42:34 +02:00
Rémi Verschelde
429bf0281c
Merge pull request #89810 from Geometror/fix-79417
[VisualShader] Remove invalid graph connections when ports are removed
2024-04-08 18:42:30 +02:00
A Thousand Ships
07c73063e3
[Windows] Support all possible suffixes for console wrapper 2024-04-08 16:42:29 +02:00
Hendrik Brucker
0b9b479ba7 [VisualShader] Remove invalid graph connections when ports are removed
Co-authored-by: EddieBreeg <eddiebreeg0@protonmail.com>
2024-04-08 15:31:27 +02:00
Rémi Verschelde
7fa4698475
Merge pull request #90317 from ajreckof/Fix-strange-visual-bug-with-camera-and-external-change-
Fix strange visual bug with camera and external change.
2024-04-08 14:04:45 +02:00
Rémi Verschelde
15b9e7cb2a
Merge pull request #89841 from timothyqiu/double-decker
Fix wrong values displayed after duplicating an audio bus
2024-04-08 14:04:35 +02:00
kobewi
398892ccc0 Allow skipping imported resource files from export 2024-04-08 12:26:24 +02:00
A Thousand Ships
23782b898b
Add further details on properties returning Packed*Array 2024-04-08 11:35:27 +02:00
Rémi Verschelde
f202ebb495
Merge pull request #90102 from themancalledjakob/fix-drag-drop-shadermaterial
Allow drag and dropping ShaderMaterial in 3D viewport
2024-04-08 11:20:59 +02:00
Rémi Verschelde
84af65d4ba
Merge pull request #89801 from timothyqiu/lost-group
Fix heap-use-after-free when converting scene group to global
2024-04-08 11:20:21 +02:00
Rémi Verschelde
bfccd57769
Merge pull request #89573 from timothyqiu/hop
Fix crash when columns are skipped in CSV translation
2024-04-08 11:20:09 +02:00
ajreckof
609559c074 Fix strange visual bug with camera and external change. 2024-04-07 03:49:43 +02:00
Rémi Verschelde
66dbe3591b
Merge pull request #90280 from TheSofox/duplicated-folder-reference-fix
Fix duplicated folder reference in Godot Editor after changing filename case
2024-04-06 13:06:57 +02:00
Rémi Verschelde
92afd2c417
Merge pull request #90278 from KoBeWi/self_dropping_resources
Prevent dropping Resource to the same resource picker
2024-04-06 13:06:53 +02:00
Rémi Verschelde
554c0af5d4
Merge pull request #90186 from Maran23/error-when-rename-move
Fix errors when renaming/moving/deleting global scripts
2024-04-06 13:06:32 +02:00
Rémi Verschelde
e6d0d0b391
Merge pull request #89406 from AeioMuch/drag_drop_array_nodes
Allow batch drag and drop in typed array of Node and NodePath.
2024-04-06 13:06:18 +02:00
AeioMuch
409c71bdfd Allow batch drag and drop in typed array of Node and NodePath. 2024-04-06 08:18:44 +02:00
Sofox
87b5a56ddf Fix duplicated folder reference in Godot Editor after changing filename case 2024-04-05 21:38:48 +01:00
kobewi
b9c78ba174 Prevent dropping Resource to the same resource picker 2024-04-05 22:26:29 +02:00
Marius Hanl
dda06a8209 Fix errors when renaming/moving/deleting global scripts
When renaming or moving global scripts, the following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
- Parser Error: Class 'xxx' hides a global script class.

When deleting scripts, errors appear when opening the 'Create Node Dialog' as the script cache still contains the removed global scripts. The following errors can appear:
- Attempt to open script 'xxx' resulted in error 'File not found'.
- Failed loading resource: xxx. Make sure resources have been imported by opening the project in the editor at least once.
editor/create_dialog.cpp:241 - Condition "scr.is_null()" is true.

All this errors can be fixed by correctly handling the cases. They involves removing the old path and adding the new one (if not deleted) to the ScriptServer. This is somewhat similar if the file is moved or deleted outside Godot and detected by the file watcher, but more specialized for this particular usecase, since we know the old and the new path / correctly know what the user just did.
2024-04-05 18:52:15 +02:00
Rémi Verschelde
655e93d584
Merge pull request #90266 from akien-mga/scenetreeeditor-fix-treeitem-crash
SceneTreeEditor: Fix crash when TreeItem is removed before callback
2024-04-05 17:23:03 +02:00
Rémi Verschelde
6b8daa498e
SceneTreeEditor: Fix crash when TreeItem is removed before callback
Fixes #90235.

Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-04-05 16:53:33 +02:00
ajreckof
866452c75e Fix crash on invalid values in EditorPropertyArray/Dict 2024-04-05 16:42:21 +02:00
Rémi Verschelde
4396fb48f8
Merge pull request #90062 from AlexOtsuka/fix-filesystemdock-drop
Fix FileSystemDock behavior when dropping an item in the current folder
2024-04-05 12:16:07 +02:00
Rémi Verschelde
b7e0b0ea0c
Merge pull request #89970 from AThousandShips/require_expose
[Animation] Expose `SkeletonProfile.set/is_required`
2024-04-05 12:16:04 +02:00
Rémi Verschelde
fe25b18432
Merge pull request #89861 from dalexeev/editor-help-fix-csharp-crash
Fix regression with C# build editor crash due to `EditorHelpHighlighter`
2024-04-05 12:15:57 +02:00
AlexOtsuka
0ccc34d351 Fix FileSystemDock behavior when dropping an item in the current folder 2024-04-04 20:19:29 +02:00
Silc Lizard (Tokage) Renew
04dd299cba Skeleton3D: Add SkeletonModifier / Deprecate Override / Separate PB 2024-04-05 01:28:26 +09:00
Rémi Verschelde
f6a78f83aa
Merge pull request #90207 from groud/fix_no_cached_rect
Fix "no cached rect" errors in TileMapLayer editor
2024-04-04 17:09:26 +02:00
Rémi Verschelde
4d7c87b7be
Merge pull request #90204 from groud/fix_highlighting_update_on_disable
Correctly update TileMapLayer highlighting when disabling it
2024-04-04 17:09:23 +02:00
Rémi Verschelde
d2bd818f46
Merge pull request #90080 from bruvzg/color_title_logo
[Project Manager] Replace title bar logo with color variant.
2024-04-04 17:09:20 +02:00
Gilles Roudière
c928273c6c Fixes "no cached rect" errors in TileMapLayer editor 2024-04-04 16:28:31 +02:00
Gilles Roudière
256a6713f2 Correctly update TileMapLayer highlighting when disabling it 2024-04-04 15:25:42 +02:00
Hendrik Brucker
a81561cbd9 Add GraphFrame and integrate it in VisualShader 2024-04-04 15:11:00 +02:00
Rémi Verschelde
70f6650404
Merge pull request #90078 from SirLich/project-tools-palette
Include 'Orphan Resource Explorer' and 'Upgrade Mesh Surfaces' in Command Palette.
2024-04-04 14:37:07 +02:00
Rémi Verschelde
046816e6b9
Merge pull request #90065 from lyuma/rest_fixer_scaled_position
Fix 2 bugs with scale of position tracks in rest fixer
2024-04-04 14:37:04 +02:00
Rémi Verschelde
96a75d99c4
Merge pull request #90064 from lyuma/remove_immutable_post
Apply "Remove Immutable Tracks" after post-import.
2024-04-04 14:37:01 +02:00
Rémi Verschelde
4329ccb6e6
Merge pull request #90019 from fire/avoid-bone-map-infinite-loop
Fixed loop condition in bone mapping
2024-04-04 14:36:47 +02:00
Rémi Verschelde
77a9cf0ce8
Merge pull request #90003 from AlexOtsuka/fix-animation-save-paths
Fix Set Animation Save Paths breaking on Windows
2024-04-04 14:36:44 +02:00
Rémi Verschelde
299d23aa08
Merge pull request #89987 from Calinou/editor-asset-library-rename-official-support-level
Rename Official support level to Featured in the editor asset library
2024-04-04 14:35:51 +02:00
Rémi Verschelde
8c935c8410
Merge pull request #89978 from zaevi/editor/disable_asset_title_autotr
Editor: Disable auto-translation of titles in `AssetLib`.
2024-04-04 14:35:47 +02:00
Rémi Verschelde
89109e8b01
Merge pull request #89974 from jsjtxietian/tab-close
Reset `tab_closing_menu_option` when cancelling closing editor
2024-04-04 14:35:41 +02:00
Rémi Verschelde
b77ac0a2b3
Merge pull request #89933 from jsjtxietian/path3d-remove
Support "clear points" function in Path3D topmenu bar
2024-04-04 14:35:27 +02:00
Rémi Verschelde
8516304b82
Merge pull request #89847 from GreenCrowDev/missing-bezier-handles
UX and stability improvements for `Path3D` node
2024-04-04 14:31:49 +02:00
Rémi Verschelde
c97885be7d
Merge pull request #89811 from timothyqiu/missing-i18n
Fix missing i18n for some editor strings
2024-04-04 14:31:43 +02:00
Rémi Verschelde
27dec32699
Merge pull request #89735 from bruvzg/ed_native_fd2
[Native File Dialog] Add support for using native dialogs in the editor.
2024-04-04 14:31:39 +02:00
Rémi Verschelde
7fa97f37fb
Merge pull request #89452 from Riteo/name-a-better-duo
SCons: Enable the experimental Ninja backend and minimize timestamp changes to generated code
2024-04-04 14:31:24 +02:00
Rémi Verschelde
1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
Expose TileMapLayer
2024-04-04 14:31:16 +02:00