1
0
Fork 0
Commit Graph

6776 Commits

Author SHA1 Message Date
Kiro 4915f916a4 Improve sphere gizmo performance 2025-03-10 20:12:43 +01:00
Thaddeus Crews b40e6a55ac
Merge pull request #101884 from aaronp64/camera_gizmo_fov_fix
Fix `Camera3D` gizmo representation to accurately reflect FOV
2025-03-10 10:01:13 -05:00
A Thousand Ships 331a43a9d8
Add `String::remove_char(s)` methods for performance and convenience 2025-03-10 13:19:28 +01:00
Haoyu Qiu 82a0290871 Add auto translate mode for items in PopupMenu and OptionButton 2025-03-09 23:50:11 +08:00
Aaron Franke c7649f4f9c
Fix stuck editor cameras and fix 3D error spam for non-finite transforms 2025-03-08 23:10:30 -08:00
Haoyu Qiu f329439249 ScriptEditor: Disable auto translation of the filename label 2025-03-09 10:01:26 +08:00
A Thousand Ships 466590d0ec
Use `get_slicec` instead of `get_slice` for single character splitters 2025-03-08 20:36:37 +01:00
Aaron Franke 4f1bcbd97f
Rename internal `view_menu` in 3D editor code 2025-03-08 02:06:56 -08:00
Thaddeus Crews 324512e11c
Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
Thaddeus Crews 3c43508ed7
Merge pull request #102427 from AThousandShips/fix_substr
Clean up some uses of `String::substr`
2025-03-07 15:12:33 -06:00
Thaddeus Crews c937b6d180
Merge pull request #102419 from Ivorforce/std-size
Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase.
2025-03-07 15:12:25 -06:00
Thaddeus Crews 30221571f2
Merge pull request #99094 from KoBeWi/preload_dct2slt82u81fo8dkxkak5o57
Drop preload Resources as UID
2025-03-07 15:12:24 -06:00
Thaddeus Crews 76952ba0a1
Merge pull request #90034 from KoBeWi/only_save_when_save
Don't save unnecessarily with `save_before_running`
2025-03-07 15:12:22 -06:00
aaronp64 7e4d635c2f Fix Camera3D gizmo representation to accurately reflect FOV
Updated gizmo drawing to keep depth proportional to width or height based on whether FOV is horizontal or vertical.
2025-03-07 14:33:54 -05:00
kobewi c1b08dda36 Don't save unnecessarily with save_before_running 2025-03-07 19:14:50 +01:00
DE-YU_H14 a49ca33a7f Implement properties that recursively disables children's focus & mouse filter.
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-03-07 22:34:58 +08:00
A Thousand Ships 5113022dfe
Clean up some uses of `String::substr`
Cases where the end position is either equvalent to the default or past
the end of the string.
2025-03-07 14:50:38 +01:00
Haoyu Qiu ef4636ac59 Fix some i18n issues in visual shader editor 2025-03-07 18:39:45 +08:00
Michael Alexsander b7f823c4c7
Make Game view follow more editor settings 2025-03-06 23:08:34 -03:00
Gustavo Jaruga Cruz afe47b6850 Makes embed floating window respect always on top 2025-03-06 22:12:45 -03:00
kobewi dade8bd66f Update script modified times when saved in EditorNode 2025-03-06 14:47:33 +01:00
Rémi Verschelde b33e20be21
Merge pull request #103301 from marcgpuig/unify-csgpolygon3d-gizmos
Unify CSGPolygon3D gizmos with the other geometries
2025-03-04 01:00:47 +01:00
Hugo Locurcio 4cd2d9e210
Use physical keys for the Q/W/E/R 3D editor shortcuts
This ensures they work consistently regardless of keyboard layout,
like freelook already does. The intent is to use the first 4 letter
keys on the top row of the keyboard.
2025-03-04 00:11:17 +01:00
Hilderin 0c9caccb33 Fix invalid startup embedded game location and size after resizing editor main area 2025-03-02 06:22:02 -05:00
Marc Garcia Puig 57d8ef5d23 Disabled depth test for line and handle materials 2025-02-25 22:56:56 +01:00
matheusmdx 110a29853b Minor adjusts in the 'Show in Filesystem' code in SpriteFrames editor 2025-02-23 17:20:13 -03:00
Rémi Verschelde ba47acab0a
Merge pull request #103105 from Hilderin/fix-embedded-game-window-first-startup-location-size
Fix Embedded Game window wrong first startup location and size
2025-02-23 12:12:51 +01:00
Rémi Verschelde 05c56e8393
Merge pull request #103052 from Hilderin/fix-embedded-game-mouse-over-not-focused-windows
Fix Embedded Game does not focus when mouse over on Windows
2025-02-23 12:12:47 +01:00
Hilderin 068d40a5a9 Fix Embedded Game window wrong first startup location and size 2025-02-20 20:24:12 -05:00
Hilderin c7bc322bf6 Fix Embedded Game does not focus when mouse over on Windows 2025-02-20 16:28:18 -05:00
Rémi Verschelde fe799deee0
Merge pull request #103050 from matheusmdx/fix-show-in-filesystem-crash
Don't show `Show in Filesystem` Popup for empty frames in `SpriteFrames` editor
2025-02-20 16:51:57 +01:00
matheusmdx 63f7e4d16e Don't show 'show in files' popup for empty frames 2025-02-19 19:25:28 -03:00
A Thousand Ships fec3d9e68c
[Editor] Fix return of `EditorTranslationParserPlugin._parse_file`
Merged `_get_comments` into `_parse_file` and changed to using a
returned `Array[PackedStringArray]` instead.
2025-02-19 20:11:24 +01:00
Hilderin 136c4c64a0 Fix Embedded Game over expanded bottom panel - Simple version 2025-02-18 17:55:47 -05:00
Kasper Arnklit Frandsen 03812fde8a Add emission shape gizmos to Particles2D 2025-02-18 11:29:29 +00:00
arkology 77df31bc12 Add tooltip for `StyleBoxPreview` grid button 2025-02-17 16:08:19 +03:00
Jayden Sipe 6b257364bd Fix deleting every empty theme override 2025-02-15 23:34:02 -05:00
arkology cb918cc817 Add custom minimum size for shader tabs 2025-02-14 22:40:53 +03:00
Thaddeus Crews b2aae7b729
Merge pull request #102833 from Hilderin/fix-game-embeddeing-not-available-wayland
Fix "Game embedding not available" message on Wayland
2025-02-14 08:25:37 -06:00
Thaddeus Crews 4a08fdc2a7
Merge pull request #102640 from olanti-p/fix-add-alt-tile-button
Fix multiple issues with 'add alternative tile' tileset editor button
2025-02-14 08:25:26 -06:00
Hilderin d9f653988f Fix Game Embedding Not Available message on Wayland 2025-02-14 09:09:38 -05:00
Rémi Verschelde 23634b52e1
Merge pull request #102811 from KoBeWi/LSD
Fix modified time when LSP reload script
2025-02-13 23:35:15 +01:00
Rémi Verschelde 794b9395a8
Merge pull request #102559 from stuartcarnie/sgc/fix_previews
Editor: Fix AtlasTexture editor previews for compressed textures
2025-02-13 23:35:02 +01:00
Thaddeus Crews 3dd68d8841
Merge pull request #102704 from Giganzo/add-freelook-speed
Add changeable freelook speed in Game Window
2025-02-13 10:15:46 -06:00
Thaddeus Crews b853aceece
Merge pull request #102286 from ryevdokimov/fix-collision-reposition-csgshape
Fix collision reposition with `CSGShape3D`
2025-02-13 10:15:41 -06:00
Robert Yevdokimov 6f0a0ba408 Fix collision reposition with `CSGShape3D` 2025-02-13 19:31:58 +04:00
kobewi 6abb40990a Fix modified time when LSP reload script 2025-02-13 16:15:22 +01:00
Olanti f389776d7d Fix issues with 'create alternative tile' button
Fix button sizing for small tile sizes.
Stop button from preventing MMB panning.
Support undo operations for the button.
Hide button when "Paint" mode is active.
2025-02-13 15:43:14 +03:00
Innaias eb99adb11b Added warning line highlight 2025-02-11 18:59:28 -08:00
kobewi 3448fe6c71 Split repeated translation for floating windows 2025-02-11 14:51:09 +01:00
kobewi d29a7450fa Drop preload Resources as UID 2025-02-11 14:17:05 +01:00
kobewi 59f558c8a5 Split repeated translation in Game plugin 2025-02-10 18:45:30 +01:00
Giganzo cedcc2444e Add changeable freelook speed in Game Window 2025-02-10 17:18:52 +01:00
Rémi Verschelde fa85645c1a Merge pull request #102618 from Hilderin/fix-slow-resize-embedded-game-v2
Fix lag when resizing Floating Game Window
2025-02-10 10:49:54 +01:00
Giganzo f7b6f98215 Fix MenuButton style in editor top menu bar 2025-02-10 10:03:54 +01:00
Rémi Verschelde 2fd6c635d5 Merge pull request #102744 from Hilderin/fix-floating-window-freeze-when-moving
Fix Game and editor freeze when clicking on the game's title bar
2025-02-12 11:21:11 +01:00
Rémi Verschelde bd87c3a76b Merge pull request #102247 from Hilderin/fix-embedded-game-modal-dialog
Fix Modal Dialog with Embedded Game
2025-02-12 11:21:01 +01:00
Hilderin e9fef1c833 Fix Game and editor freeze when clicking on the game's title bar 2025-02-11 21:41:03 -05:00
Rémi Verschelde caaa3e5f4b Merge pull request #102692 from a-johnston/avoid_preview_error_for_animation_node
Prevent off-thread errors when generating resource previews for animation nodes
2025-02-11 23:59:22 +01:00
Adam Johnston c82c5b0701 Prevent off-thread errors when generating resource previews for animation nodes 2025-02-11 11:19:32 -08:00
Fredia Huya-Kouadio 7495a8a02e Add support for embedding game process in the Android Editor
- Implement Android editor specific `EmbeddedGodotGame` to support embedding the game window in the Android editor
2025-02-11 02:20:18 -08:00
Giganzo 030d63eed9 Add tooltip text to Polygon3DEditor buttons 2025-02-10 08:20:08 +01:00
Danil Alexeev ead16435bf
Script Editor: Add option to disable documentation tooltips 2025-02-09 11:02:10 +03:00
Hilderin b0ac51217a Fix Lag when resizing Floating Game Window 2025-02-08 21:32:28 -05:00
Stuart Carnie 3084ed4bff editor: Fix AtlasTexture editor previews for compressed textures 2025-02-09 06:40:05 +11:00
Lukas Tenbrink e34f1f504c Use `std::size` instead of `sizeof(a) / sizeof(a[0])` pattern throughout the codebase. 2025-02-07 14:57:48 +01:00
Haoyu Qiu 577f90feba Fix heap-use-after-free when changing 2D editor selection 2025-02-07 09:30:02 +08:00
Rémi Verschelde 00d806a9ae Merge pull request #102470 from Hilderin/fix-floating-window-close-opened-dialog
Fix Floating Window request close when a dialog is opened
2025-02-07 01:39:38 +01:00
Rémi Verschelde cbb58b4a75 Merge pull request #102014 from ryevdokimov/fix-visible-viewport-gizmos-startup
Fix visible viewport gizmos when preview camera is enabled on startup
2025-02-07 01:39:23 +01:00
Hilderin a9e06b8f64 Fix Modal Dialog with Embedded Game 2025-02-05 21:14:34 -05:00
Hilderin a3d03717c0 Fix Floating Window request close when a dialog is opened 2025-02-05 20:34:32 -05:00
Rémi Verschelde ff0049e0d0 Merge pull request #102390 from stuartcarnie/102388/fix_selection
Editor: Fix node selection within SubViewports using size 2d override
2025-02-05 11:34:08 +01:00
Rémi Verschelde 7f4097a83a Merge pull request #102116 from Giganzo/tree-get_item_rect
Fix `get_item_area_rect` when tree is scrolled
2025-02-05 11:33:58 +01:00
Stuart Carnie 636b822781 editor: Fix node selection within SubViewports using size 2d override 2025-02-05 05:37:35 +11:00
Thaddeus Crews 2675997487
Merge pull request #102251 from Hilderin/fix-slow-resize-embedded-game
Fix slow resize Embedded Game Window
2025-02-03 11:14:41 -06:00
Thaddeus Crews 7c0ce4e793
Merge pull request #102278 from Chaosus/vs_fix_preview_mouse_filter
Fix mouse filter on visual shader node previews
2025-02-03 08:16:05 -06:00
Thaddeus Crews 6c53ec1c51
Merge pull request #102297 from KoBeWi/lost_modified_time
Update modified time when reloading script
2025-02-03 08:16:02 -06:00
Robert Yevdokimov 5878b880ae Add "active" state to one of the multiple selected Node3Ds to determine basis in Local mode 2025-02-03 16:57:30 +04:00
Hilderin 3387ee1ab2 Fix Floating Window focus on run 2025-02-01 21:15:54 -05:00
kobewi a65fa94a21 Update modified time when reloading script 2025-02-01 19:15:09 +01:00
Chaosus 7cc0bf79dd Fix mouse filter on visual shader node previews 2025-02-01 13:25:28 +03:00
Hilderin 65e14fd16b Fix slow resize Embedded Game Window 2025-01-31 12:02:06 -05:00
Thaddeus Crews fe77e5ec73
Merge pull request #102212 from KoBeWi/half_of_a_point
Fix vertex indices showing as float
2025-01-31 09:15:41 -06:00
Hilderin f601117c74 Fix Embed Game not available when multi window is disabled 2025-01-31 07:56:54 -05:00
kobewi 1c2e82ed0b Fix vertex indices showing as float 2025-01-30 23:22:20 +01:00
kobewi 0b397d979d Add editor setting for FPS mode and compat 2025-01-30 14:01:48 +01:00
Giganzo bde87db443 Fix get_item_area_rect when tree is scrolled 2025-01-30 12:27:03 +01:00
Thaddeus Crews dba30234b5
Merge pull request #101798 from Chaosus/fix_animation_editor_fps_spinbox
Fix incomplete FPS spinbox display in sprite frames editor
2025-01-29 17:45:19 -06:00
Thaddeus Crews 108e662bea
Merge pull request #102006 from Hilderin/fix-embedded-game-paused
Fix flickering in embedded game when paused
2025-01-28 09:03:19 -06:00
kobewi cc2ea339d8 Mark main screen plugin names for translation 2025-01-27 22:31:47 +01:00
Hilderin 3580509fee Fix flickering in embedded game when paused 2025-01-27 16:21:08 -05:00
Thaddeus Crews a366f23f3d
Merge pull request #102027 from YeldhamDev/missing_game_view_metadata
Add missing metadata saving for embed size mode
2025-01-27 09:46:17 -06:00
Thaddeus Crews 6fdf91cc2f
Merge pull request #101616 from KoBeWi/how_was_it_even_functional
Rework script external modification tracking
2025-01-26 11:49:20 -06:00
Hugo Locurcio 375e43b39b
Increase NavigationLink3D gizmo detail to match other circle/sphere 3D gizmos
This makes the gizmo look less "angular".
2025-01-25 17:44:36 +01:00
Michael Alexsander d5eab41b00
Add missing metadata saving for embed size mode 2025-01-25 13:25:56 -03:00
Robert Yevdokimov b567709fdd Fix visible viewport gizmos when preview camera is enabled on startup 2025-01-25 15:01:38 +04:00
Thaddeus Crews b298f6f479
Merge pull request #101936 from Hilderin/disable-game-embedding-single-window-mode
Disable Game Embedding in Single Window Mode
2025-01-24 09:05:41 -06:00
Hilderin e75f679124 Disable Game Embedding in Single Window Mode 2025-01-22 16:34:01 -05:00
bruvzg 8ddd4985ea [Editor] Add editor setting to globally override project game mode settings. 2025-01-22 17:39:56 +02:00
Thaddeus Crews fef1bc664a
Merge pull request #101807 from Hilderin/fix-embedded-game-size
Fix Embedded Game Size
2025-01-22 09:19:29 -06:00
Hilderin 9eed43d429 Fix NOTIFICATION_WM_CLOSE_REQUEST in Embedded Floating Window 2025-01-21 21:03:15 -05:00
Hilderin ae0b7ff42d Fix Embedded Game Size 2025-01-21 20:17:01 -05:00
Thaddeus Crews 9a2ab8514e
Merge pull request #101810 from BattyBovine/collision-polygon-3d-debug-colours
Add debug colours and fills to CollisionPolygon3D.
2025-01-21 11:55:29 -06:00
BattyBovine a3ef9de6a8 Add debug colours and fills to CollisionPolygon3D.
This brings CollisionPolygon3D up to feature parity with its counterpart
CollisionShape3D. Closes #101414.

