Commit graph

5549 commits

Author SHA1 Message Date
Yuri Sizov
8f33b4e83a Merge pull request #84882 from Invertex/select-instance-asset
Add "Show In FileSystem" to the Scene hierarchy right-click
2023-12-14 17:38:30 +01:00
Yuri Sizov
daddb2b469 Merge pull request #84754 from aXu-AP/sprite2dplugin-rect
Add region rect and frames support to Sprite2DPlugin converter
2023-12-14 17:38:19 +01:00
wilto938
5a3de5bc30 Reset TileMap editor drag_type by using the _stop_dragging() function when the toolbar mode is not selected 2023-12-14 11:58:36 +01:00
Gilles Roudière
18fe0bd025 Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
Wilson E. Alvarez
80fb8db31f
Remove unnecessary assignments
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2023-12-13 11:06:26 -05:00
Invertex
59787683a9 Added "Show In FileSystem" right-click option to Scene hierarchy nodes.
-Implemented shared function for focusing FileSystem tab and highlighting the node path.
-Created right-click option that shows up in the Scene-Hierarchy on Nodes that have a file-system source path.
-Created custom icon for this right-click option
-Implemented the shared function and icon for other places that already had this features (Open Node tab, Inspector Resource)

Co-authored-by: MewPurPur <mew.pur.pur@gmail.com>
2023-12-13 07:43:39 -08:00
Rémi Verschelde
8f2b5cc109
Merge pull request #82899 from aaronfranke/import-settings-dialogs
Rename ImportSettings dialogs to have "Dialog" in the name
2023-12-12 00:15:59 +01:00
kobewi
fc7cdd5c37 Disable Add button when theme item name is empty 2023-12-11 22:21:36 +01:00
Yuri Sizov
959c166866 Merge pull request #83741 from BlueCube3310/path-3d-plugin-optimize
Optimize Path3DGizmo Mesh Generation
2023-12-08 16:58:08 +01:00
kobewi
6e31c413b6 Add descriptions for tile properties 2023-12-07 16:57:34 +01:00
aXu-AP
a45db4d616 Fix UV editor not showing polygon correctly
Fix polygon not showing correctly if UVs have been moved around. Show the actual contents of the polygon instead.
2023-12-05 15:38:37 +02:00
Rémi Verschelde
6c7d43822c
Merge pull request #85745 from YuriSizov/editor-obey-the-theme-overlord
Fix theme application in various editor dialogs
2023-12-04 23:21:58 +01:00
Rémi Verschelde
3e7cc5ec32
Merge pull request #85271 from YuriSizov/core-check-please!
Correctly check scripts that must inherit `EditorPlugin`
2023-12-04 23:12:24 +01:00
Rémi Verschelde
beb454c528
Merge pull request #85087 from EelisOtsamo/fix_scene_drag_and_drop
Fix issue with 3D scene drag and drop preview node
2023-12-04 23:10:01 +01:00
Rémi Verschelde
764e468066
Merge pull request #84933 from Calinou/editor-multimesh-populate-fix-node-type
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog
2023-12-04 23:07:58 +01:00
Rémi Verschelde
8b3ba7e074
Merge pull request #84891 from Calinou/editor-particles-generate-emission-fix-node-type
Only allow MeshInstance3D-based nodes in particles emission shape node selector
2023-12-04 23:07:34 +01:00
Rémi Verschelde
9108445eca
Merge pull request #84076 from aXu-AP/uv-editor-texture-transform
Fix UV editor not using texture transform
2023-12-04 23:00:54 +01:00
Yuri Sizov
01888ae7ab Fix theme application in various editor dialogs
99% of the time we shouldn't rely on the signal, we
should use the notification instead. I left some comments
in places where I couldn't quickly improve the code.
2023-12-04 13:18:48 +01:00
Steve Tibbett
86db8f921d Fix for Cmd-B conflict on macOS, where Cmd-B was
both "Build Project" and "Go to Next Bookmark".
2023-11-30 06:58:52 -05:00
BleedingXiko
971b0a7bda
fix typo in tile_map_editor.cpp 2023-11-27 16:40:38 -08:00
Aaron Franke
a8dc34b8f0
Rename ImportSettings dialogs to have "Dialog" in the name 2023-11-26 22:59:01 -06:00
oeelis
834ccb9698 Fix issue with 3D scene drag and drop preview node 2023-11-24 15:44:51 +02:00
Yuri Sizov
bc1949d797 Correctly check scripts that must inherit EditorPlugin
Also updates some error messages related to this kind of check
across the codebase.
2023-11-23 16:24:43 +01:00
Rémi Verschelde
a34814b0b6
Merge pull request #85205 from jsjtxietian/grab-focus
Set some window in visual shader editor to be exclusive
2023-11-22 13:59:50 +01:00
Rémi Verschelde
ca245295ae
Merge pull request #85193 from TokageItLab/fix-seek-mixer
Fix seeking bug in AnimationPlayerEditor
2023-11-22 13:59:45 +01:00
jsjtxietian
b7ba667dcf Set some window in visual shader editor to be exclusive 2023-11-22 17:58:18 +08:00
Silc Lizard (Tokage) Renew
21833f3dfd Fix seeking bug in AnimationPlayerEditor 2023-11-22 06:43:26 +09:00
Hugo Locurcio
c6a16b176e
Only allow MeshInstance3D-based nodes in particles emission shape node selector
This applies to both GPUParticles3D and CPUParticles3D, as
CPUParticles3DEditor inherits from GPUParticles3DEditorBase.
2023-11-19 11:22:51 +01:00
Pedro J. Estébanez
fe4850c0d0 Use mingw-std-threads in MinGW builds 2023-11-18 11:56:05 +01:00
Yuri Sizov
0f5a14c397 Make script/shader editor save shortcuts unique again 2023-11-15 14:10:12 +01:00
Hugo Locurcio
dc3194f668
Only allow MeshInstance3D-inherited nodes in MultiMesh Populate Surface dialog 2023-11-15 12:24:11 +01:00
Ricardo Subtil
760ff2e933 Fix DAP breakpoints being cleared on closed scripts 2023-11-14 16:51:38 +00:00
kobewi
da55c06322 Save scene when saving built-in resource 2023-11-13 16:34:17 +01:00
Rémi Verschelde
3e23755d24
Merge pull request #83430 from RandomShaper/fix_onion_audio
Fix onion skinning internals activating audio/method/animation tracks
2023-11-12 16:56:30 +01:00
Cerno_b
9a684cf199 Clarify description of "group selected" 2023-11-12 10:53:44 +01:00
aXu-AP
cb88108d9f Readd rect support for Sprite2DPlugin converter
Readds support for rects for sprite to mesh/polygon converter.
Adds support for conversion from animation frame.
Fixes converter not taking offset into account.
Fixes 1 pixel shift when converting flipped sprites.
2023-11-12 11:49:37 +02:00
Rémi Verschelde
4e867b5835
Merge pull request #84762 from timothyqiu/snap-mode
Fix texture region editor not selecting restored snap mode
2023-11-11 23:06:24 +01:00
Rémi Verschelde
97a102caf6
Merge pull request #84052 from SaracenOne/animtree_readonly_context
Unpress buttons in AnimationTree when switching to read-only mode.
2023-11-11 23:05:37 +01:00
Haoyu Qiu
64fb22e17b Fix texture region editor not selecting restored snap mode 2023-11-12 01:41:51 +08:00
Yuri Sizov
e90ea87b42 Abort threaded preview generators on exit 2023-11-10 15:31:43 +01:00
Rémi Verschelde
dfe2df989d
Merge pull request #84493 from bruvzg/gde_ios_static_fix
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks.
2023-11-10 10:44:56 +01:00
Rémi Verschelde
38c3e5aae9
Merge pull request #82956 from Chtau/GDScript-external-Editor-Engine-crash
Fixes internal Script Editor crash with External Editor active
2023-11-10 10:43:58 +01:00
bruvzg
d4d5d68eda
[iOS, GDExtension] Fix loading and exporting static libraries and xcframeworks. 2023-11-09 20:04:40 +02:00
Rémi Verschelde
d1381bbca2
Merge pull request #84625 from KoBeWi/yeet_sprite_node()
Remove AnimatedSprite pointer when clearing editor
2023-11-09 11:48:12 +01:00
Rémi Verschelde
26f1c503ec
Merge pull request #84617 from YuriSizov/editor-this-one-is-for-all-my-subs
Fix node names of submenu items across the editor
2023-11-09 11:47:24 +01:00
Rémi Verschelde
e5bacbc471
Merge pull request #84628 from KoBeWi/no_meta_only_path
Don't store shader edit path in metadata
2023-11-08 19:18:55 +01:00
kobewi
9c810ef061 Don't store shader edit path in metadata 2023-11-08 19:14:16 +01:00
kobewi
55f7d493ee Remove AnimatedSprite pointer when clearing editor 2023-11-08 18:09:42 +01:00
Yuri Sizov
b04b546092 Fix node names of submenu items across the editor
Also removes some programmer remarks and fixes some docs.
2023-11-08 14:42:42 +01:00
Yuri Sizov
e7dba3b064 Correctly set up shortcut context in the shader editor 2023-11-08 13:07:31 +01:00
aXu-AP
1ee4aa11b6 Add zoom controls to Sprite2DPlugin 2023-11-07 20:30:33 +02:00
Michael Alexsander
0f37ee8e9a
Allow to load multiple animation/libraries at once in the animation manager 2023-11-07 11:00:45 -03:00
kobewi
01bd005a1f Change AnimationLibEditor's mixer to actual Mixer 2023-11-06 23:27:44 +01:00
Juan Manuel Costello
aa2522edcd Fix material drop 2023-11-06 12:57:19 -03:00
Yuri Sizov
14cc639bc3 Merge pull request #81018 from jsjtxietian/return-use-friendly-info-in-scriptStackVariable-serialize
Fix `_get_debug_tooltip` crash if tooltip string is too large
2023-11-06 15:43:21 +01:00
Yuri Sizov
fae8ace6fb Merge pull request #84361 from YuriSizov/editor-fix-sprite2d-regional-issues
Prevent crash and error spam related to Sprite2D with a region
2023-11-06 13:23:11 +01:00
jsjtxietian
155d738163 Fix _get_debug_tooltip will crash if tooltip string is too large 2023-11-06 20:09:17 +08:00
Yuri Sizov
111a5e90da Prevent crash and error spam related to Sprite2D with a region 2023-11-04 13:03:28 +01:00
A Thousand Ships
2cb94fa362 Fix inverted condition when unwrapping lightmap 2023-11-02 18:33:58 +01:00
Rémi Verschelde
7c2acfdf17
Merge pull request #84208 from YuriSizov/editor-animation-that-pops
Avoid popping up dialogs excessively in the Animation editor
2023-10-31 20:16:16 +01:00
Rémi Verschelde
f1f92bdb30
Merge pull request #84049 from kleonc/node3d-editor-plugin-snapping
Fix some `Node3DEditor` snapping issues
2023-10-31 20:15:30 +01:00
Yuri Sizov
60355889f8 Avoid popping up dialogs excessively in the Animation editor 2023-10-31 11:54:02 +01:00
Rémi Verschelde
55fca13dc5
Merge pull request #82570 from 100gold/preprocessor_in_vshader_editor
Add preprocessor pass on visual shader when showing generated code
2023-10-30 16:25:51 +01:00
Saracen
d9950e2370 Fix AnimationTimeline time not updating when dragged. 2023-10-30 01:59:54 +00:00
100gold
0486d40f14 Add preprocessor pass on visual shader when showing generated code 2023-10-29 19:12:08 +03:00
Rémi Verschelde
b096174259
Merge pull request #84064 from jsjtxietian/fix-save-in-text-shader-editor-pass-through
Add save shortcut for text shader editor to prevent it propagating to scene
2023-10-28 18:35:21 +02:00
Jonathan Nicholl
1419eefcc6 Allow changing keys for imported AnimationLibraries in the editor 2023-10-28 08:35:01 -04:00
Rémi Verschelde
fe64786a91
Merge pull request #83498 from SaracenOne/mesh_unwrap_rules
Mesh instance UV2 unwrapping improvements
2023-10-28 12:30:22 +02:00
Saracen
e865bad06a Mesh instance UV2 unwrapping improvements:
Enforce foreign resource modification rules.
Add more helpful error handling for ArrayMesh unwrapping.
2023-10-28 03:04:15 +01:00
aXu-AP
d7e5c25e4a Fix UV editor not using texture transform 2023-10-27 22:33:37 +03:00
aXu-AP
aa3568b8dd Fix 2D bone weight editor not accounting for offset
Skeleton was shown in wrong place in Polygon2D UV editor's bone painting mode.
2023-10-27 20:37:23 +03:00
jsjtxietian
775adc0a6d Add save shortcut for text shader editor to prevent it propagated to scene
when hit ctrl s in the shader editor
2023-10-28 00:53:03 +08:00
smix8
e8caa0aa92 Fix NavigationObstacle3DEditor parenting error
Fixes NavigationObstacle3DEditor parenting error.
2023-10-27 15:43:28 +02:00
Saracen
0e545d9e88 Unpress buttons in AnimationTree when switching to read-only mode. 2023-10-27 13:39:08 +01:00
kleonc
74a35526e0 Fix some Node3DEditor snapping issues 2023-10-27 13:00:49 +02:00
Rémi Verschelde
d88ef223e3
Merge pull request #82853 from KoBeWi/line_surgery
Prioritize points in polygon editor hover
2023-10-27 11:36:09 +02:00
kobewi
7cffb30254 Prioritize points in polygon editor hover 2023-10-26 16:03:55 +02:00
Rémi Verschelde
80e5484a82
Merge pull request #83941 from Jordyfel/hashset-not-vector
Use Hashset for dependency list when moving
2023-10-26 16:01:21 +02:00
Saracen
ed083a9fbe Fix crash when reimporting with Skeleton3D selected. 2023-10-25 21:10:57 +01:00
Jordyfel
50b7387a3f Use Hashset for dependency list when moving 2023-10-25 21:05:53 +03:00
J. N. Witch
d832f62a01 Introduce a "Gizmos" submenu for toggling visibility of gizmos in 2D editor
instead of standalone checkboxes like "Show Group And Lock Gizmos".

