Commit Graph

6579 Commits

Author SHA1 Message Date
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
Some checks failed
🔗 GHA / 📊 Static checks (push) Has been cancelled
🔗 GHA / 🤖 Android (push) Has been cancelled
🔗 GHA / 🍏 iOS (push) Has been cancelled
🔗 GHA / 🐧 Linux (push) Has been cancelled
🔗 GHA / 🍎 macOS (push) Has been cancelled
🔗 GHA / 🏁 Windows (push) Has been cancelled
🔗 GHA / 🌐 Web (push) Has been cancelled
🔗 GHA / 🪲 Godot CPP (push) Has been cancelled
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
Some checks are pending
🔗 GHA / 📊 Static checks (push) Waiting to run
🔗 GHA / 🤖 Android (push) Blocked by required conditions
🔗 GHA / 🍏 iOS (push) Blocked by required conditions
🔗 GHA / 🐧 Linux (push) Blocked by required conditions
🔗 GHA / 🍎 macOS (push) Blocked by required conditions
🔗 GHA / 🏁 Windows (push) Blocked by required conditions
🔗 GHA / 🌐 Web (push) Blocked by required conditions
🔗 GHA / 🪲 Godot CPP (push) Blocked by required conditions
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