In addition, adding this feature fixes the issue that CollisionPolygon3D
would never be rendered in exported builds, even if Visible Collision Shapes
is enabled at runtime. Closes #101413.
2025-01-20 18:27:05 -05:00
Thaddeus Crews bacf8d198d
Merge pull request #101014 from BattyBovine/cs3d-separation-ray-fix-2
Prevent errors when drawing debug meshes with no mesh data.
2025-01-20 16:25:48 -06:00
Thaddeus Crews 6fcaf71179
Merge pull request #101739 from Hilderin/fix-embedding-with-user-arguments
Fix Embedded Game Window with user arguments
2025-01-20 10:05:37 -06:00
Hilderin 05fcfede1e Fix Floating Game Window Title 2025-01-19 15:45:59 -05:00
Chaosus 0ceb992ffa Fix incomplete FPS spinbox display in sprite frames editor 2025-01-19 17:19:16 +03:00
Hilderin f216efdd6d Fix Embedded Game Window with user arguments 2025-01-18 00:36:07 -05:00
Thaddeus Crews 7b1ed520bd
Merge pull request #101592 from Ivorforce/float-constant-defs-translate-macos
Fix float constant descriptions not translating on macOS.
2025-01-17 17:09:26 -06:00
Thaddeus Crews 1351d3098e
Merge pull request #101565 from Hilderin/laspencer91/add-lookup-symbol-shortcut
Added shortcut for Lookup Symbol action
2025-01-17 17:09:24 -06:00
Lukas Tenbrink 27665436cd Fix float constant descriptions not translating on macOS. 2025-01-17 09:33:41 +01:00
Pāvels Nadtočajevs 05ce2fb0c8 Fix crash in `Particles3DEmissionShapeGizmoPlugin`. 2025-01-16 15:15:21 +02:00
kobewi b761ff662e Rework script external modification tracking 2025-01-16 01:03:26 +01:00
Adam Scott 33e16435f5
Replace some problematic uses of `String::num` to `String::num_int64` 2025-01-15 12:51:51 -05:00
laspencer91 ba411e95f8 Added shortcut for Lookup Symbol action
Co-authored-by: laspencer91 <laspencer@live.com>
2025-01-14 18:42:07 -05:00
Rémi Verschelde 19bb441a3b Merge pull request #100803 from larspet/uid-tooltip
Show tooltips for `res://` and `uid://` strings in ScriptEditor
2025-01-14 18:29:37 +01:00
Kasper Arnklit Frandsen ebf9681668 Add Show in FileSystem right click option to SpriteFrames 2025-01-14 16:55:14 +01:00
Lars Pettersson e813d3021b Show tooltips for res:// and uid:// strings in ScriptEditor 2025-01-14 15:29:41 +01:00
Rémi Verschelde dde7a9407a Merge pull request #101525 from TokageItLab/fix-shifted-joint-spring-bone
Fix shifted joint radius index in SpringBone gizmo and remove unused `end_bone_tip_radius` property
2025-01-14 12:09:16 +01:00
Rémi Verschelde f07e3ed551 Merge pull request #100157 from Zylann/texture_preview_channel_selector
Add color channel filter to editor texture previews
2025-01-14 12:08:54 +01:00
Silc Lizard (Tokage) Renew 7b3d14fbcd Fix shifted joint radius index in SpringBone gizmo/remove unused tips 2025-01-14 16:27:59 +09:00
Rémi Verschelde 2f6a18f7ff Merge pull request #101409 from TokageItLab/spring-bone
Implement SpringBoneSimulator3D to wiggle chained bones
2025-01-14 00:22:11 +01:00
Silc Lizard (Tokage) Renew 5472558a98 Implement SpringBoneSimulator3D to wiggle chained bones
Co-authored-by: lyuma <xn.lyuma@gmail.com>
Co-authored-by: fire <ernest.lee@chibifire.com>
Co-authored-by: SaracenOne <SaracenOne@gmail.com>
2025-01-14 05:43:57 +09:00
Rémi Verschelde 68190ce3bc Merge pull request #101478 from monxa/smaller-vc-min-size
Allow smaller minimum width of VersionControlEditorPlugin
2025-01-13 20:22:32 +01:00
Rémi Verschelde 06a49a9ad8 Merge pull request #101424 from kiroxas/improveNavigationLink3DGizmoPlugin_redrawPerformance
Improve `NavigationLink3DGizmoPlugin::redraw` performance
2025-01-13 20:22:16 +01:00
Rémi Verschelde 524cbec858 Merge pull request #100309 from Chaosus/vs_prevent_invalid_boolean_varying
Prevent using boolean varyings in vertex function of visual shaders
2025-01-13 20:21:43 +01:00
Alexander Montag fe5612fb5d Allow smaller horizontal size of VersionControlEditorPlugin 2025-01-13 03:32:29 +01:00
Kiro d36a9ab591 improve `NavigationLink3DGizmoPlugin::redraw` performance 2025-01-12 19:48:12 +01:00
Marc Gilleron c7a9d64eaf Add color channel filter to editor texture previews 2025-01-11 23:27:48 +00:00
kobewi 90ef140169 Add Copy Script UID option to Script Editor
Co-authored-by: Alex Drozd <drozdster@gmail.com>
2025-01-11 22:19:48 +01:00
Rémi Verschelde abf8e1e6f9 Merge pull request #101405 from Hilderin/fix-game-view-cannot-be-editor-feature-disabled
Fix Game View cannot be editor feature disabled
2025-01-10 23:06:50 +01:00
Rémi Verschelde 0332cee3d4 Merge pull request #101404 from ryevdokimov/mouse-enter-signal-to-notification
Change editor viewports gizmos mouse enter/exit from using signals to notifications
2025-01-10 23:06:47 +01:00
Rémi Verschelde 39f73bb9ff Merge pull request #101369 from ryevdokimov/cancel-viewport-rotation-gizmo
Add ability to cancel rotation from viewport rotation gizmo
2025-01-10 23:06:32 +01:00
Rémi Verschelde 867425fd62 Merge pull request #101021 from bruvzg/empick
[macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker.
2025-01-10 23:06:03 +01:00
Rémi Verschelde 138c2c8b51 Merge pull request #93399 from Chaosus/vs_sky_derivative
Add derivative functions to sky shader mode in visual shader
2025-01-10 23:05:38 +01:00
Miguel Coelho 3a6bfcb714 Implemented drag-and-drop logic for previewing themes
Dragging valid theme files (.tscn files with a Control node at the top)
from the filesystem region over to the ThemeEditor will preview the
theme in question in a new preview tab

Co-authored-by: Sofia Paiva <sofia.paiva@tecnico.ulisboa.pt>
2025-01-10 22:28:10 +01:00
Robert Yevdokimov a8f3c9727e Add ability to cancel rotation from viewport rotation gizmo 2025-01-10 15:41:06 -05:00
Hilderin 683cef1df5 Fix Game View cannot be editor feature disabled 2025-01-10 14:53:41 -05:00
Robert Yevdokimov d17cf852e3 Change editor viewports gizmos mouse enter/exit from using signals to notificatons 2025-01-10 13:41:49 -05:00
Yuri Rubinsky 0aede87b67 Add derivative functions to sky shader mode in visual shader 2025-01-10 10:28:02 +03:00
Pāvels Nadtočajevs b252867145 [macOS/Windows] Add `Emoji & Symbols` context menu item to LineEdit/TextEdit to show system character picker. 2025-01-10 09:25:34 +02:00
Rémi Verschelde 06a6a0bcdb Merge pull request #101350 from Calinou/path-draw-fewer-fish-bones
Draw fewer fishbones to improve Path gizmo readability and performance
2025-01-09 20:51:37 +01:00
Danil Alexeev cd918ff470
GDScript: Remove `RENAMED_IN_GODOT_4_HINT` from `GDScriptWarning::Code` enum 2025-01-09 21:07:41 +03:00
Hugo Locurcio 13a1391e73
Draw fewer fishbones to improve Path gizmo readability and performance
This affects both Path2D and Path3D.
2025-01-09 16:08:29 +01:00
Rémi Verschelde 0e3a5eda86 Merge pull request #101335 from Rocka06/spriteframes-duplicate-line
Fix frame list icon mode is set two times
2025-01-09 13:51:20 +01:00
Rémi Verschelde 67294625a4 Merge pull request #101315 from Rocka06/spriteframes-plugin-duplicate-style
Fix duplicate buttons style to match the other buttons in the SpriteFrames editor plugin
2025-01-09 13:51:10 +01:00
Rémi Verschelde a52291fcba LightmapGI: Fix another missing include to check for lightmapper_rd in editor 2025-01-09 12:53:12 +01:00
Sohonyai Tibor 7c3d46004b removed duplicate set_icon_mode 2025-01-09 09:59:15 +01:00
Sohonyai Tibor 25e0278525 fixed duplicate buttons style to match the other buttons in the SpriteFrames editor plugin 2025-01-08 21:58:34 +01:00
Aarni Koskela f134769506 Fix various typos
* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-08 14:47:42 +02:00
Rémi Verschelde 01913e0852 Merge pull request #101156 from Hilderin/fix-documentation-tooltip-over-debug-tooltip
Fix documentation tooltip over debug tooltip
2025-01-07 23:18:00 +01:00
Rémi Verschelde fdfa1f24a0 Merge pull request #101098 from KoBeWi/rect_pretender
Don't show "Drawing rect" when not actually drawing
2025-01-07 23:17:55 +01:00
Rémi Verschelde 0fee2724f0 Merge pull request #100751 from YYF233333/force_regex_with_editor
Force build editor with regex module, remove checking code
2025-01-07 23:17:35 +01:00
Rémi Verschelde 9788b3db1d Merge pull request #100569 from arkology/texture-preview-borders
Show "transparent background" texture only behind actual texture in `TexturePreview` class + add borders for readability
2025-01-07 23:17:32 +01:00
Rémi Verschelde ce6c3c5c28 Merge pull request #100556 from KoBeWi/unlimited_contextizer
Add more menus support to EditorContextMenuPlugin
2025-01-07 23:17:23 +01:00
Hilderin 731a1ec206 Fix documentation tooltip over debug tooltip 2025-01-07 16:42:29 -05:00
Yufeng Ying 34d8255947 Force build editor with regex module, remove checking code.
Fix include.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2025-01-07 19:43:23 +08:00
BattyBovine 6dc6ad2b86 Prevent errors when drawing debug meshes when surface count is zero.
Adds a few checks to ensure a debug collision mesh contains mesh data before
attempting to add it to the gizmo draw list. This prevents errors when using
SeparationRayShape3D, which is only intended to draw a single line, and
contains no mesh data.

Closes #100665
2025-01-06 21:35:52 -05:00
Rémi Verschelde caefffe9d5
Merge pull request #101153 from Hilderin/fix-embed-game-focus-border
Fix embedded game focus border
2025-01-06 22:49:18 +01:00
Rémi Verschelde 063731450d
Merge pull request #101096 from KoBeWi/fighting_the_SPAM
Don't print error when updating terrains tree without layer
2025-01-06 22:48:43 +01:00
Rémi Verschelde 2758b8666c
Merge pull request #101087 from KoBeWi/is_not_foreign
Fix converting root Sprite2D
2025-01-06 22:48:39 +01:00
Rémi Verschelde a06e9ebe91
Merge pull request #99439 from aXu-AP/polygon-editor-bottom-dock
Move UV editor to bottom dock, rename to Polygon editor
2025-01-06 22:47:04 +01:00
arkology db4ae2a91c Show "transparent background" texture only behind actual texture in `TexturePreview` class + add borders for readability 2025-01-07 00:10:21 +03:00
Hilderin db0fab8f8c Fix embedded game focus border 2025-01-05 08:35:44 -05:00
kobewi f8fd15690c Don't show "Drawing rect" when not actually drawing 2025-01-03 22:54:26 +01:00
kobewi 3366f08a2c Don't print error when updating terrains tree without layer 2025-01-03 22:23:52 +01:00
aXu-AP 8318eda899 Move Polygon2D editor to bottom panel
Move UV editor to bottom panel to allow realtime preview of results. Rename the editor to Polygon editor.

Refactor enums and rename polygon editor members.
Remove "uv" prefixes and clarify some names. Reorder/regroup some members in header file.
2025-01-03 22:22:55 +02:00
kobewi 685ff5be8f Fix converting root Sprite2D 2025-01-03 20:05:27 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
Rémi Verschelde 6c6e74408c
Merge pull request #94616 from Chaosus/vs_fix_vec4_constant
Change `VisualShaderNodeVec4Constant` type to vec4
2025-01-03 02:01:09 +01:00
Rémi Verschelde 94f23c342a
Merge pull request #101010 from smix8/navlink_debug_direction
Add NavigationLink debug direction indicator
2025-01-03 00:50:06 +01:00
Rémi Verschelde d484e23bce
Merge pull request #100113 from paddy-exe/particle-emission-shape-visual-separate-pr
Add visualization of 3D particle emission shapes
2025-01-03 00:48:22 +01:00
Rémi Verschelde 442f11462d
Merge pull request #99994 from kitbdev/fix-editor-viewport-group-anim
Allow Viewport children to lock, group, and insert keyframes
2025-01-03 00:48:09 +01:00
smix8 8dd0579bcd Add NavigationLink debug direction indicator
Adds direction indicator arrows to the NavigationLink debug depending on if a link is onewyay or bidirectional.
2025-01-02 01:07:26 +01:00
Thaddeus Crews e55ea94c73
Merge pull request #99800 from amarsero/bone2d-redo-crash
Fix use after free in redo of "Create Custom Bone2D(s) from Node(s)"
2024-12-30 08:58:56 -06:00
Hilderin cfac31b745 Fix debugging embedded game does not refocus on continue 2024-12-29 18:16:19 -05:00
Patrick Exner e689c122a6 Add visualization of 3D particle emission shapes
Co-authored-by: Kasper Arnklit Frandsen <kasper.arnklit@gmail.com>
2024-12-28 19:56:50 +01:00
A Thousand Ships a1846b27ea
Improve use of `Ref.is_null/valid`
Use `is_null` over `!is_valid` and vice versa.
2024-12-23 16:35:02 -05:00
Thaddeus Crews 3df8eb5abc
Merge pull request #100707 from dalexeev/editor-restore-old-ctrl-click
Editor: Restore old `Ctrl+Click` behavior
2024-12-23 11:15:19 -06:00
Thaddeus Crews 98c3138804
Merge pull request #92717 from KoBeWi/twisted_frying_pan
Add warped panning to every ViewPanner instance
2024-12-23 11:15:16 -06:00
Thaddeus Crews e041356f3c
Merge pull request #99357 from Giganzo/tile-map-grid-button
Fix button state of grid and highlight layer in tile map layer editor
2024-12-23 11:15:13 -06:00
Thaddeus Crews 98c5267ce5
Merge pull request #91388 from kitbdev/fix-goto-line
Make Goto line a Popup and column input
2024-12-23 11:15:12 -06:00
Thaddeus Crews e109ac21fb
Merge pull request #100708 from smix8/navobstacle2d_debug
Improve NavigationObstacle2D debug visuals and performance
2024-12-23 11:15:06 -06:00
Yufeng Ying f241c1fda0 Remove unused header in editor.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:38 +08:00
Yufeng Ying 73d85f46c9 Remove unused headers in scene.
Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:40:09 +08:00
Rémi Verschelde 6f2f90935d
Merge pull request #100370 from lander-vr/remove-boxes-refprobes-voxelgi
Remove solid boxes in gizmos of VoxelGI and ReflectionProbe
2024-12-22 00:10:02 +01:00
smix8 23ea3ab8d1 Improve NavigationObstacle2D debug visuals
Improves NavigationObstacle2D debug visuals by aligning them closer to their aleady improved 3D counterpart.
2024-12-21 19:53:17 +01:00
Danil Alexeev b8dfe2cca9
Editor: Restore old `Ctrl+Click` behavior 2024-12-21 21:10:09 +03:00
Rémi Verschelde 315f51b7ca
Merge pull request #100654 from mdelorme/mdelorme/issue_100649
Fix `@export` open scene button not working
2024-12-20 23:57:31 +01:00
Rémi Verschelde a11364d1e6
Merge pull request #99010 from Hilderin/embedding-game-process
Embed game process in editor
2024-12-20 23:56:43 +01:00
kobewi 9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
Maxime Delorme ff107cbeeb Fix @export open scene button not working 2024-12-20 15:36:28 +01:00
Thaddeus Crews 76d66d47dd
Merge pull request #99428 from Calinou/editor-default-enable-remote-deploy-debug
Enable Deploy with Remote Debug by default in the editor
2024-12-19 20:00:02 -06:00
Thaddeus Crews cbfc34d279
Merge pull request #100444 from Sauermann/fix-view-panner-mouse-warp
Fix `ViewPanner` panning-mouse-warp
2024-12-19 20:00:01 -06:00
Markus Sauermann 4887172a59 Fix `ViewPanner` panning mouse warp
Currently the mouse cursor jumps in unexpected ways, when a `ViewPanner`
is used in SubViewports or embedded Windows.

This is caused by providing wrong coordinate systems to
Input::warp_mouse_motion.

This PR replaces the use of `Input::warp_mouse_motion` with
`Viewport::wrap_mouse_in_rect` and makes sure, that the correct
coordinate systems are used.

This change makes it necessary, that all classes, that currently
use ViewPanner, need to provide the correct Viewport to ViewPanner.
2024-12-20 00:28:49 +01:00
Hilderin 9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
kobewi ba54a2805a Add more menus support to EditorContextMenuPlugin 2024-12-18 21:30:45 +01:00
kobewi 9682496d72 Add UndoRedo support to Load Emission Mask/Points 2024-12-18 18:29:00 +01:00
Rémi Verschelde e255f60634
Merge pull request #99158 from timothyqiu/shortshortcutcut
Make editor's shortcut names translated on-site
2024-12-18 09:52:56 +01:00