Commit Graph

6039 Commits

Author SHA1 Message Date
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
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
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
Gilles Roudière b0cd6edceb Fix TileMap selection pattern being needlessly reorganized 2024-05-13 14:34:33 +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
Robert Yevdokimov 824d21b441 Disable viewport inputs when dragging and dropping into the viewport 2024-05-12 10:02:39 -04: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
kobewi a262d2d881 Add shorthand for using singleton string names 2024-05-11 18:53:08 +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 0ffa6e2039
Merge pull request #65258 from RedMser/expaaaaand
Toggle control expand flag directly via top bar
2024-05-11 12:38:04 +02: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 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 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
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
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
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 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
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
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 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
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
kobewi c344e593d0 Add MultiNodeEdit support to MeshInstance3D editor 2024-05-06 17:40:16 +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
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
jsjtxietian b851514b10 Fix uint's suffix is not highlighted in text shader editor 2024-05-03 21:45:53 +08: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
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
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
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
Haoyu Qiu 1e20612940 Allow setting editor dock tabs to icon only 2024-04-30 09:34:14 +08: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 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 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
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
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
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
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 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 7cb52a676f
Merge pull request #63515 from KoBeWi/script_jumper
Store line change in script navigation history
2024-04-26 15:12:47 +02:00
kobewi 2cac59fbfa Add tooltips for tile source types 2024-04-26 14:38:45 +02:00
Magian e3a7c751f2 Implement tooltips for shader uniform in the inspector.
using regular expressions
2024-04-26 17:48:11 +08:00
kobewi f8cd3bbc36 Add temporary pivot for rotating multiple 2D nodes 2024-04-26 11:03:47 +02:00
kobewi 3a1246c198 Store line change in script navigation history 2024-04-25 23:22:47 +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
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
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
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 fb3c3ace62
Merge pull request #90153 from rburing/clipper2_electric_boogaloo
Replace Clipper1 library by Clipper2 library
2024-04-22 12:51:46 +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
Fredia Huya-Kouadio ede88cf59d Fix loading GDExtension dependencies on Android 2024-04-19 07:55:08 -07: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
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
Bogdan Inculet 8caa1b8783 Add Gizmo to display 3D custom AABB 2024-04-19 02:31:30 +03:00
Danil Alexeev a714cb9f65
Editor: Display deprecated/experimental messages in tooltips 2024-04-18 14:32:04 +03: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
kobewi 6b69ae8dd0 Reuse single erase pattern in tile editor 2024-04-17 20:43:00 +02:00
kobewi e36301e418 Avoid double editing when clicking AnimatedSprite 2024-04-17 19:51:42 +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
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 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 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
风青山 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
kobewi 1fce8d8a91 Add tooltip plugin for AudioStream 2024-04-15 22:14:21 +02:00
kleonc 2dfc4f4487 Fix TileSet editor create/remove tiles selection rect drawing 2024-04-15 19:03:19 +02:00
jsjtxietian be0dc52718 Make "Pick Color"'s result less precise, keep only 3 decimals 2024-04-15 19:48:41 +08:00
Adam Scott 38d8abea12
Improve UX when saving newer files on disk 2024-04-14 11:36:07 -04:00
kobewi 64eff14a46 Prevent crash when dropping Resource that can't load 2024-04-14 15:26:53 +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 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 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
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
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
风青山 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
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
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
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
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
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 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 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
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
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 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 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 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 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 1dacd6a527
Merge pull request #89179 from groud/expose_tile_map_layer
Expose TileMapLayer
2024-04-04 14:31:16 +02:00
Rémi Verschelde b5369ee3b3
Merge pull request #89017 from kitbdev/add-close-docks
Allow docks to be closed and opened
2024-04-04 14:31:11 +02:00
Rémi Verschelde 2c65bf0d69
Merge pull request #88761 from eugene87222/fix-asset-lib-layout
Fix broken layout of asset library page
2024-04-04 14:30:58 +02:00
Rémi Verschelde e302fb2167
Merge pull request #85386 from RedMser/scene-tree-editor-improvements
Improve SceneTreeEditor usability
2024-04-04 14:30:38 +02:00
Eugene Yang c5cab60b90 Fix broken layout of asset library page 2024-04-04 11:39:47 +08:00
Steven Thompson 9b1a1d2813 Fix gizmo on top material option having no effect
Update get_material function in EditorNode3DGizmoPlugin so that it
enables the disable depth test flag on duplicate versions of the gizmo
materials if the flag is not already set and the gizmo is set to use the
'x-ray' visibility state.
2024-04-03 21:29:51 +01:00
Gilles Roudière 3cd4b2859c Expose TileMapLayer 2024-04-03 11:02:34 +02:00
themancalledjakob d90d5eb3c1 allow drag and dropping ShaderMaterial in 3D viewport
Fixes #90075
2024-04-01 15:52:22 +02:00
viksl df71600d2b Blender's rotation does allow wrapping the original implementation of this behaviour in Godot disabled it, this commit brings it in line with Blender's functionality. 2024-04-01 15:13:13 +02:00
RedMser 9cd30208d6 Improve SceneTreeEditor usability
- Mark contextually relevant node
- Remember/Clear selection as appropriate
- Scroll to marked/selected node
2024-03-31 21:35:10 +02:00
Haoyu Qiu 479b7afa8e Add context support for editor property name i18n 2024-03-31 18:40:14 +08:00
A Thousand Ships 334449df70
[Animation] Expose `SkeletonProfile.set/is_required` 2024-03-30 20:57:55 +01:00
kit 860bff926e Allow docks to be closed 2024-03-29 22:03:59 -04:00
K. S. Ernest (iFire) Lee 15f1a0fba3 Fixed loop condition in bone mapping
Corrected the for-loop condition in the auto_mapping_process function. Previously, it was checking if children.size() is non-zero, which resulted in an infinite loop
2024-03-29 07:22:17 -07:00
Hugo Locurcio 1e4c7c8a57
Rename Official support level to Featured in the editor asset library
This paves the way for integrating hand-picked high-quality assets
to be displayed in the project manager when accepting the
"you don't have any projects yet" dialog.
2024-03-28 18:40:32 +01:00
Zae 361f693adc Editor: Disable auto-translation of titles in AssetLib. 2024-03-28 20:39:43 +08:00
bruvzg 61f7145f43
[Native File Dialog] Add support for using native dialogs in the editor. 2024-03-28 11:53:03 +02:00
Rémi Verschelde 86415f0245
Merge pull request #89963 from timothyqiu/auto-translation
Fix unexpected auto-translation of more editor components
2024-03-28 10:47:42 +01:00
Haoyu Qiu f298aaa956 Fix unexpected auto-translation of more editor components 2024-03-28 10:50:57 +08:00
jsjtxietian 34eff85014 Support “clear points” function in Path3D editor 2024-03-27 12:40:30 +08:00
Haoyu Qiu 151d7b10e0 Relax grid parameter constraints in texture region editor 2024-03-27 11:56:28 +08:00
Alex Drozd fcb0b8d0bf Refactor check for overriden methods in inner classes 2024-03-26 22:14:57 +01:00
Rémi Verschelde 3fa6ec7285
Merge pull request #89901 from jsjtxietian/path3d
Fix Path3D picking working incorrectly when viewport is in half resolution
2024-03-26 13:45:50 +01:00
Rémi Verschelde 4dec783017
Merge pull request #89545 from brno32/override-gutter-icon-inner-class-method
Fix missing gutter icon for inner class method overrides
2024-03-26 13:45:18 +01:00
Rémi Verschelde 19a50127e5
Merge pull request #88690 from MajorMcDoom/color-picker-fix
Fix undo/redo behavior of ColorPicker and add ability to cancel/confirm color selection
2024-03-26 13:45:06 +01:00
Rémi Verschelde 198d0b6bc6
Merge pull request #86479 from YeldhamDev/you_arent_built-in,_sod_off!
Fix scene parser reading non-built-in scripts for POT generation
2024-03-26 13:44:56 +01:00
Rémi Verschelde bec4de9237
Merge pull request #86143 from YeldhamDev/ttr_here,_rtr_there
Stop using `RTR()` inside the "editor" folder
2024-03-26 13:44:47 +01:00
jsjtxietian 20f4a5d03a Fix path3d's pick works incorrectly when viewport is in half resolution 2024-03-26 17:24:41 +08:00
jsjtxietian 09a6b5a655 Fix Path2D's add new point's UndoRedo bug 2024-03-26 12:38:34 +08:00
Alex Drozd 1d93a1fbb8 Fix missing gutter icon for inner class method overrides 2024-03-25 22:39:33 +01:00
matricola787 5c83d14698 UX and stability improvements for Path3D node 2024-03-25 16:51:37 +01:00
Rémi Verschelde ad59b7a70a
Merge pull request #89837 from chrisl8/tooltip_updates_for_debug_menu
Extremely minor tooltip updates for Debug menu.
2024-03-25 11:18:46 +01:00
Rémi Verschelde c4aa1078fb
Merge pull request #88465 from AeioMuch/search_results_button
[Editor] Hide Search Results by default and show it on first search.
2024-03-25 11:18:35 +01:00
Zi Ye d827b34ea8 Fixed undo/redo behaviour of color picker and added ability to cancel/confirm color selection. 2024-03-24 15:12:11 -05:00
Danil Alexeev eab05558c4
Fix regression with C# build editor crash due to `EditorHelpHighlighter` 2024-03-24 21:26:18 +03:00
Rémi Verschelde 05372773e1
Merge pull request #89599 from timothyqiu/vegetate
Fix unexpected auto translation of editor `Tree` content
2024-03-23 21:15:39 -07:00
Christen Lofland f108149267
Extremely minor tooltip updates for Debug menu. 2024-03-23 21:48:01 -05:00
Rémi Verschelde 9293cedaa6
Merge pull request #89823 from YeldhamDev/variation,_not_notification
Remove pointless `_notification()` function in `EditorPropertyOTVariation`
2024-03-24 01:24:00 +01:00
Rémi Verschelde 1999b661d0
Merge pull request #89799 from timothyqiu/line-numbers
Translate "Line N" as a whole
2024-03-24 01:23:47 +01:00
Rémi Verschelde 391eaf2a7a
Merge pull request #89732 from azuloo/animation-player-pin-fix
Fix AnimationPlayer pin behavior
2024-03-24 01:23:04 +01:00
Rémi Verschelde cd4e4c0fcc
Merge pull request #89111 from AThousandShips/vec_use
Use `Vector*` component-wise `min/max/clamp` functions where applicable
2024-03-24 01:14:51 +01:00
Rémi Verschelde 33cca7c65c
Merge pull request #88997 from jsjtxietian/parallax
Disable lock and group buttons when selected item is not CanvasItem
2024-03-24 01:14:35 +01:00
Rémi Verschelde f0544ebba6
Merge pull request #87874 from AThousandShips/sort_fix
Fix sorting of files/dirs in dialogs
2024-03-24 01:13:12 +01:00
Rémi Verschelde f8bae10be6
Merge pull request #87171 from TokageItLab/retrieve-time-info-from-anim-tree
Rework AnimationNode process for retrieving the semantic time info
2024-03-24 01:12:42 +01:00
Michael Alexsander 9f56287d96
Remove pointless `_notification()` function in `EditorPropertyOTVariation` 2024-03-23 17:10:57 -03:00
Haoyu Qiu 5a687e9e2c Disable shader editor's undo/redo menu items when they do nothing 2024-03-23 21:23:24 +08:00
Haoyu Qiu 9dadeac658 Translate "Line N" as a whole 2024-03-23 18:39:01 +08:00
kobewi 969bfeae4c Fix SpriteFrames editor visibility problems 2024-03-21 16:35:22 +01:00
azuloo 5c6ca5fc09 Fix AnimationPlayer pin behavior 2024-03-21 08:42:33 +02:00
jsjtxietian 816812ee6c Disable lock and group buttons when selected item can't be locked or grouped 2024-03-21 13:02:34 +08:00
Silc Lizard (Tokage) Renew 6dd410854c Rework AnimationNode process for retrieving the semantic time info 2024-03-20 22:52:26 +09:00
A Thousand Ships 79ba22a73f
Use `Vector*` component-wise `min/max/clamp` functions where applicable 2024-03-20 13:47:42 +01:00
A Thousand Ships 2cbf469912
Fix sorting of files/dirs in dialogs
Sorts leading `_` before other characters except `.`.
2024-03-20 13:45:47 +01:00
VolTer de8b6f7a3c Add editor settings for autocompletion with NodePath and StringName 2024-03-19 17:23:54 +02:00
Haoyu Qiu 8cd1ebbd6d Fix unexpected auto translation of Tree content 2024-03-18 09:31:00 +08:00
AeioMuch 5cf6f3c779 Hide Search Results by default. Show it on first search and push it at the end. Add a close button to hide it back. Also switch to Script Editor if a searched line is clicked. 2024-03-16 20:42:05 +01:00
Rémi Verschelde 006f5bc11c
Merge pull request #89437 from jsjtxietian/help-label
Fix help label will be partly outside the view area at 150% editor scale
2024-03-13 18:41:50 +01:00
Rémi Verschelde 734bd3c8c4
Merge pull request #89434 from jsjtxietian/center-view
Fix center view button appears outside the  GenericTilePolygonEditor
2024-03-13 18:41:46 +01:00
jsjtxietian 856e071762 Fix help label will be partly outside the view area at 150% editor scale 2024-03-13 17:50:02 +08:00
jsjtxietian f59c147d1f Fix center view button appears outside the GenericTilePolygonEditor 2024-03-13 12:46:14 +08:00
Thaddeus Crews 3b3e2374c9
clang-tidy: Enforce `modernize-use-nullptr` 2024-03-12 10:59:53 -05:00
Hugo Locurcio 72002a77de
Use 3D editor gizmo helper for FogVolume to allow dragging individual faces 2024-03-09 18:03:01 +01:00
Rémi Verschelde e9ca51ce87
Merge pull request #89292 from Chaosus/vs_fix_crash
Fix possible crash when converting a node to other in visual shader
2024-03-09 00:52:35 +01:00
Rémi Verschelde 47941d49ac
Merge pull request #89286 from Kiisu-Master/fix-pot-generation
Fix packed scene translation parser missing strings.
2024-03-09 00:52:32 +01:00
Kiisu_Master 8446084a20 Fix packed scene translation parser missing strings. 2024-03-08 20:43:19 +02:00
Yuri Rubinsky d9292ea51e Fix possible crash when converting a node to other in visual shader 2024-03-08 21:28:05 +03:00
Rémi Verschelde a658621cc5
Merge pull request #89264 from ryevdokimov/don't-update-snap-every-scan
Move `snap_controls_to_pixels` from process to projects settings changed method
2024-03-08 13:09:46 +01:00
Rémi Verschelde 6db28c9fb7
Merge pull request #89204 from luevano/fix-cyclic-dep-on-drop
Fix wrong undo-redo action when dropping files containing circular dependencies
2024-03-08 13:09:37 +01:00
Rémi Verschelde 2c0797b257
Merge pull request #87161 from ryevdokimov/do-not-commit
Do not commit transforms and handles if no changes were made
2024-03-08 13:09:10 +01:00
Robert Yevdokimov f99de3f024 Move `snap_controls_to_pixels` from process to projects settings changed method 2024-03-07 16:21:23 -05:00
David Luevano Alvarado 71426d0f5c
Fix wrong undo-redo action when dropping files containing circular dependencies 2024-03-07 12:20:49 -06:00
kobewi 4e88fb87b6 Don't store values when loading them 2024-03-07 15:01:12 +01:00
Rémi Verschelde 26a6f810d2
Merge pull request #87886 from ryevdokimov/don't-use-physics-process
Do not use `NOTIFICATION_PHYSICS_PROCESS` for 2D Editor
2024-03-07 10:04:31 +01:00
Rémi Verschelde 9d8e267131
Merge pull request #87989 from ryevdokimov/fix-editor-tool-tooltips
Show modifier key functionality on all the editor tools
2024-03-07 00:23:49 +01:00
Rémi Verschelde 72a31722fd
Merge pull request #89132 from jsjtxietian/lock-update
Update lock and group button state when selection changed in CanvasItemEditor
2024-03-06 09:50:23 +01:00
jsjtxietian b047206619 Update lock and group button state when selection changed 2024-03-06 10:24:18 +08:00
Rémi Verschelde 1b2e0b32d7
Merge pull request #89200 from KoBeWi/e
Fix AssetLibrary not going online when clicking button
2024-03-05 23:44:49 +01:00
Rémi Verschelde 0975e2941c
Merge pull request #88413 from LeulMulugeta/dont_reset_select_frames
Remember frames when selecting `SpriteFrame` frames
2024-03-05 23:44:33 +01:00
Rémi Verschelde 4bb219321e
Merge pull request #88081 from Calinou/editor-add-bottom-panel-shortcuts
Add editor shortcuts to toggle bottom panel visibility
2024-03-05 23:44:21 +01:00
kobewi 6caa24b1b8 Fix AssetLibrary not going online when clicking button 2024-03-05 21:27:08 +01:00
Hugo Locurcio 8221e7546b
Add editor shortcuts to toggle bottom panel visibility
Default shortcuts use the first or second letter of each word.

