Commit Graph

6331 Commits

Author SHA1 Message Date
tetrapod00
6454ea4606 Add quad mesh to material preview 2024-11-01 14:20:10 -07:00
Hugo Locurcio
78fc90e81e
Improve "No meshes to bake" LightmapGI error dialog in the editor
The error dialog now gives advice on the steps to follow to enable
lightmapping support on imported scenes and primitive meshes.
2024-11-01 02:21:33 +01:00
Thaddeus Crews
7982030b25
Merge pull request #69197 from aaronfranke/fix-tiny-convex
Fix debug line drawing with tiny convex hull mesh colliders
2024-10-31 20:14:37 -05:00
Thaddeus Crews
194ddfd0c4
Merge pull request #97257 from YeldhamDev/guess_godot_is_unity_after_all
Add "Game" editor for better runtime debugging
2024-10-31 20:14:34 -05:00
Hugo Locurcio
416e1a538f
Improve Mesh UV1/UV2 preview in the editor
- Use an AspectRatioContainer to prevent stretching that occurs depending
  on the dialog size.
- Draw UV bounds and a grid at 1/8th increments.
- Scale lines according to editor scale for better visibility on hiDPI displays.
2024-11-01 02:04:10 +01:00
Yuri Rubinsky
ef8d981267
Merge pull request #98303 from Chaosus/vs_transparency_preview
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
Add alpha channel display to vec4 previews of visual shader nodes
2024-10-31 11:17:34 +03:00
Michael Alexsander
baffa731ab
Make possible to scale multiple nodes at once in the canvas editor
And also some smaller enhancements.
2024-10-30 13:24:00 -03:00
Michael Alexsander
16524a8a01
Add "Game" editor for better runtime debugging 2024-10-30 11:42:17 -03:00
Aaron Franke
96ec117d19
Fix debug line drawing with tiny convex hull mesh colliders 2024-10-30 00:47:56 -07:00
Thaddeus Crews
696ca9db3c
Merge pull request #98039 from aaronfranke/button-icon
Rename internal Button `*_icon` functions to `*_button_icon` to match exposed methods
2024-10-29 19:25:59 -05:00
Thaddeus Crews
6b70a6197f
Merge pull request #98597 from timothyqiu/on-your-lawn
Fix heap-use-after-free when ctrl-clicking controls in a container
2024-10-29 19:25:44 -05:00
Thaddeus Crews
b7a0971ad2
Merge pull request #97934 from adamscott/give-AThousandShips-a-break
[Codestyle] Set clang-format `RemoveSemicolon` rule to `true`
2024-10-29 19:25:36 -05:00
Aaron Franke
562c666e3d
Rename internal Button icon to button_icon to match exposed methods 2024-10-29 16:23:03 -07:00
Haoyu Qiu
514c3278a2 Fix duplicated Delete shortcut entries in Tiles Editor 2024-10-29 08:07:52 +08:00
Haoyu Qiu
574b413bef Fix heap-use-after-free when ctrl-clicking controls in a container 2024-10-26 10:43:54 +08:00
Thaddeus Crews
61accf0605
Merge pull request #97535 from HolonProduction/gizmo-cylinder
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
Editor: Improve cylinder gizmos
2024-10-25 13:04:14 -05:00
Adam Scott
0d350e7108
Set clang-format RemoveSemicolon rule to true
- Set clang-format `Standard` rule to `c++20`
2024-10-25 13:49:43 -04:00
Thaddeus Crews
fd75707035
Merge pull request #78312 from Calinou/editor-add-markdown-highlighting
Add Markdown syntax highlighting to the script editor
2024-10-24 13:23:02 -05:00
Thaddeus Crews
7974ba57e9
Merge pull request #97199 from shahriarlabib000/popup
Fix `Sprite2D` dialog size for smaller screen device
2024-10-24 13:22:51 -05:00
Thaddeus Crews
3b70a96164
Merge pull request #96518 from Giganzo/popup-panel-style
Fix PopupPanel and PopupMenu menu styles
2024-10-24 13:22:34 -05:00
Thaddeus Crews
291e4b78e2
Merge pull request #98237 from dustdfg/os_transitive_image_headers_refactor
Don't include `core/io/image.h` in `core/os/os.h`
2024-10-21 16:39:15 -05:00
Thaddeus Crews
7a438dc72e
Merge pull request #97205 from tetrapod00/inspect-native-shader-code
Add "Inspect Native Shader Code" to shader inspector and shader editor
2024-10-21 16:39:13 -05:00
Thaddeus Crews
5fb22327ee
Merge pull request #97542 from AThousandShips/dict_sort_fix
[Core] Fix sorting of `Dictionary` keys
2024-10-21 16:39:05 -05:00
Giganzo
549bffdcbc Fix PopupPanel menu style 2024-10-20 13:26:45 +02:00
tetrapod00
2191df0cea VisualShader: Add LinearToSRGB and SRGBToLinear to ColorFunc node 2024-10-19 12:18:34 -07:00
Hugo Locurcio
8e0c0d7837 Improve display for lightmap probes in the editor
- Use the default Back cull mode to improve performance slightly
  and prevent obstructing the camera.
