Gilles Roudière
85eac45513
Display custom data name instead of indices in TileData inspector
2024-05-25 17:21:31 +02:00
Hugo Locurcio
60084dcc2c
Prevent label width from flickering rapidly in editor frametime panel
...
This also improves the background display by drawing a single background
for all 3 labels. This avoids visible corners between each label.
2024-05-23 20:50:25 +02:00
Hugo Locurcio
57f52092c3
Add Ctrl + R keyboard shortcut to restart particle emission in the editor
...
Restarting particle animation frequently is often done in the VFX
tweaking process.
This shortcut is available for both GPUParticles and CPUParticles,
in 2D and 3D.
2024-05-22 18:42:04 +02:00
Rémi Verschelde
408228889f
Merge pull request #92223 from KoBeWi/do_people_really_copy_whole_shortcut_definitions_multiple_times_and_unironically_think_this_is_alright_ 🤔
...
Remove duplicate shortcut definitions
2024-05-22 09:27:00 +02:00
Rémi Verschelde
e34b97312e
Merge pull request #89630 from jsjtxietian/pick-color
...
Make "Pick Color"'s result less precise, keep only 3 decimals
2024-05-22 09:26:37 +02:00
kobewi
e065d7132a
Remove duplicate shortcut definitions
2024-05-21 23:28:49 +02:00
kobewi
6559bb68e6
Remove some TileMap dependencies from TileMapLayer
2024-05-21 11:32:14 +02:00
Rémi Verschelde
9e9fb165bc
Merge pull request #92171 from KoBeWi/gridder_grid
...
Fix tile polygon grid not covering whole tile
2024-05-21 11:23:02 +02:00
Rémi Verschelde
ee1f898b5d
Merge pull request #92004 from timothyqiu/drop-audio
...
Create AudioStreamPlayer when dropping AudioStream
2024-05-21 11:22:44 +02:00
kobewi
e70ca3bf5a
Fix tile polygon grid not covering whole tile
2024-05-20 20:16:06 +02:00
Rémi Verschelde
40b4130c93
Merge pull request #92151 from timothyqiu/frame-dup
...
Fix error when duplicating visual shader node inside a Frame
2024-05-20 17:07:08 +02:00
Rémi Verschelde
45f6aaeb10
Merge pull request #91887 from minionprocyk/master
...
Use Option+Cmd+Left/Right for script editor history navigation on macOS
2024-05-20 17:06:46 +02:00
Haoyu Qiu
becc98162e
Fix error when duplicating visual shader node inside a Frame
2024-05-20 15:56:16 +08:00
Haoyu Qiu
e5c321448e
Create AudioStreamPlayer when dropping AudioStream
...
- Create AudioStreamPlayer if dropped in between nodes in the Scene dock
- Create AudioStreamPlayer2D if dropped into 2D editor
- Create AudioStreamPlayer3D if dropped into 3D editor
2024-05-19 20:26:04 +08:00
Rémi Verschelde
b201c7fc13
Merge pull request #91874 from Nodragem/editor-scene-drag-and-drop-default
...
Change default parenting behavior when drag-and-dropping to 2d and 3d editor
2024-05-17 11:13:57 +02:00
Rémi Verschelde
9eff940a64
Merge pull request #91549 from magian1127/4.0ChangeHighlightingStartKey
...
Resolve conflict between shader uniform tooltips `/**` and general annotation `/**/`.
2024-05-17 11:13:48 +02:00
Rémi Verschelde
096fb3ad7c
Merge pull request #90952 from Gaktan/add_online_doc_link
...
Add option to open online doc for selected class in script editor
2024-05-17 11:13:43 +02:00
Nodragem
8e0f0c6edb
change default behaviour when drag-and-drop to 2d and 3d editor
...
correct formatting with clang-formatter
US English
2024-05-16 10:42:13 +01:00
Rémi Verschelde
805d619382
Merge pull request #91872 from aaronp64/edit_navigation_obstacle
...
Allow editing `NavigationObstacle2D` shape vertices
2024-05-15 12:09:42 +02:00
Gaktan
cafa64cd27
Add option to open online doc for selected native class in script editor
2024-05-14 21:44:46 +02:00
A Thousand Ships
ee79386f7b
[Scene] Add SceneStringNames::pressed
2024-05-14 15:51:28 +02:00
Rémi Verschelde
3c26cddcfa
Merge pull request #91932 from dalexeev/editor-fix-tileset-categories-and-tooltips
...
Editor: Fix categories and tooltips in `TileSet` editor
2024-05-14 12:07:27 +02:00
Rémi Verschelde
bdefe53992
Merge pull request #91909 from KoBeWi/have_fun_reviewing_this
...
Use Core/Scene stringnames consistently
2024-05-14 12:07:03 +02:00
Rémi Verschelde
e58eb6a267
Merge pull request #91905 from groud/fix_patterns_being_needlessly_reorganized
...
Fix TileMap selection pattern being needlessly reorganized
2024-05-14 12:06:58 +02:00
Magian
8a92615ba0
Resolve conflict between shader uniform tooltips "/**" and general annotation "/**/".
2024-05-14 15:32:47 +08:00
Danil Alexeev
5a5b18c2fc
Editor: Fix categories and tooltips in TileSet
editor
2024-05-14 10:23:14 +03:00
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
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