Add option to toggle visibility of Position gizmos.
2023-10-25 12:41:37 +00:00
clayjohn
5591f289d7 Uses screen-aligned quads for origin lines to avoid issues on NVidia
While we are add it, use alpha-antialised lines to make them look nice
2023-10-24 18:02:36 +02:00
Rémi Verschelde
fe45e4ec7c
Merge pull request #83790 from OppositeNor/fix_tileset_out_of_screen
Fix TileSet painting options appear out of screen
2023-10-23 12:42:52 +02:00
DennisManaa
1a1c542836 Implement automatic translation for ItemList 2023-10-23 10:14:08 +02:00
Haoyu Qiu
920e53cacb Readd close button for nodes in AnimationNodeBlendTree editor 2023-10-23 11:11:51 +08:00
OppositeNor
8f26cdcaef Fix tileset out of screen 2023-10-22 13:39:14 -04:00
Rémi Verschelde
6bf936c4cc
Merge pull request #82667 from kleonc/canvas-item-editor-drag-moving-transforms-fix
Fix transform calculations for drag-moving CanvasItems in editor
2023-10-22 12:11:28 +02:00
BlueCube3310
67a3ef6aca Optimize Path3DGizmo mesh generation 2023-10-21 19:03:57 +02:00
Rémi Verschelde
365507fcf3
Merge pull request #83659 from aXu-AP/uv-edit-transform-points-undo
Fix Polygon2D undo on transforming vertices
2023-10-20 15:13:26 +02:00
aXu-AP
76f81cfc21 Fix Polygon2D undo on transforming vertices
Fix: Action not committed to history when transforming all points in UV editor's Points mode.
2023-10-20 11:59:09 +03:00
Yuri Sizov
215e036600 Add bulk change guards to successive theme overrides in Editor and GUI 2023-10-19 18:14:14 +02:00
Rémi Verschelde
f7da96add3
Merge pull request #83534 from SaracenOne/blend_tree_auto_disconnect
Automatic reconnection of nodes in blend tree.
2023-10-18 16:55:02 +02:00
Saracen
65016c393f Automatic reconnection of nodes in blend tree. 2023-10-18 03:19:02 +01:00
风青山
2642c6851f Defer updating the animations Tree in SpriteFramesEditor to avoid crashes
Previously, clicking the LMB while renaming an animation could cause
`SpriteFramesEditor::_update_library(false)` to be called during
`Tree::propagate_mouse_event()`. This may cause a crash.