- Fade probes when the camera gets close as to be less intrusive.
2024-10-18 22:52:50 +02:00
Chaosus
43a99fba3d Add alpha channel display to vec4 previews of visual shader nodes 2024-10-18 20:00:10 +03:00
Yevhen Babiichuk (DustDFG)
af6d260c17 Don't include core/io/image.h in core/os/os.h
`core/os/os.h` doesn't use `core/io/image.h`. It just brings
transitive dependencies. Lots of dependencies because `core/os/os.h`
is transitively included in almost every file of godot

Also added `core/io/image.h` into files^1 where `Ref<Image>` and `core/os/os.h`
were used to prevent obscure errors involving `Ref<Image>`

^1 except those which include `core/io/image_loader.h` or `core/io/image.h` by
corresponding .h file with the same name

Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-10-18 19:04:19 +03:00
A Thousand Ships
79f654ced5
[Core] Fix sorting of Dictionary keys
`StringName` keys were sorted as `StringName` which is unstable.
2024-10-18 08:47:05 +02:00
Clay John
1435247de0
Merge pull request #98222 from timothyqiu/media-control-rtl
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
Don't flip playback control buttons in RTL layout
2024-10-17 16:58:23 -07:00
Haoyu Qiu
ce1a0b0014 Improve Select Markers dialog in AnimationTree editor
- Align OptionButtons
- Remove unnecessary ellipses from title
- Don't translate marker names
2024-10-16 17:14:14 +08:00
Haoyu Qiu
9ed655d0eb Don't flip playback control buttons in RTL layout 2024-10-16 16:28:11 +08:00
Allen Pestaluky
920fd47fa3 Fix CONTAINER_PROJECT_SETTING_TAB_RIGHT option of EditorPlugin to add to the right of all other tabs. 2024-10-15 15:32:14 -04:00
Thaddeus Crews
03f6902c4a
Merge pull request #97560 from SaracenOne/fix_anim_library_popup
Fix positioning of popup menu in AnimationLibrary editor.
2024-10-14 14:09:59 -05:00
Thaddeus Crews
a7b4e67c79
Merge pull request #97996 from timothyqiu/rtl-arrow
Fix `ControlEditorPopupButton` arrow position in RTL language
2024-10-14 14:09:53 -05:00
Thaddeus Crews
a272d676ce
Merge pull request #96740 from ryevdokimov/collision_reposition
Use collision detection ray to reposition an object already in the scene
2024-10-14 14:09:43 -05:00
Thaddeus Crews
5c00d0a54e
Merge pull request #94371 from KoBeWi/insane_particle_unification_😱
Unify particle editors
2024-10-14 14:09:42 -05:00
HolonProduction
9ea357af20 Editor: Improve cylinder gizmos 🌈 2024-10-11 18:38:36 +02:00
Thaddeus Crews
92e51fca72
Merge pull request #97979 from BlueCube3310/fix-thumb-gen
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 crash when creating thumbnails for 3d textures
2024-10-10 18:13:24 -05:00
BlueCube3310
203f7427c4 Fix crash when creating thumbnails for 3d textures 2024-10-09 12:34:19 +02:00
Haoyu Qiu
3a9f470543 Fix ControlEditorPopupButton arrow position in RTL language 2024-10-09 08:56:16 +08:00
tetrapod00
12d2c05936 Add "Inspect Native Shader Code" to shader resource and shader editor 2024-10-08 11:02:45 -07:00
Robert Yevdokimov
fb768a7118 Use collision detection ray to reposition an object already in the scene 2024-10-04 17:13:46 -04:00
kobewi
b9d25580ce Fix implementation of property_can_revert() in various classes 2024-10-04 23:02:04 +02:00
Rémi Verschelde
def5a04d06
Merge pull request #97543 from KoBeWi/to_edit_or_not_to_edit
Fix closing Theme Editor not actually closing it
2024-10-04 22:43:41 +02:00
Rémi Verschelde
e5688f51cb
Merge pull request #97292 from KoBeWi/infinite_submenus_in_your_editor
Add submenu support to EditorContextMenuPlugin
2024-10-04 22:43:38 +02:00
Rémi Verschelde
fe31ede42d
Merge pull request #95034 from KoBeWi/take_a_problem_and_make_it_worse._solved
Close expanded tile editor when inspector updates
2024-10-04 22:43:02 +02:00
Rémi Verschelde
21353460f7
Merge pull request #88511 from ryevdokimov/offset-drag-to-instantiate-scene
Offset drag instantiated scenes that result in a collision by its bounds to mitigate overlap
2024-10-04 22:42:52 +02:00
kobewi
a4d724b37c Unify particle editors 2024-10-04 22:36:12 +02:00
Rémi Verschelde
34920b45ef
Merge pull request #97747 from adamscott/ux-sun-angle
Improve UI of sun angle in the sun/preview env popup
2024-10-04 11:22:06 +02:00
bruvzg
3ab1b75117
[GDExtension] Improve error messages during export. 2024-10-03 14:54:40 +03:00
Adam Scott
b3805840ea
Fix UI of sun angle in the sun/preview env popup 2024-10-02 14:12:33 -04:00
Rémi Verschelde
1da8a2a1ba
Merge pull request #97416 from Calinou/lightmapgi-check-rendering-device-availability
Check RenderingDevice availability to display LightmapGI configuration warnings
2024-10-02 15:01:34 +02:00
ocean
0ad55e964f Fix GDScript docs not updating when modified externally 2024-10-01 20:06:28 -04:00
Lalit Shankar Chowdhury
b9ce6c9047
Improve "Replace in Files" dialog button text 2024-10-01 22:22:12 +05:30
Rémi Verschelde
cf1d910e10
Merge pull request #92237 from timothyqiu/url-fragment
String: Parse fragment from URL
2024-10-01 17:30:16 +02:00
Rémi Verschelde
8c16e67e4d
Merge pull request #91765 from chocola-mint/feat-markers
Add markers to Animation
2024-10-01 17:30:13 +02:00
chocola-mint
ed13a840fa Add markers to animation 2024-09-29 17:27:36 +09:00
Rémi Verschelde
3fbd33af85
Merge pull request #97229 from aryan-11825114/ctrl-x-visual-shader
Add `GraphEdit.cut_nodes_request` signal
2024-09-29 00:46:59 +02:00
Hugo Locurcio
0807d60d68
Check RenderingDevice availability to display LightmapGI configuration warnings
We can now check whether RenderingDevice can be created (which is
not guaranteed when using the Compatibility rendering method),
so the warning can be displayed only when relevant.

