Thaddeus Crews
bb20444998
Merge pull request #97744 from Nazarwadim/use_local_vector_for_skeleton
...
Use `LocalVector` for skeleton
2024-10-10 18:13:19 -05:00
bruvzg
309712551c
[TextParagraph/Button] Add support for line spacing.
2024-10-10 12:49:24 +03:00
tetrapod00
12d2c05936
Add "Inspect Native Shader Code" to shader resource and shader editor
2024-10-08 11:02:45 -07:00
Anish Mishra
9f6c88de89
update MenuBar after child renamed in editor
2024-10-08 20:19:02 +05:30
Haoyu Qiu
6f35915622
Allow Control
to show custom tooltip when tooltip text is empty
...
Co-Authored-By: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-10-08 15:46:26 +08:00
Mounir Tohami
3db9bdf8d8
Fix Button
minimum size when disabled
is toggled.
2024-10-07 15:21:24 +00:00
Haoyu Qiu
a328952fc1
Fix PopupMenu.id_focused
signal using index as ID
2024-10-07 00:19:16 +08:00
Gamemap
84b15a2ea4
ItemList - Fix right padding missing
2024-10-06 17:34:33 +02:00
Anish Mishra
8f9ed35f8b
Fix ColorPicker virtual keyboard popup on mobile
2024-10-05 19:03:29 +05:30
kobewi
b9d25580ce
Fix implementation of property_can_revert() in various classes
2024-10-04 23:02:04 +02:00
Rémi Verschelde
aaffffcd43
Merge pull request #97817 from bruvzg/prop_warn_remove
...
Partially revert #96780 , remove warnings from project/editor settings `_get`.
2024-10-04 22:43:56 +02:00
Rémi Verschelde
f6dbc04bd1
Merge pull request #97809 from Geometror/fix-ge-conn-layer-warning
...
[GraphEdit] Only print warning for connection layer deletion when justified
2024-10-04 22:43:49 +02:00
Rémi Verschelde
9108c6261b
Merge pull request #97291 from KoBeWi/visible_in_tree_was_a_billion_dollar_mistake
...
Fix ScrollContainer configuration warnings
2024-10-04 22:43:33 +02:00
Rémi Verschelde
14eee2b930
Merge pull request #97240 from KoBeWi/wrong_number
...
Print error on invalid `call_group()` calls
2024-10-04 22:43:30 +02:00
Rémi Verschelde
19081a850d
Merge pull request #95889 from KoBeWi/tree_growing_sideways
...
Allow horizontal scrolling in Tree using Shift
2024-10-04 22:43:17 +02:00
kobewi
a4d724b37c
Unify particle editors
2024-10-04 22:36:12 +02:00
bruvzg
794920b1ff
Partially revert 96780, remove warnings from project/editor settings _get
.
2024-10-04 19:13:03 +03:00
Rémi Verschelde
6c15d59154
Merge pull request #97362 from reduz/make-unique-scene-id-deterministic
...
Make internal unique scene resource ID deterministic
2024-10-04 17:18:10 +02:00
Hendrik Brucker
975e7c8ade
[GraphEdit] Only print warning for connection layer deletion when justified
2024-10-04 13:28:15 +02:00
Mounir Tohami
f84f734696
Expose LineEdit
edit
and unedit
methods.
2024-10-04 10:37:33 +00:00
Rémi Verschelde
6d9a797ea4
Merge pull request #97624 from timothyqiu/atrn
...
Fix `atr_n()` behavior when auto translation is disabled
2024-10-04 11:21:50 +02:00
Rémi Verschelde
2d8bfab47c
Merge pull request #97255 from kitbdev/test-tabs
...
Fix TabBar initialization issue and add tests
2024-10-04 11:21:33 +02:00
Rémi Verschelde
058f06c10d
Merge pull request #93270 from Gamemap/feature-itemlist-autowidth
...
Add `Auto width` behavior to ItemList
2024-10-04 11:21:14 +02:00
vPumpking
62edb4eee8
Add filename filter field to FileDialog
...
Added possibility to filter files and folders through a text entry.
2024-10-04 11:12:33 +02:00
Gamemap
1e1dbd8e3a
Add Auto width
behavior to ItemList
...
Co-authored-by: Craig Hupin <althar93@hotmail.com>
2024-10-04 08:43:13 +02:00
Trevor Davenport
47f75547ce
Fix immediate mesh modifications that don't call set_mesh
...
Mesh_instance_2d has no way to know when the mesh had been modified
unless you called set_mesh. This meant that you could modify the
underlying mesh without it knowing which could result in incorrect
result.
Modified mesh_instance_2d to be more similar to mesh_instance_3d which
connects to the changed signal of the mesh and reacts occordingly.
2024-10-03 18:08:49 -06:00
Rémi Verschelde
5ccbf6e4c7
Merge pull request #97760 from EAinsley/fix#97714
...
🔗 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 error when stopping empty animation player.
2024-10-03 15:39:30 +02:00
Rémi Verschelde
5314793ac7
Merge pull request #97519 from timothyqiu/itemlist-at
...
Add auto translate mode for items in `ItemList`
2024-10-03 15:39:23 +02:00
Rémi Verschelde
ae7fd80d9c
Merge pull request #97730 from KoBeWi/rich_text_label_inside_a_scroll_container_inside_a_bag_of_milk
...
Handle scroll events in RichtTextLabel
2024-10-03 15:27:24 +02:00
Rémi Verschelde
f3694a6933
Merge pull request #95389 from Gaktan/graph_node_stretch_fix
...
Fix graph node stretch not taking titlebar into account
2024-10-03 15:27:16 +02:00
Ainsley Su
baf0fb7e26
Fix error when stopping empty animation player.
...
Check if animation exists before get section start time.
Signed-off-by: Ainsley Su <vhtmscyo@gmail.com>
2024-10-03 11:04:27 +02:00
Dario
e2c6daf7ef
Implement asynchronous transfer queues, thread guards on RenderingDevice. Add ubershaders and rework pipeline caches for Forward+ and Mobile.
...
- Implements asynchronous transfer queues from PR #87590 .
- Adds ubershaders that can run with specialization constants specified as push constants.
- Pipelines with specialization constants can compile in the background.
- Added monitoring for pipeline compilations.
- Materials and shaders can now be created asynchronously on background threads.
- Meshes that are loaded on background threads can also compile pipelines as part of the loading process.
2024-10-02 15:11:58 -03:00
Nazarii
1ba168fcbc
Use local vector for skeleton
2024-10-02 20:38:40 +03:00
kobewi
9bf6148e00
Handle scroll events in RichtTextLabel
2024-10-02 15:47:36 +02: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
Rémi Verschelde
89febc5652
Merge pull request #97439 from Gamemap/itemlist-fix-texttrimming
...
Fix ItemList text trimming
2024-10-02 15:01:05 +02:00
Stijn Hinlopen
06791e1acd
New Quick Open Dialog
...
- Updated list view with thumbnails, and separate file name.
- Added a grid view which has larger icons.
- Added toggle to filter out files from addons.
- Store history for each opened resource type.
New Editor settings for Quick Open:
- Startup display mode (grid or list):
- Determined by the requested resource type.
- Whatever was last used.
- Toggle to filter out files from addons (for persistence).
Notes
- The dialog is now created once in EditorNode, and globally available for other components.
- A fixed number of result scenes are instantiated, and reused based on query.
- Drop support for multiselect.
2024-10-01 21:39:16 +02:00
Rémi Verschelde
f4af8201ba
Merge pull request #96309 from Geometror/fix-ge-cs-crash
...
Prevent crash after removing GraphEdit's connection layer
2024-10-01 19:01:01 +02:00
Gamemap
6a9e50b941
Fix ItemList text trimming and autowrap margin
2024-10-01 17:48:41 +02:00
Rémi Verschelde
97fa7187e1
Merge pull request #97353 from timothyqiu/tree-at
...
Add auto translate mode for cells in `Tree`
2024-10-01 17:30:56 +02:00
Rémi Verschelde
53f30bfb7e
Merge pull request #95132 from LeonStansfield/gpu_particles_ui_consistency
...
GPU/CPU particle parameter list consistency changes
2024-10-01 17:30:29 +02:00
Rémi Verschelde
eaac033168
Merge pull request #94240 from MewPurPur/optimize-styleboxflat
...
Optimize `StyleBoxFlat.draw()`
2024-10-01 17:30:24 +02:00
Rémi Verschelde
41ffc696d2
Merge pull request #93449 from Calinou/basematerial3d-refraction-use-depth-comparison
...
Fix BaseMaterial3D refracting objects located in front of the material
2024-10-01 17:30:20 +02:00
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
Haoyu Qiu
3c365a7fa5
Add auto translate mode for cells in Tree
2024-10-01 21:24:10 +08:00
Haoyu Qiu
210810bacb
Fix atr_n()
behavior when auto translation is disabled
2024-09-29 22:59:33 +08: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
MewPurPur
71ac6b7476
Optimize StyleBoxFlat.draw()
2024-09-28 12:37:31 +03:00
Rémi Verschelde
ab1f55e738
Merge pull request #97489 from TokageItLab/deferred-skin-registration
...
Move skin registration process into deferred on ready
2024-09-27 13:53:38 +02:00
Rémi Verschelde
7b393c6cee
Merge pull request #97453 from Calinou/project-manager-enter-accepts-dialog
...
Make pressing Enter confirm project creation/import in the project manager
2024-09-27 13:53:29 +02:00
Rémi Verschelde
8a9a26ef19
Merge pull request #93311 from dsnopek/gdextension-required-virtuals
...
GDExtension: Mark virtual function as `is_required` in `extension_api.json`
2024-09-27 13:53:16 +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
Haoyu Qiu
0101317d46
Add auto translate mode for items in ItemList
2024-09-27 10:52:04 +08:00
Rémi Verschelde
56d50c30a2
Merge pull request #97414 from AThousandShips/code_highlight_fix
...
Fix editing of some properties in `CodeHighlighter`
2024-09-26 18:45:38 +02:00
Rémi Verschelde
01d567ba1b
Merge pull request #97406 from timothyqiu/tooltip-atm
...
Add auto translate mode for tooltips
2024-09-26 18:45:35 +02:00
Rémi Verschelde
9a8dcc1eeb
Merge pull request #97397 from timothyqiu/shortcut-in-tooltips
...
Make `_make_custom_tooltip` receive raw tooltip for buttons with shortcut enabled
2024-09-26 18:45:31 +02:00
Rémi Verschelde
775edd568b
Merge pull request #97389 from timothyqiu/button-autowrap-min-size
...
Fix button text autowrap overflow when inside a container
2024-09-26 18:45:28 +02:00
Rémi Verschelde
8eab2b52ed
Merge pull request #96835 from Malcolmnixon/animation-optimize
...
Expose the optimize method of the Animation class to gdscript.
2024-09-26 18:45:15 +02:00
Haoyu Qiu
78801f61da
Add auto translate mode for tooltips
2024-09-26 22:31:22 +08:00
Silc Lizard (Tokage) Renew
2eb069f40b
Move skin registration process into deferred on ready
2024-09-26 22:36:58 +09:00
Hugo Locurcio
8a485ff658
Fix BaseMaterial3D refracting objects located in front of the material
...
Depth comparison is now used to prevent refraction from occurring
if the pixel being refracted is located in front of the object.
For pixels slightly behind the object, a `smoothstep()` curve
is used to progressively increases refraction intensity
as the distance between the object and the refraction increases.
This avoids sudden discontinuities in the refraction.
Co-authored-by: GeneralLegendary <generallegendary456@gmail.com>
2024-09-26 15:12:31 +02:00
matheusmdx
3e0d3c433b
Fix pink GradientTexture2D
2024-09-26 09:50:55 -03:00
Rémi Verschelde
a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
...
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde
a90da7e87b
Merge pull request #93058 from Repiteo/scons/scons_hints
...
SCons: Add unobtrusive type hints in SCons files
2024-09-26 12:45:21 +02:00
Rémi Verschelde
c92a6c7e27
CI: Update clang-format
pre-commit hook to 19.1.0
2024-09-26 11:46:12 +02:00
Hugo Locurcio
c15fe90ac4
Make pressing Enter confirm project creation/import in the project manager
...
This makes the project manager more friendly to keyboard usage.
You can now create projects more easily without touching the mouse
by opening the project manager, pressing Ctrl + N, entering a project
name and pressing Enter.
2024-09-26 02:06:30 +02:00
Haoyu Qiu
6a7183119f
Make _make_custom_tooltip receive raw tooltip for buttons with shortcut enabled
2024-09-26 08:05:10 +08:00
Rémi Verschelde
f7c567e2f5
Merge pull request #97447 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-seven
...
🔗 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 renaming nodes on X11
2024-09-25 19:34:11 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
David Snopek
36293a2dbf
Fix renaming nodes on X11
2024-09-25 09:05:51 -05:00
Rémi Verschelde
ca1a390050
Merge pull request #97398 from timothyqiu/color-picker-etr
...
Add missing `ETR` macros in `ColorPicker`
2024-09-25 12:39:29 +02:00
Rémi Verschelde
4c5e879cc5
Merge pull request #97380 from TheSofox/handle_modes_default_fix
...
Ensure `handle_modes` is given default values rather than flagging error if undefined
2024-09-25 12:39:22 +02:00
Rémi Verschelde
65c94ec873
Merge pull request #97290 from fire/fix-animation-compression
...
Fix animation compression going the wrong way
2024-09-25 12:39:18 +02:00
Rémi Verschelde
73bf121ceb
Merge pull request #93786 from alvinhochun/viewport-pixel-snap-fix
...
Apply "snap 2D transforms to pixel" to viewport
2024-09-25 12:39:10 +02:00
Paweł
b88585abfc
Add linux camera support
2024-09-25 12:08:06 +02:00
Haoyu Qiu
2e57089135
Add missing ETR macros in ColorPicker
2024-09-25 10:36:07 +08:00
A Thousand Ships
56f095296c
Fix editing of some properties in CodeHighlighter
2024-09-24 17:56:13 +02:00
Haoyu Qiu
0f98b32448
Fix button text autowrap overflow when inside a container
2024-09-24 09:55:48 +08:00
Pablo Andres Fuente
9c0afbb15c
Fixing TreeItem get_prev_xxx methods when p_wrap is true
...
Fixes #85032
The code that fix the issue is courtesy of @Jesusemora, I just added
unit tests for it and did a rebase with the latest changes on master.
Co-authored-by: Jesusemora <32273722+Jesusemora@users.noreply.github.com>
2024-09-23 17:11:02 -03:00
Sofox
633df0b29c
Handle handle_modes being undefined by giving default values rather than flagging error
2024-09-23 20:22:26 +01:00
Ricardo Buring
7c4c4b9987
Move Godot Physics 2D into a module; add dummy 2D physics server
...
If the module is enabled (default), 2D physics works as it did before.
If the module is disabled and no other 2D physics server is registered
(via a module or GDExtension), then we fall back to a dummy
implementation which effectively disables 2D physics functionality (and
a warning is printed).
The dummy 2D physics server can also be selected explicitly, in which
case no warning is printed.
2024-09-23 17:33:45 +02:00
Rémi Verschelde
2017006879
Merge pull request #97314 from tetrapod00/visual-shader-remap
...
Visual Shader: Add vector operations to Remap node
2024-09-23 16:14:04 +02:00
Juan
abf9d24520
Make internal unique scene resource ID deterministic
...
Changes the Resource::generate_scene_unique_id() to be deterministic and
seedable.
Fixes #97110
2024-09-23 15:07:00 +02:00
Mark DiBarry
3f9bb59606
Prevent jitter in Parallax2D
2024-09-23 20:36:38 +08:00
Rémi Verschelde
b9b793237c
Merge pull request #97315 from lawnjelly/fix_character_platform
...
Fix physics platform behaviour regression
2024-09-23 12:28:17 +02:00
Rémi Verschelde
720c236fc0
Merge pull request #90743 from timothyqiu/empty-selection-clipboard
...
Add TextEdit option to prevent copying without a selection
2024-09-23 12:27:35 +02:00
lawnjelly
6764338e09
Fix physics platform behaviour regression
...
Lifetime checks for stored `RIDs` for collision objects assumed they had valid `object_ids`.
It turns out that some are not derived from `Object` and thus checking `ObjectDB` returns false for some valid `RIDs`.
To account for this we only perform lifetime checks on valid `object_ids`.
2024-09-23 10:56:24 +01:00
tetrapod00
eb5a9c3b33
Visual Shader: Add vector operations to Remap node
2024-09-22 11:25:36 -07:00
Nick Christodoulou
6d4d5f9272
Fix font_hover_pressed_color
and icon_hover_pressed_color
not working for no stylebox use on Button
...
You now don't need to have a `hover_pressed` stylebox to make use of `font_hover_pressed_color` and `icon_hover_pressed_color`.
2024-09-22 20:07:46 +02:00
K. S. Ernest (iFire) Lee
dd9525be04
Fix animation compression going the wrong way
...
When compressing animation key frame indices the truncation breaks the animation near the border of pages.
We use banker's rounding (FE_TONEAREST) as implemented by fast_ftoi to get the nearest integer frame.
2024-09-21 19:20:19 -07:00
kobewi
59c66585d5
Fix ScrollContainer configuration warnings
2024-09-21 19:53:02 +02:00
A Thousand Ships
ccca41a086
Remove direct render include in ExternalTexture
...
This include introduces `windows/platform_gl.h` into the include
hierarchy which adds defines which break building on MSVC
2024-09-21 17:44:28 +02:00
Rémi Verschelde
2daea4bb0b
Merge pull request #97269 from timothyqiu/underline-unicode-identifier
...
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 11:51:02 +02:00
Rémi Verschelde
d39f53439f
Merge pull request #96982 from dsnopek/external-texture
...
Add external texture support (GLES3)
2024-09-21 11:50:35 +02:00
Rémi Verschelde
b271a88a9e
Merge pull request #96871 from KoBeWi/borrow_container
...
Add `SCROLL_MODE_RESERVE` to ScrollContainer
2024-09-21 11:50:31 +02:00
Haoyu Qiu
208797d54e
Fix script editor not underlining Unicode identifiers when Ctrl-hovered
2024-09-21 14:10:05 +08:00
kit
f2f34e9c50
Fix TabBar initialization issue and add tests
2024-09-20 18:49:46 -04:00
David Snopek
1a6f8512bc
Add external texture support (GLES3)
...
Co-authored-by: Fredia Huya-Kouadio <fhuyakou@gmail.com>
Co-authored-by: Mauricio Narvaez <nvz@meta.com>
2024-09-20 10:48:32 -05:00
kobewi
22ccfc5a39
Print error on invalid call_group() calls
2024-09-20 17:20:03 +02:00
A Thousand Ships
203d3be200
[Core] Add way to check if a signal has any connections
...
Added to `Object` and `Signal`
2024-09-20 16:39:09 +02:00
Rémi Verschelde
77f779d326
Merge pull request #97167 from MewPurPur/reveal-undoredo
...
Expose `has_undo()` and `has_redo()` of LineEdit
2024-09-20 16:26:32 +02:00
Rémi Verschelde
efc7c628b0
Merge pull request #97224 from timothyqiu/transition-names
...
Update `AnimationTree` parameter list when updating `AnimationNodeTransition` input names
2024-09-20 16:07:09 +02:00
Rémi Verschelde
25c4caa5d7
Merge pull request #97209 from kitbdev/fix-tab-container-ensure-visible-offset
...
Fix TabContainer tab offset moving when not needed
2024-09-20 16:06:59 +02:00
Rémi Verschelde
7ce8e4fd6b
Merge pull request #97159 from noidexe/Expose-viewport-get-audio-listener
...
Expose Viewport methods to get current 2D/3D audio listener
2024-09-20 16:06:39 +02:00
Rémi Verschelde
d2a5153c66
Merge pull request #96677 from Wierdox/fix_audio_stream_player_3d_still_processing_when_out_of_range
...
Fix AudioStreamPlayer3D still processing when out of range
2024-09-20 16:06:28 +02:00
Rémi Verschelde
7e62565f1e
Merge pull request #95787 from timothyqiu/domestic
...
Add translation domain
2024-09-20 16:06:23 +02:00
Thaddeus Crews
b37fc1014a
Style: Apply new clang-format
changes
2024-09-20 08:09:48 -05:00
Haoyu Qiu
f169616cc6
Update AnimationTree parameter list when updating AnimationNodeTransition input names
2024-09-20 16:21:03 +08:00
Wierdox
a3158d89bb
Fix AudioStreamPlayer3D still processing when out of range
2024-09-19 22:16:59 -07:00
Riteo Siuga
ef48c4d306
ColorPicker: ignore TextureRect expand mode during legacy picking
...
The color picker has a "legacy" fallback mode when
`FEATURE_SCREEN_CAPTURE` is not supported by the current
`DisplayServer`. It works by "freezing" the current view by making a
huge `Popup` with a `TextureRect` inside covering the screen.
Before this patch, said `TextureRect` could get cut off if its buffer
was nominally bigger than the parent popup, such as when the
`canvas_items` content scale mode is active.
This is because the default TextureRect scaling logic only allows
expanding the texture up. `EXPAND_IGNORE_SIZE` fixes that by allowing
the texture to logically "shrink", filling the whole screen
independently of the actual buffer size.
Special thanks to Federico Fausto Santoro for helping with the diagnosis
:D
Co-Authored-By: Federico Fausto Santoro <fedyfausto@hotmail.com>
2024-09-20 02:26:10 +02:00
kit
3d6814e5d2
Fix TabContainer tab offset moving when not needed
2024-09-19 19:26:35 -04:00
Lisandro Lorea
bdcee836ad
Expose Viewport::get_audio_listener_2d and Viewport::get_audio_listener_3d to scripting
...
Document exposed methods
Apply suggestions from code review
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
Document default behavior when no audio listeners are active
2024-09-19 18:43:33 -03: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
MewPurPur
f7a7ecc10a
Expose has_undo() and has_redo() of LineEdit
2024-09-19 13:18:04 +03:00
Rémi Verschelde
a80e57c663
Merge pull request #97004 from Giganzo/file_dialog_size
...
Fix FileDialog default size
2024-09-18 17:41:03 +02:00
Rémi Verschelde
2f91184d8a
Merge pull request #97132 from WhalesState/tab-container-minimum-size
...
Fix `TabContainer` minimum size
2024-09-18 11:15:53 +02:00
Rémi Verschelde
2a8d30aa9f
Merge pull request #97029 from Hilderin/fix-viewport-texture-must-be-set-to-use-it
...
Fix Viewport Texture must be set to use it
2024-09-18 11:15:39 +02:00
Rémi Verschelde
1d3e9b3688
Merge pull request #96829 from dsnopek/x11-focus-bugs-take-twenty-seven-million-and-four
...
Fix project manager stealing focus on i3
2024-09-18 11:15:30 +02:00
Mounir Tohami
2ff61e0252
Fix TabContainer
minimum size
2024-09-18 01:41:54 +00:00
Hilderin
c11107b1fb
Fix Viewport Texture must be set to use it
2024-09-17 18:18:07 -04:00
Rémi Verschelde
750ffa527c
Merge pull request #94862 from aaronfranke/unit-suspension-stiffness
...
Add units to VehicleWheel3D suspension stiffness and damping
2024-09-17 21:01:50 +02:00
Rémi Verschelde
cb86afdef9
Merge pull request #72680 from Koyper/split_container_improvements
...
Improvements to SplitContainer including a drag bar background StyleBox
2024-09-17 21:01:45 +02:00
Adam Scott
2f4f39c7b3
Fix trackpad code completion scrolling
2024-09-17 12:37:45 -04:00
Giganzo
a863c385f7
Fix FileDialog default size
2024-09-17 14:35:18 +02:00
Aaron Franke
e3895e0ca2
Add units to VehicleWheel3D suspension stiffness and damping
2024-09-17 03:22:50 -07:00
Rémi Verschelde
8a7555a1f3
Merge pull request #97071 from RPicster/master
...
Add a more detailed error message when instantiating a scene with missing export properties
2024-09-17 09:18:05 +02:00
Rémi Verschelde
b1b4d5b6d1
Merge pull request #97007 from TokageItLab/fix-sync-physical-bone
...
Fix syncing PhysicalBone internal poses individually
2024-09-17 09:17:54 +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
Haoyu Qiu
c5d147b9b5
Allow configuring which translation domain Object.tr uses
2024-09-17 13:09:44 +08:00
David Snopek
b1871cdabf
Fix project manager stealing focus on i3
2024-09-16 16:55:57 -05: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
Raffaele Picca
1df0159b36
Added a more detailed error message when instatiating a scene with missing export properties.
2024-09-16 16:08:55 +02:00
Rémi Verschelde
ab55a40f0c
Merge pull request #97070 from KoBeWi/snaming_ur_inputs
...
Use `SNAME` for `ui` actions in Viewport
2024-09-16 15:25:47 +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
kobewi
d805f38dba
Use SNAME for ui actions in Viewport
2024-09-16 14:09:26 +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
a90660f5e2
Merge pull request #97018 from TokageItLab/add-quart-anim-cap
...
Add missing "Quad" capture TransitionType enum hint
2024-09-16 13:35:51 +02:00
Rémi Verschelde
e516b059e0
Merge pull request #96996 from WhalesState/vslider
...
Fix `VSlider` grabber area.
2024-09-16 13:35:42 +02:00
Rémi Verschelde
391849d232
Merge pull request #96867 from L2750558108/remove-gui-key-event-accepted-shit
...
Remove useless `Viewport::gui.key_input_accepted`
2024-09-16 13:35:13 +02:00
Rémi Verschelde
8ebfd89359
Merge pull request #96024 from Ryan-000/expose_get_rpc_config
...
Expose `get_rpc_config` and `get_node_rpc_config`
2024-09-16 13:34:34 +02:00
Rémi Verschelde
ac80ba71e2
Merge pull request #93500 from anniryynanen/multi-press
...
Improve button behavior when multiple mouse buttons are used at the same time
2024-09-16 13:34:15 +02:00
Anni Ryynänen
2033510a65
Improve button behavior when multiple mouse buttons are used at the same time
...
- To emit `pressed`, buttons require that the press was initiated while hovering.
- Controls can't grab focus from a mouse click if they're not hovered.
- Hovers are updated both before and after a handled mouse button event.
2024-09-15 19:06:10 +03:00
Koyper
f7005deb1e
Improvements to SplitContainer including a drag bar background StyleBox.
2024-09-14 19:35:51 -05:00
Markus Sauermann
60aaa017ff
Enable Drag and Drop for SubViewports and Windows
...
Make Drag and Drop an application-wide operation.
This allows do drop on Controls in other Viewports/Windows.
In order to achieve this, `Viewport::_update_mouse_over` is adjusted to
remember the Control, that the mouse is over (possibly within nested
viewports). This Control is used as a basis for the Drop-operation, which
replaces the previous algorithm, which was only aware of the topmost
Viewport.
Also now all nodes in the SceneTree are notified about the Drag and Drop
operation, with the exception of SubViewports that are not children of
SubViewportContainers.
2024-09-15 01:06:02 +02:00
Silc Lizard (Tokage) Renew
8d30ccd067
Add missing "Quad" capture TransitionType enum hint
2024-09-15 06:42:04 +09:00
Silc Lizard (Tokage) Renew
2b3cf2451f
Fix syncing PhysicalBone internal poses individually
2024-09-15 01:46:12 +09:00
Mounir Tohami
701188fd1e
Fix VSlider
grabber area.
2024-09-14 12:40:41 +00:00
Haoyu Qiu
504e0656bb
Add TextEdit option to prevent copying without a selection
2024-09-14 09:39:36 +08:00
2750558108
ccc6e5d25f
Remove Useless Viewport::gui.key_input_accepted
2024-09-13 20:52:05 +08:00
Rémi Verschelde
84f1fe781c
Merge pull request #96910 from zaevi/improve_GraphEdit_dot_grid
...
GraphEdit: Improve dotted pattern grid performance
2024-09-13 11:22:05 +02:00
Rémi Verschelde
f2ce94fdde
Merge pull request #96885 from LuizZak/grow_mask_sqrt_fix
...
Avoid expensive sqrt operation in hot loop of `BitMap.grow_mask`
2024-09-13 11:22:01 +02:00
Rémi Verschelde
b60e16ff62
Merge pull request #96592 from bruvzg/alt_u
...
Add Control+Shift+U (rebindable) action for Unicode input, show hex as it is entered.
2024-09-13 11:21:51 +02:00
Zae
84102af090
GraphEdit: Improve dotted pattern grid performance
2024-09-12 23:58:42 +08:00
Luiz Fernando Silva
293cc2126e
Avoid expensive sqrt operation in hot loop of BitMap.grow_mask
2024-09-12 11:04:57 -03:00
kobewi
b36bebc6da
Add SCROLL_MODE_RESERVE to ScrollContainer
2024-09-12 14:02:01 +02:00
bruvzg
b776f55bcb
Add Control+Shift+U (rebindabe) action for Unicode input, show hex as it is entered.
2024-09-12 11:47:24 +03:00
Rémi Verschelde
83d54ab2ad
Merge pull request #96708 from bruvzg/lbl3d_os
...
🔗 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
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-12 10:28:52 +02:00
Rémi Verschelde
cc52112144
Merge pull request #96643 from bruvzg/fs_links
...
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-12 10:28:44 +02:00
bruvzg
0a3a483ca7
Fix native file dialog showing on loading project in editor.
2024-09-12 10:49:50 +03:00
Rémi Verschelde
b214aa8faf
Merge pull request #96880 from zeux/fix-vcache-nontri
...
Fix a crash in `ImporterMesh::create_shadow_mesh` for non-triangle surfaces
2024-09-12 09:26:01 +02:00
Rémi Verschelde
ae50e9ef7b
Merge pull request #96878 from bruvzg/rtl_font_reload
...
[RTL] Fix font not updated for some spans.
2024-09-12 09:25:57 +02:00
Rémi Verschelde
b998cb1335
Merge pull request #96768 from DeeJayLSP/wav-end
...
WAV: Fix one frame overflow at the end
2024-09-12 09:25:31 +02:00
Rémi Verschelde
b9b07d619f
Merge pull request #94783 from TokageItLab/validate-gltf-anim-name
...
Add validation to glTF importer for Blendshape and Animation
2024-09-12 09:25:10 +02:00
Rémi Verschelde
33dd105119
Merge pull request #96305 from Jordyfel/scroll-container-min-size
...
Fix scroll container min size calculation
2024-09-12 09:17:47 +02:00
DeeJayLSP
147accdf74
WAV: Fix one frame overflow at the end
2024-09-11 21:57:14 -03:00
David Snopek
c2af6bcb59
GDExtension: Mark virtual function as is_required
in extension_api.json
...
Co-authored-by: Jovan Gerodetti <jovan.gerodetti@titannano.de>
2024-09-11 16:48:14 -05:00
Arseny Kapoulkine
7d7b43bca2
Fix a crash in ImporterMesh::create_shadow_mesh for non-triangle surfaces
...
optimize_vertex_cache_func assumes the input is a triangle mesh; when an
imported mesh contains points/lines/triangle strips, this code should be
disabled.
2024-09-11 13:18:58 -07:00
bruvzg
e517eaf053
[RTL] Fix font not updated for some spans.
2024-09-11 23:02:00 +03:00
Rémi Verschelde
3cad849b1f
Merge pull request #96586 from rune-scape/fix-empty-stringname-hash
...
StringName: Fix empty hash
2024-09-11 12:34:56 +02:00
Rémi Verschelde
b0328993e6
Merge pull request #87674 from WhalesState/line-edit
...
Prevent `LineEdit` focus loss when text is submitted or rejected and allow selecting without editing with arrow keys.
2024-09-11 12:34:31 +02:00
Rémi Verschelde
6162312f22
Merge pull request #96140 from xiongyaohua/path_follow_3d_update_transform_immediately
...
PathFollow3D update transform immediately by default
2024-09-11 12:34:25 +02:00
Malcolm Nixon
3e93970ef5
Expose the optimize method of the Animation class to gdscript.
2024-09-11 01:18:30 -04:00
Jordyfel
6d516a2609
Fix scroll container min size calculation
2024-09-10 17:25:34 +03:00
Mounir Tohami
c36f466a4c
Prevent LineEdit
from losing focus when text is submitted or rejected.
2024-09-10 13:43:31 +00:00
Yaohua Xiong
51b8b74d4b
Do not defer PathFollow3D transform updates
...
Co-authored-by: Yaohua Xiong <xiongyaohua@gmail.com>
2024-09-10 10:35:48 +02:00
bruvzg
3009073b39
[Resource Loader] Do not check property type for non registered properties.
2024-09-10 11:27:16 +03:00
rune-scape
0dde931bc9
StringName: Fix empty hash
...
+Fixed compat hashes
2024-09-09 13:30:02 -07:00
Rémi Verschelde
493f3edce7
Merge pull request #96572 from adamscott/fix-samples-leak
...
Fix leak when using audio samples instead of streams
2024-09-09 17:51:42 +02:00
Rémi Verschelde
20115dc36f
Merge pull request #96706 from bruvzg/rtl_process
...
[RTL] Fix internal process incorrectly disabled on appending text.
2024-09-08 23:22:19 +02:00
Rémi Verschelde
325c1cffc4
Merge pull request #96232 from AThousandShips/tree_navigate_row
...
[Tree] Improve navigation with row select mode
2024-09-08 23:21:44 +02:00
Rémi Verschelde
7a4c03418a
Merge pull request #96144 from SaracenOne/reimport_owner_instance
...
Make reimported models reimport their owner.
2024-09-08 23:21:32 +02:00
Rémi Verschelde
0e307f8647
Merge pull request #96017 from DeeJayLSP/wav-vec
...
AudioStream(Playback)WAV: Use LocalVectors instead of pointers
2024-09-08 23:21:23 +02:00
Rémi Verschelde
5216edeb14
Merge pull request #95500 from tetrapod00/zero-separation-focus-neighbor
...
Fix wrong focus neighbor for grid-aligned 0 separation controls
2024-09-08 23:21:18 +02:00
Rémi Verschelde
49b725ddcc
Merge pull request #93353 from AThousandShips/config_warning_fix
...
Fix super call in various `get_configuration_warnings` methods
2024-09-08 23:21:09 +02:00
Gaktan
238859fe9d
Fix graph node stretch not taking titlebar into account
2024-09-08 17:59:50 +02:00
bruvzg
ccf837b75e
[RTL] Fix internal process incorrectly disabled on appending text.
2024-09-08 18:07:55 +03:00
bruvzg
bdd5117086
[Label3D] Fix updating labels in subvieports on oversampling change.
2024-09-08 15:11:13 +03:00
DeeJayLSP
d5ad6dd699
AudioStream(Playback)WAV: Use LocalVectors instead of pointers
2024-09-08 02:32:59 -03:00
Saracen
86ce15fb7a
Make reimported models reimport their owner.
...
Changes the behaviour of the scene hot-reload system
so that if the scene which needs to be reimported is
owned by another instance, reload that instance instead.
2024-09-08 03:12:47 +01:00
tetrapod00
c5ef2e2112
Add tie-breaking to find focus neighbor in Control
2024-09-06 18:07:48 -07:00
Rémi Verschelde
a6db33ef89
Merge pull request #96614 from graydoubt/feat/cancel_drag
...
Expose `Viewport.gui_cancel_drag()` to GDScript as a counterpart to `Control.force_drag()`
2024-09-06 22:38:37 +02:00
Rémi Verschelde
6815c47869
Merge pull request #96507 from bruvzg/menu_index
...
[MenuBar] Make menu start index more consistent.
2024-09-06 22:38:33 +02:00
Rémi Verschelde
aa07333abe
Merge pull request #96114 from BlueCube3310/sh-lightmap-packing
...
LightmapGI: Pack L1 SH coefficients for directional lightmaps
2024-09-06 22:38:29 +02:00
Rémi Verschelde
d000faa559
Merge pull request #92962 from bruvzg/rtl_bbcode_parsing
...
[RTL] Improve BBCode parsing.
2024-09-06 22:38:17 +02:00
Rémi Verschelde
0b4ae20156
Merge pull request #78656 from Repiteo/typed-dictionary
...
Implement typed dictionaries
2024-09-06 22:38:13 +02:00
bruvzg
da4f5fb953
[FileSystem Dock] Add symlink indicator and tooltip.
2024-09-06 14:55:07 +03:00