Commit Graph

5994 Commits

Author SHA1 Message Date
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
Rémi Verschelde 213c835cde
Merge pull request #85017 from Geometror/vs-redesign
Redesign the graph editor for visual shaders
2024-02-22 23:34:19 +01:00
pohy 6efff2cd06 Use subgizmos instead of handles for Path3D curve points 2024-02-22 22:33:34 +01:00
Hendrik Brucker 02a33b67a8 Redesign the graph editor for visual shaders 2024-02-22 20:40:09 +01:00
Zi Ye 943f6aa113 Removed some redundant calls from ScriptEditor. 2024-02-22 12:13:48 -06:00
kobewi aeec3c1309 Add methods to add submenus without using names 2024-02-22 15:13:53 +01:00
Rémi Verschelde 2f58db935e
Merge pull request #88645 from KoBeWi/🤦‍♂️🤦‍♂️🤦‍♂️
Fix 3D editor project settings update
2024-02-22 14:39:18 +01:00
Zi Ye 9281c441f6 Improved text editor status bar and zooming UX. 2024-02-21 17:33:16 -06:00
kobewi 3a8fdc0bac Fix 3D editor project settings update 2024-02-21 20:20:52 +01:00
Saracen 98d9c9c573
Make AnimationPlayerEditor read-only edit rules more permissive. 2024-02-21 15:17:56 +01:00
Pedro J. Estébanez 91f0a65fc9 Rework viewport capture in preview generation 2024-02-21 10:44:21 +01:00
kit eb6ca91ba6 Extract BottomPanel from EditorNode 2024-02-20 15:09:07 -05:00
Rémi Verschelde 9e9dcdbba4
Merge pull request #86378 from RobProductions/update-hover-styling
Add hover highlight to main editor buttons
2024-02-20 19:34:40 +01:00
Rémi Verschelde 6037500219
Merge pull request #69032 from KoBeWi/check_every_changed_setting_in_every_group_everywhere()
Use `check_changed_settings_in_group()` everywhere
2024-02-20 19:34:30 +01:00
kobewi a031911c82 Use check_changed_settings_in_group() everywhere 2024-02-19 21:34:45 +01:00
CookieBadger 47dba6bc56 use ED_IS_SHORTCUT macro instead of matches_event 2024-02-19 13:16:06 +01:00
Silc Lizard (Tokage) Renew 772a753960 Fix some animation state corruptions on activate and reset on save 2024-02-19 13:04:22 +09:00
Rémi Verschelde 36b88cbb8a
Merge pull request #86694 from KoBeWi/deugly_the_text
Tweak tile atlas help label positions
2024-02-19 00:07:37 +01:00
A Thousand Ships dde5368dee
[Editor] Add missing ellipses to menu options that open dialogs 2024-02-17 17:09:17 +01:00
Rémi Verschelde 2c5fa95aea
Merge pull request #87530 from YeldhamDev/atr_inheritance
Rework the auto translation system
2024-02-17 15:54:31 +01:00
Rémi Verschelde c28493ad04
Merge pull request #88275 from passivestar/slider-abort
Allow aborting `SpinSlider` value changes
2024-02-17 00:23:26 +01:00
Matt Enad 5b5de0e167 Add hover highlight to main editor buttons
Updates styling of the editor run bar, plugin, bottom panel, icon buttons, and main menu buttons for accessibility.
2024-02-16 14:49:44 -05:00
Arman Elgudzhyan ec6518d9cd Custom ("visiblity") AABB support for CPUParticles
- Improves performance by reducing time spent on AABB generation.
- Also adds an option to generate the AABB manually in the CPUParticles3D dropdown.
2024-02-15 22:37:07 -08:00
passivestar 5689dbc209 Allow to abort `SpinSlider` value changes 2024-02-16 07:54:35 +04:00
Michael Alexsander 7b42c24550
Make auto translation inheritable 2024-02-15 16:51:19 -03:00
Rémi Verschelde 09df8f4a56
Merge pull request #87952 from paulloz/dotnet/byebye-signal-callback-generation
Disable signal callback generation in C#
2024-02-15 15:44:55 +01:00
Rémi Verschelde 994dd21c02
Merge pull request #84356 from viksl/drag_and_drop_2d_selection
Select newly added nodes on drag and drop in 2D viewport
2024-02-15 15:44:29 +01:00
Rémi Verschelde 55dd98e4f8
Merge pull request #84347 from viksl/drag_and_drop_3d_selection
Select newly added nodes on drag and drop in 3D viewport
2024-02-15 15:44:25 +01:00
Riteo 759a32eb0c Handle warped mouse motion as floating point
Fixes certain issues where sub-pixel motions would get discarded while
the mouse is captured, such as when free look is enabled in the editor
(at least when turned on while holding right click).