We can defer updates to the editor interface to avoid calling
`Tree::create_item()` at the wrong time.

Enables `SpriteFramesEditor::_select_animation()` to be able to undo/redo
2023-10-18 06:46:03 +08:00
Rémi Verschelde
0258fa4db9
Merge pull request #83137 from jsjtxietian/close-shader-file-in-visual-editor-when-delete-file
Close shader in Shader Editor tab when deleting shader file in FileSystem panel
2023-10-16 12:59:49 +02:00
jsjtxietian
15e66ccb9b Close shader in Shader Editor tab when deleting shader file in FileSystem panel 2023-10-16 18:50:56 +08:00
Pedro J. Estébanez
5671e47d20 Fix onion skinning internals activating audio/method/animation tracks 2023-10-16 11:47:14 +02:00
Rémi Verschelde
7211c03ba5
Merge pull request #83402 from YeldhamDev/edit_transitions_hide
Disable "Edit Transitions..." item if no animations are present
2023-10-16 10:43:02 +02:00
Rémi Verschelde
50620c7361
Merge pull request #82937 from Calinou/editor-primitivemesh-unwrap-uv2
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
2023-10-16 10:39:23 +02:00
Rémi Verschelde
c2d410a19e
Merge pull request #82868 from SaracenOne/multi_session_debugger_fixes
Fix debugger behaviour with multi-session debugging
2023-10-16 10:38:58 +02:00
Michael Alexsander
2102d09812
Disable "Edit Transitions..." item if no animations are present 2023-10-15 12:28:04 -03:00
Rémi Verschelde
fc6d6b2c00
Merge pull request #82381 from dervus/issue-81916
Fix grid snapping for box shape gizmos
2023-10-13 22:16:39 +02:00
Vladimir Zapparov
088cf59e7a Fix grid snapping for box shape gizmos
"Extruding" box face (i.e. moving it without holding Alt key) will now
always snap new box size exactly to the nearest snap step.
2023-10-13 17:34:59 +02:00
Rémi Verschelde
37ee293be8
Merge pull request #83244 from KoBeWi/tile_map_is_now_tile_set_and_vice_versa
Swap TileMap and TileSet buttons
2023-10-13 11:47:55 +02:00
Rémi Verschelde
f6ff4159a7
Merge pull request #83233 from timothyqiu/babel
Disable port name auto translation in Visual Shader editor
2023-10-13 11:47:08 +02:00
kobewi
291be2c66c Swap TileMap and TileSet 2023-10-13 09:55:24 +02:00
Haoyu Qiu
56f47cc129 Disable port name auto translation in Visual Shader editor 2023-10-13 11:07:05 +08:00
Haoyu Qiu
26b21f110a Don't auto translate theme type list 2023-10-12 10:04:53 +08:00
Rémi Verschelde
25fa5eadd5
Merge pull request #82986 from OmarShehata/fix-external-editor-hot-reload
Fix external editor hot reload for GDScript
2023-10-11 22:38:42 +02:00
Christoph Taucher
2929993575 Prevent the internal Script Editor from reloading
when the external Editor is active in the settings.