This also disables the Bake Lightmaps button with a tooltip if baking
is not available.
2024-09-28 23:56:47 +02:00
Saracen
ee01fcc713 Fix positioning of popup menu in AnimationLibrary editor. 2024-09-28 01:03:23 +01:00
Danil Alexeev
85dfd89653 Add @export_tool_button annotation for easily creating inspector buttons
Co-authored-by: jordi <creptthrust@gmail.com>
Co-authored-by: K. S. Ernest (iFire) Lee <ernest.lee@chibifire.com>
Co-authored-by: Mack <86566939+Macksaur@users.noreply.github.com>
2024-09-27 22:24:15 +01:00
kobewi
66d2b0fc6a Fix closing Theme Editor not actually closing it 2024-09-27 17:08:20 +02:00
Haoyu Qiu
6516ca6b11 Parse fragment from URL 2024-09-27 19:42:30 +08:00
aryan-11825114
b4460c6ba3 Add cut_nodes_request signal to GraphEdit 2024-09-27 08:47:11 +05:30
Rémi Verschelde
991e6c92ab
Merge pull request #96923 from Repiteo/style/warning-admonition
Style: Add `WARNING:` as new comment admonition
2024-09-26 12:45:38 +02:00
Thaddeus Crews
32c83a228d
Style: Add WARNING: as new comment admonition 2024-09-25 09:44:42 -05:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files 2024-09-25 09:34:35 -05:00
Rémi Verschelde
4254946de9
Merge pull request #97323 from timothyqiu/drop-unicode-identifier
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 script editor wrongly replaces and quotes non-ASCII letters
2024-09-23 16:14:08 +02:00
tetrapod00
eb5a9c3b33 Visual Shader: Add vector operations to Remap node 2024-09-22 11:25:36 -07:00
Haoyu Qiu
a751c05b15 Fix script editor wrongly replaces and quotes non-ASCII letters 2024-09-23 00:05:16 +08:00
kobewi
866c50a926 Add submenu support to EditorContextMenuPlugin 2024-09-21 20:16:45 +02:00
shahriarlabib000
4e916f1fd9 fix popup scale 2024-09-21 01:49:55 +06:00
Rémi Verschelde
621cadcf65
Merge pull request #97168 from Hilderin/fix-reloading-scripts-already-in-use
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 reloading scripts already in use
2024-09-20 21:35:08 +02:00
Hilderin
9638220473 Fix reloading scripts already in use 2024-09-20 12:12:24 -04:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format changes 2024-09-20 08:09:48 -05:00
Rémi Verschelde
d788205826
Merge pull request #97173 from timothyqiu/drag-preview-translation
Set auto translate mode for drag previews
2024-09-19 17:13:50 +02:00
Rémi Verschelde
71a7e37a43
Merge pull request #96766 from ryevdokimov/hide-white-circle-outline
Hide white circle outline during instant transformations
2024-09-19 17:13:20 +02:00
Haoyu Qiu
14321b8ed5 Set auto translate mode for drag previews
- Controls
  - `LineEdit`, `TextEdit`: Always disabled since it's dragging user input.
  - `TabBar`: Use the same auto translate mode as the node.
  - `RichTextLabel`: Always disable since auto translation is done
    differently from other controls (selection text you get
    programmatically is always after auto translation).
