1
0
Fork 0
Commit Graph

6769 Commits

Author SHA1 Message Date
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
Haoyu Qiu bf4e5cca3f Make editor's shortcut names translated on-site 2024-12-18 13:00:30 +08:00
Haoyu Qiu 48db6669f6 Fix crash when using non-PackedScene resource for POT generation 2024-12-18 10:15:46 +08:00
Rémi Verschelde 7170a4176e
Merge pull request #100500 from MajorMcDoom/collision-gen-undo-fix
Fix errors when undoing collision generation for multiple meshes with different parents
2024-12-17 23:00:10 +01:00
Rémi Verschelde 55a3c6ba2b
Merge pull request #99471 from Arnklit/fix_undo_redo_for_texture_region_editor
Fix undo redo for the texture region editor
2024-12-17 22:59:33 +01:00
Rémi Verschelde 66b8101cef
Merge pull request #95460 from m4gr3d/enable_mouse_forward_back_buttons
Enable `BUTTON_FORWARD` and `BUTTON_BACK` mouse buttons on Android
2024-12-17 22:59:20 +01:00
Zi Ye 5b19f729c2 Fix errors when undoing collision generation for multiple meshes with different parents 2024-12-17 10:14:06 -06:00
Rémi Verschelde d60c0e21a6
Merge pull request #88313 from wagnerfs/run-time-anisotropic-filtering
Allow changing the anisotropic filter level at run-time per Viewport
2024-12-17 16:18:38 +01:00
Thaddeus Crews 02e196eb41
Merge pull request #98132 from aaronfranke/editor-plugin-get-plugin-icon-name
Rename internal EditorPlugin icon/name to match exposed methods
2024-12-16 12:09:57 -06:00
Aaron Franke 0ab3dc273e
Rename internal EditorPlugin icon/name to match exposed methods 2024-12-15 17:31:01 -08:00
Danil Alexeev 80d11500b5
Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Hilderin 4e19ab8afe
Fix connecting a signal with a double click is too difficult
Co-authored-by: Danil Alexeev <dalexeev12@yandex.ru>
2024-12-14 16:18:34 +03:00
landervr dd7325d3f7 remove solid boxes voxelGI and ReflectionProbe 2024-12-13 16:26:22 +01:00
Thaddeus Crews 7c015a768f
Merge pull request #99958 from lander-vr/reflection-probe-blend-property
Add Blend Distance property to ReflectionProbe
2024-12-12 16:13:32 -06:00
Thaddeus Crews c5f0d571b5
Merge pull request #97985 from RobProductions/add-tablet-nav-preset
Add `Tablet/Trackpad` 3D navigation preset
2024-12-12 16:13:24 -06:00
Rémi Verschelde 19e003bc08
Merge pull request #100306 from Uumutunal/master
Fix 3D editor snap setting values not being displayed correctly
2024-12-12 14:10:28 +01:00
Rémi Verschelde 26fec37389
Merge pull request #99942 from kitbdev/fix-invisible-subviewport-editor
Fix selecting and editing invisble items in SubViewports
2024-12-12 14:10:09 +01:00
kobewi 1bc70fe2e8 Fix 3D ruler theme overrides 2024-12-12 13:13:36 +01:00
Chaosus 059ed731f5 Prevent using boolean varyings in vertex function of visual shaders 2024-12-12 14:35:49 +03:00
Uumutunal 63b91381ab Fix 3D editor snap setting values not being displayed correctly 2024-12-12 11:37:24 +03:00
Thaddeus Crews 08b5bf3c5f
Merge pull request #95333 from Giganzo/lock-group-toggle
Fix Lock and Group for canvas items not updated in editor after changed in SceneTree
2024-12-11 17:36:02 -06:00
Thaddeus Crews c4aaad6aa2
Merge pull request #100183 from smix8/collision_polygon_shape_edit
Add basic editor editing for `ConvexPolygonShape2D` and `ConcavePolygonShape2D`
2024-12-11 17:35:55 -06:00
Thaddeus Crews a5cf24cb16
Merge pull request #100162 from ryevdokimov/measure-mode-3d
Add ruler mode to 3D
2024-12-11 17:35:46 -06:00
Yuri Rubinsky a40fc2354a
Merge pull request #100036 from Chaosus/hover_sname
[Scene] Add `SceneStringName::hover`
2024-12-11 12:24:09 +03:00
Chaosus 9a8d6628de [Scene] Add `SceneStringName::hover` 2024-12-11 11:11:25 +03:00
Chaosus 7adb986e15 Fix orphan strings in `AnimationNodeStateMachine` 2024-12-11 11:08:23 +03:00
smix8 7c84eba663 Add basic editor editing for ConvexPolygonShape2D and ConcavePolygonShape2D
Adds basic editor tooling to move the existing points of a ConvexPolygonShape2D or move the  segments of a ConcavePolygonShape2D while a CollisionShape2D node is selected.
2024-12-11 02:31:42 +01:00
Thaddeus Crews b789935a13
Merge pull request #100049 from Chaosus/flat_button_sname
[Scene] Add `SceneStringName::FlatButton`
2024-12-10 14:16:01 -06:00
Thaddeus Crews 14b2f62d04
Merge pull request #100247 from BlueCube3310/tex-preview-all
Consider all texture types for resource thumbnail generation
2024-12-10 14:15:44 -06:00
Robert Yevdokimov e2ed286d2d Add measure mode to 3D 2024-12-10 10:30:49 -05:00
BlueCube3310 ab0a2517b1 Consider all texture types for resource thumbnail generation 2024-12-10 14:57:10 +01:00
Chaosus ba39b078f5 [Scene] Add `SceneStringName::FlatButton` 2024-12-10 11:12:26 +03:00
Thaddeus Crews a607bca2fd
Merge pull request #100024 from Ivorforce/optimize-string-single-char
Optimize string single char contains calls.
2024-12-09 14:33:24 -06:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
landervr 05010180ce ReflectionProbe add Blend Distance 2024-12-05 23:29:47 +01:00
David 174e659a48
Add 3D translation sensitivity to Editor Settings 2024-12-05 22:50:52 +01:00
Thaddeus Crews 370e5f3b0e
Merge pull request #99920 from lander-vr/reflection-probe-ui-improvements
Clean up UI of ReflectionProbe
2024-12-05 14:12:12 -06:00
Student Main e0693f8ad8 Add loongarch64 support 2024-12-06 00:18:26 +08:00
Matt Enad bd47e4f1ba Add `Tablet/Trackpad` nav preset
This commit adds a new navigation preset called `Tablet/Trackpad` which enables "Emulate 3 Button Mouse" to more quickly set up good default keys for tablet users.