This prevents a crash from different race conditions
from edititing files in the external editor while the internal editor
tries to reload open file tabs.

Some conditions that cause the crash where:
* Syntax highlighting (gdscript_highlighter.cpp, syntax_highlighter.cpp)
* Code analysis (code_edit.cpp)
* ... and more
2023-10-11 21:41:09 +02:00
Rémi Verschelde
4b7cc99bc1
Merge pull request #79169 from reduz/debug-canvas-item-redraw
Debug CanvasItem redraw
2023-10-11 08:40:05 +02:00
Hugo Locurcio
936ad63709
Allow Ctrl + KP / and Ctrl + # to toggle comment in the script editor
This complements the existing Ctrl + K and Ctrl + / shortcuts.
2023-10-10 17:18:38 +02:00
Rémi Verschelde
d80ce0c52a
Merge pull request #83093 from groud/fix_polygon_editor_undo_redo
Fixes undo/redo in tileset polygon editor
2023-10-10 12:34:46 +02:00
Gilles Roudière
8b608f3e6e Fixes undo/redo in tileset polygon editor 2023-10-10 10:33:05 +02:00
Rémi Verschelde
71a8ac41fb
Merge pull request #72751 from dalexeev/doc-comment-color
Highlight doc comments in a different color
2023-10-09 23:21:54 +02:00
Rémi Verschelde
a1d7c62df7
Merge pull request #83003 from AThousandShips/null_check_extra
Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-10-09 15:37:14 +02:00
Rémi Verschelde
7513ae6d06
Merge pull request #81812 from MewPurPur/zoomies
Incorporate min and max zoom limits into the EditorZoomWidget
2023-10-09 15:31:49 +02:00
Danil Alexeev
de7cbe8789
Highlight doc comments in a different color 2023-10-08 19:26:10 +03:00
A Thousand Ships
f18aa00e85 Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-10-08 17:23:33 +02:00
Omar Shehata
c25a2d832b Fix external editor hot reload 2023-10-07 22:14:54 -04:00
MewPurPur
44d782681c Incorporate min and max zoom limits into the EditorZoomWidget 2023-10-07 20:41:59 +03:00
Hugo Locurcio
ac723b3e44
Enable UV2 on primitive meshes when using the MeshInstance3D context menu
This makes it easier to discover the UV2 generation functionality
on primitive meshes.
2023-10-07 02:18:55 +02:00
Saracen
3defc17646 Fix debugger behaviour with multi-session debugging:
Fixes script editor debug menu on sessions other than 1
Fixes breakpoint toggle from menu in sessions other than 1
Removes execution display when switching to non-breaked sessions
2023-10-06 19:20:37 +01:00
Rémi Verschelde
49e2bd9d5b
Merge pull request #81523 from KoBeWi/epic_self_roast
Allow contextual plugins to persist temporarily
2023-10-06 16:50:53 +02:00
Rémi Verschelde
7b999ee074
Merge pull request #81284 from YeldhamDev/this_one_was_in_the_backlog_for_a_while
Show doc tooltips when hovering properties in the theme editor
2023-10-06 16:50:48 +02:00
kobewi
a6de7a8a3f Allow contextual plugins to persist temporarily 2023-10-06 15:58:50 +02:00
Rémi Verschelde
fba341ce44
Merge pull request #82901 from kleonc/sprite-base-3d-gizmo-plugin
Make gizmo plugin handle `SpriteBase3D` instead of `Sprite3D`
2023-10-06 12:53:13 +02:00
Rémi Verschelde
373c4b22d3
Fix various typos with codespell
Using 2.2.7.dev5+g2af65969.
2023-10-06 12:52:22 +02:00
kleonc
db6a8956b2 Make gizmo plugin handle SpriteBase3D instead of Sprite3D 2023-10-06 11:03:44 +02:00
jsjtxietian
b0ccd5c84f Prompt require editor restart to user when gizmo color changed 2023-10-06 15:02:03 +08:00
Rémi Verschelde
642479db1e
Merge pull request #79872 from dalexeev/sprite-frames-editor-2
SpriteFrames Editor: Fix Frame Duration applied to wrong frame when switching frame
2023-10-05 22:48:04 +02:00
Rémi Verschelde
3cf1bc0a24
Merge pull request #79692 from dalexeev/sprite-frames-editor
SpriteFrames Editor: Fix FPS applied to two animations when switching animation
2023-10-05 22:47:37 +02:00
kobewi
5d85551ab3 Fix unsaved changes not getting discarded 2023-10-05 14:03:02 +02:00
kobewi
09b30be86d Add vararg call() method to C++ Callable 2023-10-05 11:35:29 +02:00
Michael Alexsander
34e6b86134
Show doc tooltips when hovering properties in the theme editor 2023-10-04 11:53:08 -03:00
kleonc
6f941cd8e3 Fix transform calculations for drag-moving CanvasItems in editor 2023-10-04 15:44:34 +02:00
Rémi Verschelde
5680d729f2
Merge pull request #80939 from RandomShaper/fix_onion
Revive onion skinning
2023-10-04 15:33:25 +02:00
Rémi Verschelde
f5696c311c
Merge pull request #82728 from KoBeWi/king_icong
Fix node icons appearing too big in some cases
2023-10-03 17:27:53 +02:00
Pedro J. Estébanez
071d8e5c9c Revive onion skinning
This also reverts commit 6bbc3cbf04.
2023-10-03 16:52:25 +02:00
kobewi
52b62921b0 Fix node icons appearing too big in some cases 2023-10-03 15:56:13 +02:00
AttackButton
93cccda827 Add a button to clear curve points in the Path2D editor 2023-10-03 09:33:38 -03:00
Yaohua Xiong
ce4f64524f Improve Path3D gizmo usability
Allow change tilt gizmo color and size in editor setting
2023-10-03 09:43:24 +08:00
Rémi Verschelde
57a6813bb8
Merge pull request #81582 from YuriSizov/graph-toolbarniceness
Make `GraphEdit` toolbar more customizable
2023-10-02 15:18:42 +02:00
Rémi Verschelde
2d6cee48f6
Merge pull request #80555 from GrammAcc/fix-80507
AssetLib: Fix long plugin names breaking the UI
2023-10-02 15:18:38 +02:00
Yuri Sizov
b07c664af9 Make GraphEdit toolbar more customizable
Also adds a semi-transparent background
to make the toolbar stand out in front of nodes.
2023-10-02 13:43:08 +02:00
Rémi Verschelde
1d6f37f80c
Merge pull request #82573 from Chaosus/fix_animationtree_crash
Fix crash when deleting the player in `AnimationPlayerEditorPlugin`
2023-10-02 13:16:35 +02:00
Rémi Verschelde
bc118b36ac
Merge pull request #82370 from YuriSizov/graphs-request-rename-close-delete-please
Rename close requests to delete requests in `GraphEdit`
2023-10-02 13:16:28 +02:00
GrammAcc
d63a88bef1 AssetLib: Fix long plugin names breaking the UI
The UI was extending past the screen width when loading a page diplaying
a plugin with an especially long title in the asset store plugin.

