Commit Graph

15660 Commits

Author SHA1 Message Date
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
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
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
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
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
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 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
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
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
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