It also adds support for mouse buttons 4 and 5 in the navigation settings which will be helpful if users want to customize 3D navigation further for specific pens/mice.
2024-12-04 13:02:11 -05:00
kit 159d70a470 Allow Viewport children to lock, group, and key 2024-12-03 20:14:29 -05:00
Thaddeus Crews e5d62fa120
Merge pull request #99957 from StaydMcMuffin/preview_environment_sky_fix
Editor: Fix default preview environment sky's horizon and brightness.
2024-12-03 14:41:04 -06:00
landervr c3080e3378 Adjust VoxelGI gizmo opacity 2024-12-03 17:00:40 +01:00
Stayd 8ca1605bbb Fix default preview environment sky.
Fixes the horizon color being grey even when both
the sky and ground colors are set to black, and
makes the energy slider affect both hemispheres
rather than only affecting the top "sky" portion.
2024-12-03 02:34:33 -07:00
kit 93e06ff16c Fix select and edit invisble items in SubViewports 2024-12-02 17:12:51 -05:00
Rémi Verschelde e6125ef51b
Merge pull request #98763 from AThousandShips/more_sname_uses
Use `SceneStringName` in more places
2024-12-02 15:50:44 +01:00
Rémi Verschelde d6b20fd7e5
Merge pull request #98402 from vaner-org/highlight-node-neighbours
Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
2024-12-02 15:50:22 +01:00
Rémi Verschelde 463c479ac8
Merge pull request #98401 from vaner-org/green-arrow-priority-for-transition-selection
Prioritize proximity to green arrow when selecting overlapping transitions in AnimationNodeStateMachine
2024-12-02 15:50:17 +01:00
A Thousand Ships af56d6e8e8
Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
landervr a694cd7120 Clean up UI of ReflectionProbe 2024-12-02 11:52:11 +01:00
rune-scape d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
lullabyist 366fa9ff39 Reduce opacity of nodes with no shared transition when selecting an AnimationNodeStateMachine node
Applied suggestions from code review
2024-12-01 18:21:09 +05:30
lullabyist c5199a5017 Prioritize proximity to green arrow when selecting overlapping transitions in AnimationNodeStateMachine
Applied suggestions from code review
2024-12-01 18:20:38 +05:30
Wagner 6995b6a03e Allow changing the anisotropic filter level at run-time per Viewport 2024-11-30 00:50:45 -03:00
Rémi Verschelde 82311791db
Merge pull request #99802 from lander-vr/reflection-probe-wireframe
Fix ReflectionProbe AABB
2024-11-29 22:51:24 +01:00
Rémi Verschelde 60c6c4a1da
Merge pull request #99795 from YeldhamDev/selection_menu_for_all!
Make the alt selection menu available for all modes
2024-11-29 22:51:20 +01:00
Rémi Verschelde 4b0f1781cc
Merge pull request #99401 from Black-Cat/viewport-gizmos
Enable editing of controls inside viewports in editor
2024-11-29 22:50:55 +01:00
Rémi Verschelde 05b80ae0a1
Merge pull request #96449 from Maran23/editor-help-scroll-fix
Fix jumping to editor help does not scroll correctly sometimes
2024-11-29 22:45:51 +01:00
Rémi Verschelde 6d4bb8fbda
Merge pull request #94721 from ckaiser/animation-blend-tree-tweaks
Improve blend tree contrast/margins
2024-11-29 22:45:47 +01:00
Rémi Verschelde 5d462ee4c5
Merge pull request #67857 from anvilfolk/extended-curve
Extend Curve to allow for domains outside of [0, 1].
2024-11-29 22:45:19 +01:00
Rémi Verschelde 56a7dba10b
Merge pull request #99799 from akien-mga/fix-typos
Fix various typos and code style issues
2024-11-29 22:02:53 +01:00
Rémi Verschelde 7417a07904
Merge pull request #99742 from timothyqiu/clear-guides
Disable Clear Guides menu item when no guides exist
2024-11-29 22:02:33 +01:00
Geekotron 6ad82aba3b
Allow tool scripts to alter transform of Node3DEditorViewport camera 2024-11-29 18:48:01 +01:00
Agustín Marsero d514ab2952 Fixes use after free in redo of "Create Custom Bone2D(s) from Node(s)"
Using "queue_free" on the undo of the creation of the Bone2D meant that on the redo the Bone2D was already deleted.