This also adds a new shortcut to toggle the last opened bottom panel.
On editor startup, this defaults to the first panel in the list
(which is the Output panel).
2024-03-05 15:53:15 +01:00
Rémi Verschelde c3daa041e0
Merge pull request #89177 from luevano/match-89126-3D
Match #89126 for 3D: check for `Resource` type instead of extension
2024-03-05 14:55:32 +01:00
Rémi Verschelde 6399fae16d
Merge pull request #88951 from Geometror/vs-prop-ed-fixes
Make editing properties more intuitive in VisualShader
2024-03-05 14:55:21 +01:00
Leul Mulugeta effad7be0c Remember frames when selecting SpriteFrame frames 2024-03-05 16:50:06 +03:00
Hendrik Brucker d32e0f808c Make editing properties more intuitive in VisualShader 2024-03-05 13:27:33 +01:00
David Luevano Alvarado a918c7c5fe Match #89126 for 3D: check `Resource` type instead of extension 2024-03-05 06:08:35 -06:00
Rémi Verschelde c4a46e00f8
Merge pull request #89126 from luevano/fix-89093-followup
Fix editor crash when unsupported `Resource` is dropped in scene
2024-03-04 20:43:49 +01:00
Rémi Verschelde 4320d53a2b
Merge pull request #84907 from miv391/fix-gutter-error
Do not bother with line colors if `line_number_gutter` is not yet calculated
2024-03-04 20:43:30 +01:00
David Luevano Alvarado c0467aa1f9 Fix editor crash when unsupported `Resource` is dropped in scene 2024-03-04 10:06:05 -06:00
Rémi Verschelde 95085cdcdb
Merge pull request #89121 from KoBeWi/replace_node_type
Fix undo action names for node replacement
2024-03-04 13:34:35 +01:00
Rémi Verschelde 1a9c0ee5fe
Merge pull request #87391 from markdibarry/new_node_parallax_2d
Add new Parallax2D node
2024-03-04 13:33:09 +01:00
Rémi Verschelde 8eb08522b3
Merge pull request #85494 from Hobitus/Allow-multi-selection-of-frames-in-the-SpriteFrames-animation-editor
Add multi-selection for `SpriteFramesEditor`
2024-03-04 13:32:44 +01:00
markdibarry a62870956a Add new Parallax2D node 2024-03-03 15:46:40 -05:00
kobewi c1cce6bb69 Fix undo action names for node replacement 2024-03-03 19:09:25 +01:00
Mika Viskari 0fbc857e3f Do not call _validate_script if editor is not enabled 2024-03-01 19:48:48 +02:00
kobewi 24b210d1c8 Fix update_property() in particle material editor 2024-03-01 16:03:53 +01:00
Dominic Marier 8faba242a4 Added multi-selection for sprite_frame_editor
use multi-selection for copy/paste
move up or down
frame duration set while multi-selected
2024-02-29 20:01:00 -05:00
Rémi Verschelde c84188b694
Merge pull request #88980 from Calinou/visualshader-remainder-add-percent-sign
Add percent (`%`) sign to Remainder node name in visual shaders
2024-02-29 13:55:01 +01:00
Rémi Verschelde 16bdd83ea4
Merge pull request #86705 from KoBeWi/resourception
Improve saving of built-in resources
2024-02-29 13:53:44 +01:00
Hugo Locurcio 07c4baded7 Add percent (`%`) sign to Remainder node name in visual shaders
This makes the node easier to search in the Create New Node dialog.
2024-02-28 20:39:12 +01:00
smix8 10e8f3698b Auto-bake edited NavigationPolygons in the Editor on a timer
Auto-bakes edited NavigationPolygons in the Editor on a timer.
2024-02-27 20:51:38 +01:00
Michael Alexsander c7fb8579fe
Stop using `RTR()` inside the "editor" folder 2024-02-27 16:03:28 -03:00
Rémi Verschelde 8f3e2a6113
Merge pull request #88912 from AThousandShips/tile_drag_fix
[TileSet] Fix crash when deleting dragged polygon point
2024-02-27 16:37:10 +01:00
Rémi Verschelde 21e3b2111e
Merge pull request #88862 from smix8/split_physics_classes
Split monolithic physics class files
2024-02-27 16:37:07 +01:00
A Thousand Ships fe203d7003
Prevent threading problems in `TileMap` 2024-02-27 15:38:25 +01:00
A Thousand Ships 0ba7463803
[TileSet] Fix crash when deleting dragged polygon point 2024-02-27 15:16:27 +01:00
smix8 35dafc9fa8 Split monolithic physics class files
Splits monolithic physics class files.
2024-02-27 11:18:16 +01:00
Rémi Verschelde 6d8ca17139
Merge pull request #88829 from ryevdokimov/institate_message-2d
Show instantiating or inherit message when using drag to instantiate in 2D
2024-02-27 10:18:17 +01:00
Rémi Verschelde 6ed4a279d9
Merge pull request #88774 from ryevdokimov/instantiating-message
Show instantiating message with position when using to drag to instantiate in 3D
2024-02-27 10:17:55 +01:00
Rémi Verschelde e770a38d00
Merge pull request #88742 from MajorMcDoom/text-editor-zoom
Fix the text editor theme not being applied on editor start
2024-02-27 10:17:47 +01:00
Robert Yevdokimov 8875ff0a14 Show instantiating or inherit message when using to drag to instantiate in 2D 2024-02-27 01:09:13 -05:00
Muller-Castro 1638c1b28f Add const lvalue ref to editor/* container parameters 2024-02-26 15:28:15 -03:00
Aaron Franke c399424db9
Move 3D-only resources to their own folder 2024-02-26 05:23:04 -06:00
Aaron Franke 1cb531ddb6
Move 2D-only resources to their own folder 2024-02-26 05:22:45 -06:00
Rémi Verschelde abe73c3db0
Merge pull request #88675 from MajorMcDoom/script-editor-redundancy
Remove some redundant method calls from ScriptEditor
2024-02-26 10:48:57 +01:00
Rémi Verschelde 63bde2feff
Merge pull request #88589 from RandomShaper/gl_preview_liveunlock
Rework viewport capture in preview generation
2024-02-26 10:48:44 +01:00
Zi Ye ea401f9853 Fixed the text editor theme not being applied on editor start. 2024-02-25 14:42:48 -06:00
Robert Yevdokimov 967d03ac5c Show instantiating message with position when using to drag to instantiate in 3D 2024-02-24 13:58:23 -05:00
Rémi Verschelde fd788d7df9
Merge pull request #88584 from ryevdokimov/hide_grid_per_viewport
Add ability to hide grid per viewport
2024-02-23 22:19:01 +01:00
Rémi Verschelde 4582ee1a0f
Merge pull request #87760 from kitbdev/extract-bottom-dock
Extract BottomPanel from EditorNode
2024-02-23 22:18:50 +01:00
Robert Yevdokimov df431542c3 Add ability to hide grid per viewport 2024-02-23 10:25:29 -05:00
Mounir Tohami 7884d63281 Fix PopupMenu doesn't respect it's ScrollContainer's margins 2024-02-23 15:51:47 +02:00
Rémi Verschelde 42a15bcc49
Merge pull request #85477 from KoBeWi/submenus_that_shall_not_be_named
Add methods to add submenus without using names
2024-02-23 11:29:28 +01:00
Rémi Verschelde 031ca87d83
Merge pull request #87901 from pohy/feat/use-subgizmos-for-path3d-position-editing
Use subgizmos for Path3D position editing and declutter the UI
2024-02-22 23:34:26 +01:00