I implemented a new `EditorAssetLibraryItem::clamp_width` method that
checks that the title text is not longer than the column width minus
some padding and truncates it if it is.

I also noticed that the nav buttons for paginated results were causing the UI to extend past
the screen width on higher editor scales since they were hardcoded to
show ten page buttons if there were enough results. I modified the
pagination slightly to display a dynamic number of nav buttons based on
the editor scale in order to fix this other cause of the same problem.

I had to use the font of the `title`, which is a `LinkButton` in order
to determine the text width, so I added a public getter `get_button_font` to the `LinkButton` class.
2023-09-30 18:16:39 -05:00
Yuri Rubinsky
8980211c08 Fix crash when deleting the player in AnimationPlayerEditorPlugin 2023-09-30 09:53:12 +03:00
Silc Lizard (Tokage) Renew
afe25937e4 Add useful functions to FilterEdit in AnimationBlendTreeEditor 2023-09-30 03:01:16 +09:00
Rémi Verschelde
55ba576c58
Merge pull request #81688 from Chaosus/vs_custom_dropdown_list_props
Implement drop-down list properties to the custom visual shader nodes
2023-09-29 19:45:54 +02:00
Rémi Verschelde
94377f50b2
Merge pull request #80813 from TokageItLab/rework-animation-manager
Implement `AnimationMixer` as a base class of `AnimationPlayer` and `AnimationTree`
2023-09-29 10:20:16 +02:00
Yuri Roubinski
4575cc0c6f Implement drop-down list properties to the custom visual shader nodes 2023-09-29 10:55:05 +03:00
Silc Lizard (Tokage) Renew
1b95827d3e Implement AnimationManager the base class of AnimationPlayer/Tree 2023-09-29 08:23:57 +09:00
aXu-AP
0506d6f192 Fix opening docs writing extra navigation history
Fix #82292
Removes extraneous call to change the tab if the page wasn't yet open when opening class member description.
2023-09-29 00:03:18 +03:00
Yuri Sizov
0b7ff759f9 Merge pull request #82465 from smix8/tilemap_navmesh_bake_4.x
Update TileMap to use new navigation polygon baking
2023-09-28 20:04:33 +02:00
Yuri Sizov
7c23d4082b Merge pull request #82391 from warriormaster12/improve-skeleton_ik3D
Fix `SkeletonIK3D` editor preview when changing active node
2023-09-28 20:04:30 +02:00
Yuri Sizov
f2ab40cd4d Merge pull request #81708 from JoNax97/drop-resource-with-variable
Create a field when Ctrl-dropping a resource into the code editor
2023-09-28 20:04:07 +02:00
smix8
27267b62cb Update TileMap to use new navigation polygon baking
Updates TileMap to use new navigation polygon baking.
2023-09-28 10:35:47 +02:00
warriormaster12
ddf93f3f59 Make SkeletonIk3D node usable 2023-09-28 07:38:50 +03:00
Joaquin Muñiz
a93c19f373 create a constant when dropping a resource into the code editor while CRTL is held, and fix some inconsistencies 2023-09-27 14:37:00 -03:00
Yuri Sizov
5e3229b7ed Fix leak when closing theme editor preview tabs 2023-09-27 15:29:20 +02:00
Hugo Locurcio
fcbf7011cc
Make 3D editor gizmos and debug shapes ignore fog
This makes them easier to see in their intended colors in scenes with fog.
2023-09-27 00:54:57 +02:00
kobewi
e30e84d77a Fix submenus deleted accidentally 2023-09-26 16:47:33 +02:00
Yuri Sizov
378ab38b1f Rename close requests to delete requests in GraphEdit 2023-09-26 16:41:39 +02:00
Rémi Verschelde
2c8c7b95aa
Merge pull request #82313 from AThousandShips/null_check_servers
[Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicable
2023-09-26 13:45:31 +02:00
Rémi Verschelde
10cf3d0524
Merge pull request #81843 from TokageItLab/improve-automapping
Improve retarget auto-mapping algorithm
2023-09-26 08:22:11 +02:00
Rémi Verschelde
7dccb9e039
Merge pull request #80796 from smix8/navgenerator_2d_4.x
Add 2D navigation mesh baking
2023-09-26 08:17:58 +02:00
PucklaMotzer09
d2e651f403 Add Duplicate Lines shortcut to CodeTextEditor
This keyboard shortcut has been made with inspiration from the VS Code keyboard shortcut editor.action.copyLinesDownAction. It duplicates all selected lines and inserts them below no matter where the caret is within the line.
2023-09-25 23:41:31 +02:00
smix8
0ee7e3102b Add 2D navigation mesh baking
Adds 2D navigation mesh baking.
2023-09-25 19:48:14 +02:00
A Thousand Ships
fdd3d36c6d [Servers] Replace ERR_FAIL_COND with ERR_FAIL_NULL where applicable 2023-09-25 18:45:30 +02:00
Rémi Verschelde
fcbc50ec14
Merge pull request #82302 from MewPurPur/alt-font-icon
Add Font and Mesh icons that aren't grayed out
2023-09-25 18:38:29 +02:00
Rémi Verschelde
8ddf73c74d
Merge pull request #81939 from YuriSizov/gui-flat-and-depressed
Replace flat buttons with flat-styled buttons with a visible pressed state
2023-09-25 17:18:29 +02:00
MewPurPur
fb030beac5 Add white Font and Mesh icons 2023-09-25 17:29:14 +03:00
Dario
057367bf4f Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.
Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
2023-09-25 10:37:47 -03:00
Rémi Verschelde
37d5e1e0e3
Merge pull request #82210 from YuriSizov/editor-animation-uiux-cleanup
Fix theme access and improve UX in AnimationTree editor
2023-09-24 23:36:33 +02:00
Rémi Verschelde
810021c7cd
Merge pull request #82181 from Chaosus/curve_fix_crash
Fix CurveEdit crash when dragging the curve if it is null
2023-09-24 23:34:58 +02:00
Rémi Verschelde
04317bc784
Merge pull request #82171 from timothyqiu/sep-leak
Fix leak when calling `remove_control_from_menu_panel`
2023-09-24 23:34:35 +02:00
Rémi Verschelde
6d8b33f5d4
Merge pull request #82131 from jsjtxietian/fix-skeleton-editor-deleted-in-wrong-container
Fix skeleton 3d editor's toolbar ui deleted from wrong container
2023-09-24 23:33:42 +02:00
Rémi Verschelde
3237b5d08f
Merge pull request #71915 from MewPurPur/grid-ient
Overhaul the Gradient Editor
2023-09-24 23:29:35 +02:00
jsjtxietian
2679118d51 Fix skeleton 3d editor's toolbar ui deleted from wrong container 2023-09-24 11:28:46 +08:00
Haoyu Qiu
2d67ce4e60 Fix leak when calling remove_control_from_menu_panel 2023-09-24 08:35:45 +08:00
Yuri Sizov
b351cffddf Fix theme access and improve UX in AnimationTree editor 2023-09-23 21:47:27 +02:00
Yuri Rubinsky
6d9e4e9704 Fix CurveEdit crash when dragging the curve if it is null 2023-09-23 11:44:54 +03:00
DennisManaa
f248420a2b made visual shader ports expandable by default if there is only one output port and it's of any vector type
Co-authored-by: QbieShay <cislaghi.ilaria@gmail.com>
2023-09-22 15:28:59 +02:00
MewPurPur
7b86969719 Overhaul the Gradient Editor 2023-09-21 15:55:28 +03:00
kobewi
07a00cf822 Don't allow transforming scene tiles 2023-09-20 14:10:21 +02:00
Rémi Verschelde
f2baba6ddb
Merge pull request #81927 from KoBeWi/uid﹕﹕∕∕c1ick
Make UIDs clickable in the script editor
2023-09-20 13:10:08 +02:00
Rémi Verschelde
b7c524d358
Merge pull request #81925 from groud/fix_tilemap_editor_ctrl_deselect
Fix TileMap editor so that pressing control deselects cells correctly
2023-09-20 13:10:04 +02:00
Yuri Sizov
4bd569be95 Replace flat buttons with flat-styled buttons with a visible pressed state 2023-09-19 22:36:29 +02:00
kobewi
3f43044a40 Make UIDs clickable in the script editor 2023-09-19 15:59:03 +02:00
Gilles Roudière
83f1e31483 Fix TileMap editor so that pressing control deselects cells correctly 2023-09-19 15:12:03 +02:00
ajreckof
6afadbaa9f Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platform 2023-09-19 10:29:07 +02:00
Rémi Verschelde
01d9162a98
Merge pull request #81813 from MewPurPur/fix-paint-icon
Fix grayed out paint icons
2023-09-18 10:38:28 +02:00
Rémi Verschelde
9892bc2478
Merge pull request #81810 from AThousandShips/camera_m
Make editor camera speed indicator use `m/s` and `m`
2023-09-18 10:38:24 +02:00
Rémi Verschelde
3e233e1f24
Fix various typos with codespell
Using 2.2.6.dev193+g907e5380.
2023-09-18 09:53:39 +02:00
Silc Lizard (Tokage) Renew
c1c4a09527 Improve retarget auto-mapping algorithm 2023-09-18 12:51:15 +09:00
MewPurPur
c094631ba0 Fix grayed out paint icons 2023-09-17 19:23:28 +03:00
A Thousand Ships
8d7a2c615c Make editor camera speed indicator use m/s and m 2023-09-17 18:04:58 +02:00
Rémi Verschelde
ba54c34551
Merge pull request #81735 from KoBeWi/360_no_scope
Fix rotated 2D movement gizmo
2023-09-16 21:25:17 +02:00