Replaced it with "add_do_reference", so when the Action of the undo_redo is destroyed, also destroys the Bone2D.
2024-11-28 19:07:37 +01:00
Rémi Verschelde 88e81ee730
Fix various typos and code style issues 2024-11-28 17:40:42 +01:00
landervr 11225de197 Fix ReflectionProbe AABB 2024-11-28 17:31:29 +01:00
Michael Alexsander 5d70208da4
Make the alt selection menu available for all modes 2024-11-27 22:22:13 -03:00
Thaddeus Crews 9e259ef061
Merge pull request #97884 from passivestar/list-variations
Add theme type variations for secondary Trees and ItemLists
2024-11-27 10:47:14 -06:00
Thaddeus Crews c5cd7c66ee
Merge pull request #85443 from smix8/gridmap_castshadows
Add ShadowCastingSetting to MeshLibrary / GridMap items
2024-11-27 10:47:10 -06:00
Thaddeus Crews 0195a898b3
Merge pull request #95795 from yahkr/95769-animation-crash
Fix crash when re-importing model with AnimationPlayer panel open and node selected
2024-11-27 10:47:05 -06:00
Thaddeus Crews 30ab612e35
Merge pull request #90778 from timothyqiu/cam-preview
Add Camera3D preview in Inspector
2024-11-27 10:46:59 -06:00
Thaddeus Crews ea61c3e066
Merge pull request #97924 from passivestar/plugin-tooltip
Fix plugin creation dialog script name tooltip
2024-11-27 10:46:51 -06:00
Black Cat f57fea0b0f Enable editing of controls inside viewports in editor
Fixes #79289
2024-11-27 16:02:33 +00:00
Haoyu Qiu e515f593c2 Disable Clear Guides menu item when no guides exist 2024-11-27 08:27:15 +08:00
smix8 612981c1ea Add ShadowCastingSetting to MeshLibrary / GridMap items
Adds ShadowCastingSetting to MeshLibrary / GridMap items.
2024-11-27 01:06:21 +01:00
Thaddeus Crews 1dffdfdd5b
Merge pull request #94026 from passivestar/mac-align-transform-shortcut
[macOS] Change the shortcut for Align Transform with View
2024-11-26 13:04:55 -06:00
Thaddeus Crews 0ee60dd543
Merge pull request #99516 from KoBeWi/quantum_entanglement_of_source_files
Untangle ColorPicker includes
2024-11-26 13:04:54 -06:00
Jamie Greunbaum 0fc082e1ee
Add CollisionShape3D custom debug colours
This allows changing the display colour of a CollisionShape3D node on a per-shape basis.
It also adds the ability to display a solid coloured preview of a CollisionShape3D.