Very slightly compat breaking, as actual public APIs are changed,
although with "compatible" types (Point2i->Point2).
2024-02-14 22:37:51 +01:00
viksl dc60c01e56 Select newly added nodes on drag and drop in 2D viewport 2024-02-14 20:03:00 +01:00
Rémi Verschelde a1cc37966c
Merge pull request #87126 from ryevdokimov/fix-84424(2)
Fix position and basis of 3D Scenes instantiated via drag and drop
2024-02-14 14:07:58 +01:00
Paul Joannon 9fa2355cef
Disable signal callback generation in C# 2024-02-14 13:26:45 +01:00
Rémi Verschelde c5050f9772
Merge pull request #88229 from ckaiser/feature/asset_library_ux_cleanup
Asset Library author link, description popup size and UX details
2024-02-14 10:59:49 +01:00
Christian Kaiser 38ac946af7 Asset Library author link, description popup size and UX details 2024-02-14 06:01:10 -03:00
Rémi Verschelde 81184941bc
Merge pull request #88290 from Calinou/tilemap-editor-tweak-no-source-message
Tweak TileMap editor's missing source message to use "bottom panel" term
2024-02-13 23:43:46 +01:00
Rémi Verschelde ab54569912
Merge pull request #63529 from KoBeWi/fake_features_v2
Allow to set custom feature tags for testing
2024-02-13 23:43:03 +01:00
Robert Yevdokimov be0104a129 Fix position and basis of 3D Scenes instantiated via drag and drop 2024-02-13 12:43:22 -05:00
Hugo Locurcio 53dce9a84e
Tweak TileMap editor's missing source message to use "bottom panel" term
This term is used throughout the editor (including EditorPlugin)
as these bottom panels are technically not tabs.
2024-02-13 18:27:42 +01:00
kobewi 1b2c7bfe77 Allow to set custom feature tags for testing 2024-02-13 17:38:45 +01:00
Rémi Verschelde e0b1e79251
Merge pull request #88279 from kleonc/editor-plugins-2d3d-drag-drop-transform-calculation-fix
Fix `CanvasItem`/`Node3D` editor plugin drag drop transform calculation
2024-02-13 17:24:28 +01:00
Rémi Verschelde 48e2f43ccf
Merge pull request #87479 from kitbdev/apply-ime
Fix TextEdit IME issues
2024-02-13 17:23:55 +01:00
Rémi Verschelde eb77418075
Merge pull request #87006 from AThousandShips/frame_fix
Fix member names of `AudioFrame` to match extension
2024-02-13 17:23:37 +01:00
Rémi Verschelde 32b0834609
Merge pull request #84763 from KoBeWi/all-knowing_theme_editor
Fetch theme editor items from ThemeDB
2024-02-13 17:23:07 +01:00
A Thousand Ships d8b29efe66
Fix member names of `AudioFrame` to match extension 2024-02-13 15:37:09 +01:00
kleonc c0a1b4f32d Fix CanvasItem/Node3D editor plugin drag drop transform calculation 2024-02-13 13:52:37 +01:00
Rémi Verschelde dfe226b933
Merge pull request #88270 from TokageItLab/avoid-near-far
Avoid unqualified-id "near" and "far" in Node3DEditor/Viewport
2024-02-13 11:25:24 +01:00