- Editor
  - Disable drag preview auto translation if the text is user input,
    filename, or class name.
  - Also disabled unexpected auto translation for audio bus effect names.
2024-09-19 19:21:29 +08:00
Haoyu Qiu
8a7713eb2d Fix inconsistency in FileSystem naming in shader editor menu 2024-09-18 10:59:31 +08:00
aXu-AP
2b303cb489 Open uv editor in point editing mode if no points
Open polygon editor in point editing mode if there's no polygon yet. Disable other modes until points are added.
2024-09-17 19:43:42 +03:00
detomon
4e1ae8b768 Fix inconsistency in 3D editor navigation
- Fix typo in orbit/zoom shortcut name
- Fix zoom when using trackpad
2024-09-17 11:40:02 +02:00
Rémi Verschelde
4ee5630a4b
Merge pull request #96909 from aXu-AP/script-list-default-width
Make script list default wider, minimum narrower
2024-09-17 09:17:46 +02:00
Rémi Verschelde
e72a70de8e
Merge pull request #87150 from demolke/bones
Add per-bone meta to Skeleton3D
2024-09-17 09:17:35 +02:00
demolke
0468bea899 Add per-bone meta to Skeleton3D
Individual bones are not represented as `Node`s in Godot, in order to support meta functionality for them the skeleton has to carry the information similarly to how other per-bone properties are handled.
- Also adds support for GLTF import/export
2024-09-16 16:26:15 +02:00
Rémi Verschelde
6311dd2e4c
Merge pull request #94684 from Musicgun47/soft-body-overhaul-ui
Fix `SoftBody3D` pinned points interaction
2024-09-16 15:25:37 +02:00
Joel Fortier
a58ae8e1c6 Fixed SoftBody3D handles not being clickable in 3D Editor Viewport
Fix erratic behaviour when modifying pinned_points via inspector
2024-09-16 21:30:31 +09:30
Rémi Verschelde
6b67d440ce
Merge pull request #96731 from aXu-AP/uv-editor-no-texture
Allow opening of polygon editor without texture
2024-09-16 13:34:54 +02:00
Rémi Verschelde
55ab2f7174
Merge pull request #96404 from larspet/path2d-selection
Fix Path2D editor not updating gizmos on selection in scene tree
2024-09-16 13:34:42 +02:00
Rémi Verschelde
4d35402c1c
Merge pull request #96400 from Maran23/inputmap-usage-for-filter-and-corresponding-refactor
Use InputMap actions consistently across all LineEdit's that filter an underlying Tree or ItemList.
2024-09-16 13:34:38 +02:00
Rémi Verschelde
d5d6c730bf
Merge pull request #96934 from smix8/planemesh_gizmo
Fix `MeshInstance3D` gizmo redraw performance for `PlaneMesh` with larger subdiv value
2024-09-13 11:22:08 +02:00
Rémi Verschelde
9a5d0be90f
Merge pull request #96466 from object71/fix-polygon-editor-losing-toolbar-96238
Fix polygon node losing its UV toolbar
2024-09-13 11:21:44 +02:00
smix8
b8de7b72c6 Fix gizmo redraw performance for PlaneMesh with larger subdiv value
Fixes gizmo redraw performance for PlaneMesh with larger subdiv value.
2024-09-12 22:31:56 +02:00
A Thousand Ships
dd6443193c
[Editor] Expose more editor settings to documentation
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-09-12 15:34:49 +02:00
aXu-AP
610d98f3ea Make script list default wider, minimum narrower
Give more space to the script lists by default, but makes minimum smaller than it was. Unifies script editor and shader editor to use same values.
2024-09-12 14:51:22 +03:00
Rémi Verschelde
f5bf9b60bd
Merge pull request #92916 from Naros/expose-update-docs-from-script
Expose `update_docs_from_script` method
2024-09-12 09:17:35 +02:00
Rémi Verschelde
8613f346e8
Merge pull request #96844 from kleonc/tile_map_layer_fix_undoing_overlapping_move_tiles
Fix undoing "Move tiles" `TileMapLayer` action when drag/drop areas overlap
2024-09-11 12:35:24 +02:00
Rémi Verschelde
a4e77d94bc
Merge pull request #96539 from KoBeWi/feat_context_menu_plugin4.x_2-electric_boogaloo
Add EditorContextMenuPluginManager and refactor menu plugins
2024-09-11 12:34:53 +02:00
Rémi Verschelde
b6906b9677
Merge pull request #96389 from kitbdev/extract-main-screen
Extract EditorMainScreen from EditorNode
2024-09-11 12:34:46 +02:00
kleonc
ab504b3139 Fix undoing "Move tiles" TileMapLayer action when drag/drop areas overlap 2024-09-11 10:45:23 +02:00