Closes https://github.com/godotengine/godot-proposals/issues/906
2024-11-26 16:28:13 +01:00
Thaddeus Crews 81733e6622 Merge pull request #99506 from Giganzo/scale-2d-selection
Change how multi selection scale is applied to canvas item
2024-11-25 13:22:28 -06:00
Bad Sector da191168fe Add VoxelGI bake cancelling and progress UI improvement 2024-11-23 21:12:57 +02:00
Thaddeus Crews 7faad0cc7a Merge pull request #97388 from tetrapod00/visualshader-linear-srgb
VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node
2024-11-22 14:54:47 -06:00
Thaddeus Crews eedc820f37 Merge pull request #99487 from passivestar/fix-viewport-offsets
Fix viewport message offsets
2024-11-22 14:54:16 -06:00
Thaddeus Crews f2763b23cf Merge pull request #99483 from badsectoracula/cancel_lightmap_bake
Add lightmap bake cancelling
2024-11-22 14:54:14 -06:00
Thaddeus Crews d6ad0f65d8 Merge pull request #99482 from Giganzo/toast_and_spam
Fix toast spam about child of container position
2024-11-22 14:54:13 -06:00
kobewi 289e548e34 Untangle ColorPicker includes 2024-11-22 21:42:50 +01:00
Christian Kaiser 5559075844 Fix graph node sizing regression, improve blend tree contrast/margins 2024-11-22 16:11:28 -03:00
Thaddeus Crews 2993289172
Merge pull request #86481 from Illauriel/add-animlib-folding
Add persistent folding to Animation Library Editor
2024-11-21 17:56:57 -06:00
Thaddeus Crews 5289709753
Merge pull request #99409 from passivestar/state-machine-focus-border-color
Expose state machine focus color to theming
2024-11-21 17:56:56 -06:00
Thaddeus Crews 8eee5066eb
Merge pull request #94981 from Chaosus/shader_fix_screen_uv_in_spatial_light
Allow `SCREEN_UV` to be used in light function of spatial shader
2024-11-21 17:56:45 -06:00
Giganzo c4bb252294 Change how multi selection scale is applied to canvas item 2024-11-21 20:52:33 +01:00
Bad Sector 5bca028e2b Add lightmap bake cancelling 2024-11-21 21:31:02 +02:00
passivestar 5cd0d42d2b Fix viewport message offsets 2024-11-21 08:24:08 +04:00
Kasper Arnklit Frandsen a72157c456 Fix undo redo for the texture region editor 2024-11-20 15:46:51 +00:00
Thaddeus Crews 918faec239
Merge pull request #98297 from Calinou/editor-tweak-lightmapgi-no-meshes-to-bake-error-dialog
Improve "No meshes to bake" LightmapGI error dialog in the editor
2024-11-19 15:20:12 -06:00
Illauriel 5de38f7fd3 Add persistent folding to Animation Library Editor 2024-11-19 20:01:30 +01:00
Hugo Locurcio 658bd5a32b
Enable Deploy with Remote Debug by default in the editor
This makes one-click deploy make use of remote debugging, so that
you can see output from the remote device, run the debugger and use
the monitor and performance/network profilers.
2024-11-19 16:12:22 +01:00
passivestar 0ff5d5fd04 Add theme type variations for secondary Trees and ItemLists 2024-11-19 18:33:30 +04:00
Giganzo 61cf0253ce Fix toast spam about child of container position 2024-11-19 11:25:28 +01:00
Chaosus a64b3fd3f8 Allow `SCREEN_UV` to be used in light function of spatial shader 2024-11-19 11:39:49 +03:00
passivestar edd6acdfd4 Expose state machine focus color to theming 2024-11-19 01:14:09 +04:00
Thaddeus Crews 8d530bc95a
Merge pull request #99176 from tracefree/obstacle_transform
Fix obstacle avoidance and 3D editor ignoring transform
2024-11-18 09:23:48 -06:00
Thaddeus Crews 8e324c4589
Merge pull request #86195 from GreenCrowDev/curve3d_close
Add `closed` property to `Curve3D`
2024-11-18 09:23:38 -06:00
Giganzo f03e081efb Fix Lock and Group for canvas items not updated in editor after changed in SceenTree 2024-11-17 14:46:43 +01:00
Giganzo a864bcc773 Fix button state of grid and highlight layer in tile map layer editor 2024-11-17 14:10:19 +01:00
A Thousand Ships 68f638cf02
Use `(r)find_char` instead of `(r)find` for single characters 2024-11-17 10:02:18 +01:00
matricola787 790efbb783 Implement closed path for Curve3d 2024-11-16 12:59:08 +01:00
Rie 31a3b418f7 Fix obstacle avoidance and 3D editor ignoring transform 2024-11-16 11:30:48 +01:00
Thaddeus Crews 773c8e9a93
Merge pull request #99253 from KoBeWi/tldr
Simplify some UID conversions
2024-11-15 10:42:46 -06:00
Thaddeus Crews 313fe08e19
Merge pull request #99177 from Chaosus/vs_swap_connections
Add swap connection option to visual shader graph
2024-11-15 10:42:35 -06:00