kobewi
a345160ab3
Fix wrong usage of parameters_base_path StringName
2024-05-30 12:03:43 +02:00
Rémi Verschelde
32def9f98e
Merge pull request #92392 from KoBeWi/this_makes_editor_200%_faster
...
Optimize usage of position icon in 2D editor
2024-05-30 11:48:06 +02:00
Rémi Verschelde
aa147b74ea
Merge pull request #90664 from KoBeWi/shadowdropped_resource
...
Prevent crash when dropping Resource that can't load
2024-05-30 11:47:38 +02:00
Rémi Verschelde
838eb5a0fd
Merge pull request #87099 from bitwise-aiden/ba-add-trim-newlines
...
Implement `trim_final_newlines` setting and functionality
2024-05-30 11:47:28 +02:00
Rémi Verschelde
a8cc65f54f
Merge pull request #92495 from matheusmdx/fix-animation-player-error
...
Fix error after create a new animation in an empty AnimationPlayer
2024-05-29 22:14:03 +02:00
Rémi Verschelde
6c7ca019d7
Merge pull request #92473 from passivestar/animation-disabled-controls
...
Fix animation player controls being enabled when no player is selected
2024-05-29 11:20:08 +02:00
Rémi Verschelde
4d906f46b3
Merge pull request #90660 from adamscott/rename-file-updated-dialog
...
Improve UX when saving newer files on disk
2024-05-29 11:19:41 +02:00
passivestar
2eaeee59d4
Fix animation player controls being enabled when no player is selected
2024-05-29 13:02:31 +04:00
matheusmdx
18cdb3c0d7
Fix error after create a new animation in an empty AnimationPlayer
2024-05-28 19:14:00 -03:00
Rémi Verschelde
1446722d23
Merge pull request #92442 from pkowal1982/sprite_frames
...
Select text in SpriteFramesEditor spin boxes on focus
2024-05-28 17:48:45 +02:00
Rémi Verschelde
b8f3c5e2ab
Merge pull request #92427 from AThousandShips/bind_go_away
...
Replace `.bind(...).call_deferred()` with `.call_deferred(...)`
2024-05-28 15:50:01 +02:00
Rémi Verschelde
f87be863ca
Merge pull request #92322 from groud/implement_custom_data_label
...
Display custom data name instead of indices in TileData inspector
2024-05-28 15:49:12 +02:00
Rémi Verschelde
25b17bd245
Merge pull request #92188 from SaracenOne/ownerless_node_select
...
Disallow selection of ownerless nodes
2024-05-28 15:48:54 +02:00
Rémi Verschelde
f7b9cdcef2
Merge pull request #90849 from AThousandShips/tile_edit_fix
...
[Editor] Fix crash when editing TileMap
2024-05-28 15:48:30 +02:00
Rémi Verschelde
f9dc62b265
Merge pull request #89806 from timothyqiu/smart-undo
...
Disable shader editor's undo/redo menu items when they do nothing
2024-05-28 15:48:20 +02:00
Saracen
596026a1ee
Disallows selection of ownerless nodes:
...
Attempts to select first node owned by the edited scene instead.
2024-05-28 11:13:40 +01:00
Paweł
18243c5b7a
Select text in SpriteFramesEditor spin boxes on focus
2024-05-27 21:50:15 +02:00
A Thousand Ships
f9901761be
[Editor] Fix crash when editing TileMap
2024-05-27 15:22:37 +02:00
A Thousand Ships
4ed62665a2
Replace .bind(...).call_deferred()
with .call_deferred(...)
2024-05-27 13:29:57 +02:00
kobewi
d927d41f89
Optimize usage of position icon in 2D editor
2024-05-26 20:08:59 +02:00
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
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