1
0
Fork 0
Commit Graph

16437 Commits

Author SHA1 Message Date
HP van Braam 32ef7306f4 Handle changing ItemLists from signals
We make sure we don't touch the ItemList's items array after signals are
emitted as a signal handler might change the item list, causing the
index we had to be invalid.

This fixes #100663
2025-01-05 02:10:28 +01:00
Pāvels Nadtočajevs e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
LuoZhihao 9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
Malcolm Anderson be266138d7 Add `tween_subtween` method for nesting Tweens
No actual functionality yet

Actual subtween functionality implemented

Added documentation for Tween.tween_subtween and SubtweenTweener

Implemented some additional functions

`set_ease`, `set_trans`, and `set_delay`
Documentation only for `set_delay` so far, since I have tested it

Removed set_ease and set_trans

Upon further investigation, the way they are implemented for Tween doesn't appear to work here

Fixed indentation in documentation

Reset subtween when parent loops

Fix return type of `SubtweenTweener.set_delay`

Add notes to documentation

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply some suggested changes

- Remove excessive documentation
- Add Tween constructor that takes in SceneTree
- Make `SubtweenTweener::subtween` public so that `Tween` doesn't have to be a friend class

Remove unneeded friend class SceneTree

Remove superfluous documentation describing subtween behavior

Apply suggestions from code review

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>

Apply suggestions from code review

Co-authored-by: Thaddeus Crews <repiteo@outlook.com>

Apply suggestions from code review

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Early return from `tween_subtween` if the subtween is `null`
2025-01-03 14:28:48 -08:00
arkology 3fa775b844 Speed up `Line2D._edit_get_rect()` 2025-01-03 20:32:08 +03:00
Rémi Verschelde c049d07121
VariantParser: Ensure all parse errors have an explanation
Likewise in ResourceFormatText and JSON.
2025-01-03 17:17:37 +01:00
Zach Seiss 86ab88f016 added preservation of emission ring properties during conversion from GPUParticles3D to CPUParticles3D and vice versa 2025-01-03 07:47:06 -05:00
kobewi c1cdcad96a Fix ProjectTag button variation 2025-01-03 11:41:00 +01: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 32b081b2ff
Merge pull request #101005 from Sauermann/fix-graph-node-crash
Fix nullptr crash with freed `GraphNode` in GraphEditArranger
2025-01-03 00:50:02 +01:00
Rémi Verschelde d47fef15b8
Merge pull request #100991 from TokageItLab/180deg-arc
Fix looking at with 180 degree arc
2025-01-03 00:49:59 +01:00
Rémi Verschelde 2f4cb705c3
Merge pull request #100930 from beicause/fix-color-picker-cursor-position-in-okhsl
ColorPicker: Fix cursor position in OKHSL wheel
2025-01-03 00:49:37 +01:00
Rémi Verschelde ff14d86fa3
Merge pull request #100811 from TokageItLab/bitmask-retarget
Make transform elements BitField in RetargetModifier
2025-01-03 00:49:14 +01:00
Rémi Verschelde 703552c51b
Merge pull request #100240 from WhalesState/line-edit-focus
`LineEdit` add member `keep_editing_on_text_submit`
2025-01-03 00:48:34 +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 0d710da96c
Merge pull request #98554 from Calinou/add-property-hint-ranges
Add more property hint ranges for project settings
2025-01-03 00:47:59 +01:00
Mounir Tohami e89c196a80 `LineEdit` add member `keep_editing_on_text_submit`.
Allow users to exit edit mode when Enter is pressed.
2025-01-02 23:41:27 +02:00
Silc Lizard (Tokage) Renew d0c421976c Fix looking at with 180 degree arc
Co-authored-by: Fruitsalad <949631+fruitsalad@users.noreply.github.com>
2025-01-02 15:47:01 +09: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
Markus Sauermann 54373160df Fix Crash with `GraphNode`
When using `queue_free()` on GraphNodes, `p_from` can become `nullprt`.
This PR adds a check to prevent crashes in these situations.
2025-01-01 22:20:57 +01:00
Nazarii 482531c4b8 Use thread_local for bones_backup 2024-12-31 16:32:15 +02:00
Thaddeus Crews df2b117ec2
Merge pull request #100317 from TCROC/fix-collision-shape-debug-color-breaks-gdextension
Fix collision shape debug color breaking GDExtension
2024-12-30 08:58:41 -06:00
Thaddeus Crews 953db6e785
Merge pull request #100752 from AThousandShips/unify_timer_scale_naming
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
2024-12-30 08:58:36 -06:00
Thaddeus Crews 0e00f41650
Merge pull request #100735 from tvenclovas96/tween_ignore_time_scale
Add an option for tweens to ignore `Engine.time_scale`
2024-12-30 08:58:25 -06:00
Thaddeus Crews 01c6e18963
Merge pull request #100745 from mdelorme/mdelorme/issue_100727
Assign the project manager title to the node instead of DisplayServer
2024-12-30 08:58:23 -06:00
LuoZhihao 47db9c0405 ColorPicker: Fix cursor position in OKHSL wheel 2024-12-30 22:25:20 +08:00
Thaddeus Crews a9b6b3d932
Merge pull request #100776 from AThousandShips/improve_null_checks
Improve use of `Ref.is_null/valid`
2024-12-29 09:35:04 -06: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
Rémi Verschelde ff83fdcdd7
Pre-commit: Fix applying ruff to SCsub files
Also ignore iOS template dummy.h file for header guards check.

Update ruff to 0.8.4 while at it.
2024-12-28 10:19:46 +01:00
Silc Lizard (Tokage) Renew 24f5361b8a Make transform elements BitField in RetargetModifier 2024-12-28 07:19:48 +09:00
Lars Pettersson 3c1ac98f37
Allow overriding SpinBox value on `focus_exited` 2024-12-27 22:12:57 +01:00
AThousandShips 8d1a3e2a76
[Core] Align naming and args of `(SceneTree)Timer` time scale methods
Renamed `get_ignore_time_scale` to `is_ignoring_time_scale` following general naming standards.
2024-12-23 16:47:00 -05: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
Travis Lange f0c077deb8 fix collision shape debug color breaking gdextension 2024-12-23 15:02:54 -05:00
Maxime Delorme e4e966b0f2 Fix #100727 by giving the project manager title to the node instead of DisplayServer 2024-12-23 19:44:18 +01:00
Hugo Locurcio 62c17911ea Add more property hint ranges for project settings
- Tweak property hint ranges for some networking settings to ensure
  the minimum values don't break the debugger entirely.
- Ensure shader time rollover is set to at least 1, as 0 causes a division by
  zero to occur.

All relevant project settings are now covered by a range hint.
2024-12-23 18:22:32 +01: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 a7fb67b827
Merge pull request #100746 from syntaxerror247/size-regression
Android: Fix `Window` size changes ignored when node is not in tree
2024-12-23 11:15:09 -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
Thaddeus Crews 0c80b47ef0
Merge pull request #97687 from YYF233333/animation
Convert Vector to LocalVector in animation system
2024-12-23 11:14:56 -06:00
Yyf2333 2f9a6636bd Convert Vector to LocalVector in animation system.
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2024-12-24 00:50:48 +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
Anish Mishra 9f3067ef21 Fix Window size changes ignored on Android 2024-12-22 23:12:54 +05:30
tvenclovas96_bigblackc dbc0cc1437 Add `Tween::ignore_time_scale` 2024-12-22 18:39:54 +02:00
Rémi Verschelde 9f42d1c3cb
Merge pull request #100678 from clayjohn/label3d-msdf
Fix shader compilation errors when using MSDF fonts with Label3D nodes
2024-12-22 00:10:16 +01:00
Rémi Verschelde 88e6997917
Merge pull request #97745 from scgm0/Fix-blurred-content-of-embedded-windows
Improve blurred content of embedded windows
2024-12-22 00:09:55 +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
clayjohn ed83e5ee4b Fix shader compilation errors when using MSDF fonts with Label3D nodes 2024-12-20 17:30:55 -07:00
Rémi Verschelde a7a2a12bfd
Merge pull request #100671 from bruvzg/get_menu
[MenuBar] Use PopupMenu title property as a menu name.
2024-12-20 23:57:47 +01:00
Rémi Verschelde fd5548a8b7
Merge pull request #100634 from YYF233333/iwyu2
Remove unused headers in servers
2024-12-20 23:57:09 +01:00
Rémi Verschelde 024b6bc1ce
Merge pull request #100632 from Namey5/decal-duplication-crash
Fix crash when duplicating `Decal` or `Light3D` nodes
2024-12-20 23:57:05 +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
Rémi Verschelde 8a743f23e6
Merge pull request #98385 from RandomShaper/thread_yield
Rationalize busy waits
2024-12-20 23:56:39 +01:00
Rémi Verschelde 7d5b23c5b0
Merge pull request #96626 from hakro/steady_as_she_goes
Allow Timer nodes to ignore engine time scale
2024-12-20 23:56:33 +01:00
Alex Threlfo 90a0c06631
Fix crash when duplicating Decal or Light3D nodes
Co-authored-by: Jayden Sipe <jayden.sipe@gmail.com>
2024-12-20 23:51:47 +01:00
Pāvels Nadtočajevs 9604e98a52 [MenuBar] Use PopupMenu title property as a menu name. 2024-12-20 23:35:07 +02:00
kobewi 9a96393f46 Add warped panning to every ViewPanner instance 2024-12-20 17:40:27 +01:00
scgm0 0bc2c269cb Fix blurred content of embedded windows 2024-12-20 22:44:36 +08:00
Yufeng Ying e88e30c273 Remove unused headers in servers.
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
2024-12-20 18:51:01 +08:00
Thaddeus Crews a6e89ba2ba
Merge pull request #80121 from Sauermann/fix-embedded-window-stretch
Fix display of embedded `Window`
2024-12-19 20:00:17 -06:00
Thaddeus Crews ddf6e9e3eb
Merge pull request #100595 from bruvzg/win_drv_letter
[Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter.
2024-12-19 20:00:15 -06:00
Thaddeus Crews 075567a5b3
Merge pull request #100456 from Sauermann/proposal-hovered-connection-highlight
Highlight hovered `GraphEdit` connection by widening the line
2024-12-19 20:00:08 -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
Thaddeus Crews b715fabd70
Merge pull request #76371 from ze2j/array_mesh_surface_remove
Add `ArrayMesh::surface_remove`
2024-12-19 19:59:56 -06:00
Thaddeus Crews 2fcd8223e8
Merge pull request #99538 from Geometror/lightmap-gi-transparent-surface
Add transparency support for LightmapGI
2024-12-19 19:59:52 -06:00
Thaddeus Crews 3d523ee86d
Merge pull request #92997 from Calinou/styleboxflat-antialiasing-adjust-for-stretch-scale
Adjust StyleBoxFlat antialiasing to account for 2D stretch scale
2024-12-19 19:59:48 -06:00
Thaddeus Crews 37d1e7fc89
Merge pull request #99268 from Meorge/add-volume-linear
Add `volume_linear` property and getter/setter methods for audio-related classes
2024-12-19 19:59:47 -06:00
Thaddeus Crews d3e5b62ea2
Merge pull request #99230 from paddy-exe/instance_uniforms_compatability_renderer
Implement 2D instance uniforms
2024-12-19 19:59:37 -06:00
Markus Sauermann 0a875ab3bb Highlight hovered `GraphEdit` connection by widening the line
This change causes the connections to be additionally highlighted by
widening the line with a configurable factor.
2024-12-20 00:55:35 +01: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
Hakim 483c1348d0 Allow Timer nodes to ignore engine time scale 2024-12-19 18:40:24 +01:00
Zshandi Krahn 0d40fe46e3 Node2D/3D: Make position follow default float step 2024-12-19 00:11:39 -08:00
bruvzg b9a00feb66 [Windows, FileDialog] Prepend drive letter to the absolute paths without drive letter. 2024-12-19 09:47:46 +02:00
Hilderin 9d2a4c03be Embedding game process in editor 2024-12-18 17:52:42 -05:00
Malcolm Anderson 2f5b97c7f9 Add `volume_linear` property and methods for audio-related classes
Remove default value from `volume_linear` property documentation

Remove `volume_linear` internal property from `AudioBusLayout`

Update doc/classes/AudioEffectAmplify.xml [no ci]

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

Make documentation more concise [no ci]
2024-12-18 12:41:57 -08:00
Hendrik Brucker a3525bc015 Add transparency support for LightmapGI
Co-authored-by: Guerro323 <kaltobattle@gmail.com>
2024-12-18 19:36:16 +01:00
Rémi Verschelde 46c8f8c5c5
Merge pull request #100093 from dalexeev/fix-collision-shape-2d-3d-debug-color
Fix `CollisionShape{2D,3D}.debug_color` inconsistencies
2024-12-18 18:23:54 +01:00
Rémi Verschelde e69a5618c0
Merge pull request #100494 from havi05/bbcode-rainbow-effect
Fix `RichTextLabel` bbcode rainbow play reversed and paused
2024-12-18 17:23:36 +01:00
Rémi Verschelde 7b90590e85
Merge pull request #100422 from hpvb/from-the-depth-of-despair
Fix a crash trying to save an empty AudioStream
2024-12-18 00:39:53 +01:00
Rémi Verschelde 90555e6b4d
Merge pull request #100378 from clayjohn/particles-preprocess
Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes
2024-12-18 00:39:49 +01:00
kobewi ceefc0d38a Implement 2D instance shader parameters
Co-authored-by: kobewi <kobewi4e@gmail.com>
Co-authored-by: yesfish <huwpascoe@users.noreply.github.com>
Co-authored-by: Álex Román Núñez <eirexe123@gmail.com>
2024-12-17 23:59:16 +01:00
HP van Braam eb948bc5a8 Fix a crash trying to save an empty AudioStream
My friends, gather around as I learned something about the C standard
that is horrifying and may keep you, dear reader, up at night.

My journey began trying to fix something entirely unrelated and not
wanting to wait for ubsan builds when changing a testcase. So me, in my
infinite naivete just built the engine with tests=yes, but
optimizations turned on.

This resulted in a segfault on "[Audio][AudioStreamWAV] Save empty file".

Well, then, I thought. Lets built with asan then and find out where this
happens! Would it surprise you, my fellow traveler, that the results
were that no such crash occurred?

Thus, to the debugger I go! Fearless, with great optimism. Where I find
that through many an indirection the crash came because, somehow,
CowData::_unref() was getting called with a _ptr set to 0x1.

This can of course only end in tears. Or segmentation faults as we try
to read an atomic variable at the somewhat inconveniently situated
address at 0xfffffffffffffff0.

So I went and looked at the likely culprit, blaming many an innocent
recent change along the way. I shall spare you the falsly accused. But
if for some reason you slept poorly last night, I can assure you that
the voodoo dolls have been put away and will not be harmed further.

So in AudioStreamWAV::get_data() we go, where we find a perfectly
reasonable function! It checks to see whether or not its data is empty,
and if it is not it will resize a temporary Vector to have data_bytes of
space, after which it will do a perfectly pedestrian memcpy() and all is
well in the world.

Or so it seems! After many an hour of despair and disassembly I, at
last, decided to look at where the data gets set! A breakthrough!
Because of the padding data is never empty! So the code always runs!

Eureka! One would think. But then, foolishly, I looked into the
get_data() function one more. My mortal enemy was staring me in the
face, laughing. Because it did not care about this. Sure, the check was
worthless but still... What are we left with.

At this point I could feel the method mocking me.

"I resize the vector to 0, I then memcpy zero bytes into it." It said,
DARING me to object to this state of affairs.

And yet, if I changed the function to check for "data_bytes" rather
than data.is_empty() no crashes.

Was this a compiler bug? Am I losing my mind? But then... I remembered
the mantra of the wise compiler druids... "It Is Not A Compiler Bug".

But what then! The bug does not happen when memory is being watched!
Valgrind agreed that while accessing the SafeRefCount at
0xfffffffffffffff0 was incredibly rude, it did not inform me of anything
else untoward happening. So I read the memcpy() manpage... nothing... I
read the the memcpy() posix spec... nothing.

Finally, in despair and because I had nothing left to lose... The ISO C
language specification. As I was reading, I could hear
AudioStreamWAV::get_data() cackling, knowing that its time was up, but
proud of the madness it caused in my soul. Knowing I would never be the
same.

The behavior is undefined if either dest or src is an invalid or null pointer.

So... Here I stand before you, a broken person. But one richer in
knowledge.

I write you this from the depths of madness in the hopes that you, dear
reader, can be spared this ordeal.

May god have mercy on our souls.

We trigger the following sequence of events:

* memcpy(null, null, 0) is UB, thus dest and src cannot be null
* we inline the calls to the ctor and dtor
* now we have a function that does something that "proves"
  dest cannot be null
* we inline cowdata::_unref() which does a null check, on something
  that the compiler just convinced itself cannot be null
* the compiler removes the dead code branch where _ptr == nullptr
* we start to do pointer arithmetic on a nullptr and get send to
  uninitialized memory.

Co-Authored-By: Jason Beckmann <jasonabeckmann@gmail.com>
2024-12-17 23:14:39 +01:00
Rémi Verschelde 382b0dfad1
Merge pull request #100373 from TokageItLab/fix-blendspace-discrete-sync
Fix Sync in BlendSpace1D/2D with BlendModeDiscrete
2024-12-17 23:00:02 +01:00
Rémi Verschelde f1eb2f928d
Merge pull request #100039 from TokageItLab/ping-pong-param
Make `backward` be parameter of the `AnimationTree` in the `AnimationNodeAnimation`
2024-12-17 22:59:47 +01:00
Hugo Locurcio 7a04d85ec3
Only allow valid types in Decal, Light3D projector, PointLight2D texture and CSGMesh3D mesh
If an invalid type is supplied (which can still be done from a script),
a warning is printed (along with a workaround for ViewportTexture).

This also adds support for "negative" resource hints such as
"Texture2D,-ViewportTexture" to exclude one or more subclasses
from a class hint.

Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2024-12-17 20:41:12 +01:00
Rémi Verschelde ed51ec999c
Merge pull request #100451 from larspet/update-syntax-highlight
Clear syntax highlighter cache when theme or syntax highlighter is changed
2024-12-17 16:19:37 +01:00
Rémi Verschelde b69a28a613
Merge pull request #100429 from havi05/itemlist-draw-focus-syle-last
`Itemlist` draw focus stylebox after items
2024-12-17 16:19:25 +01:00
Rémi Verschelde 9830780b3d
Merge pull request #100416 from TokageItLab/anode-ex
Make `AnimationNodeExtension` extend `AnimationNode` instead of `AnimationRootNode`
2024-12-17 16:19:22 +01:00
Rémi Verschelde 98ca63ae47
Merge pull request #99849 from Sauermann/fix-menu-button-hover
Fix `switch_on_hover` for `MenuButton`
2024-12-17 16:19:03 +01:00
Rémi Verschelde 1c94d13e21
Merge pull request #99721 from ryevdokimov/fix-spin-box
Fix removing last digit in spinbox while `update_on_text_changed` is true
2024-12-17 16:18:58 +01: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
Rémi Verschelde d701bc0032
Merge pull request #83917 from Calinou/directionallight3d-add-specular
Implement per-light Specular property in DirectionalLight3D
2024-12-17 16:18:29 +01:00
Markus Sauermann 0eff41d045 Fix displaying of embedded `Window`
Fix Rect of texture to take window and stretch transform into account.

There is no need for `viewport_attach_to_screen` for embedded windows,
since their display is handled via `Viewport::_sub_window_update`.
2024-12-17 08:38:14 +01:00
havi05 b905014128 Fix `RichTextLabel` bbcode rainbow play reversed and paused 2024-12-16 23:52:26 +01:00
Markus Sauermann 9c5886f95a Fix `switch_on_hover` for `MenuButton`
Previously, embedded Windows (the opened menu) were not accounted for
when checking for `switch_on_hover`.

`gui_get_hovered_control()` is more appropriate to check for the hover
status of other `MenuButton` nodes at the mouse position.

Explain the usage of the incorrectly used function in a comment.
2024-12-16 22:11:42 +01:00
havi05 0ee78a79cf Itemlist - draw focus stylebox after items 2024-12-16 19:49:14 +01:00
Andrew_Shobbrook e42def12d0
Implement per-light Specular property in DirectionalLight3D 2024-12-16 19:18:18 +01:00
Thaddeus Crews b1fb0f5f2f
Merge pull request #100442 from GuilhermeGSousa/rename-animation-node-process
Rename animation node process function to avoid gdextension name collision
2024-12-16 12:10:02 -06:00
Thaddeus Crews 4d4c229a83
Merge pull request #100432 from markdibarry/add_get_line_range_rtl
Add `get_line_range()` to `RichTextLabel`
2024-12-16 12:09:54 -06:00
Thaddeus Crews 9c9af038d5
Merge pull request #91060 from dalexeev/code-edit-add-doc-tooltips
Code Editor: Add documentation tooltips
2024-12-16 12:09:45 -06:00
Thaddeus Crews 017f0eb33a
Merge pull request #97449 from Geometror/ge-connections-prop
[GraphEdit] Make connections a property
2024-12-16 12:09:43 -06:00
Thaddeus Crews ee7de7d088
Merge pull request #99361 from havi05/itemlist-hover-on-selected
`ItemList` highlight selected items and draw `cursor`-stylebox last
2024-12-16 12:09:42 -06:00
Rémi Verschelde 08508d2e01
Merge pull request #99700 from hpvb/scene_tree_editor_performance
Improve Scene Tree editor performance
2024-12-16 17:16:00 +01:00
Hendrik Brucker e5be03a42b [GraphEdit] Make connections a property 2024-12-16 02:28:34 +01:00
Mark DiBarry 53a1be61a1 Add get_line_range to RTL 2024-12-15 19:09:42 -05:00
Lars Pettersson 2c16cfb52a
Clear cache on syntax highlighter or theme change 2024-12-15 22:41:30 +01:00
Guilherme Sousa 469f5a8fbc Rename animation node process function 2024-12-15 18:27:21 +01:00
Danil Alexeev 80d11500b5
Code Editor: Add documentation tooltips 2024-12-15 10:51:33 +03:00
Silc Lizard (Tokage) Renew 8d5a5f130a Make AnimationNodeExtention extend AnimationNode instead of RootNode 2024-12-15 06:36:47 +09:00
havi05 b05111799b ItemList - highlight selected items && draw cursor last 2024-12-14 19:03:43 +01:00
Rémi Verschelde ffe0cdebab
Merge pull request #99355 from havi05/itemlist-toggle-mode
Add `Toggle` selection mode to `ItemList`
2024-12-14 18:25:25 +01:00
Rémi Verschelde 66a2ea4718
Merge pull request #98610 from Flarkk/fix_sphere_capsule
Fix normals of very large `SphereMesh` and `CapsuleMesh`
2024-12-14 18:25:17 +01:00
Rémi Verschelde 36c6ce92db
Merge pull request #97660 from HolonProduction/completion-cancelation-🌈
GUI: Only cancel completion with the `ui_cancel` action
2024-12-14 18:25:13 +01:00
Rémi Verschelde 20064cf5c0
Merge pull request #95044 from Hilderin/fix-double-click-signal-connection
Fix connecting a signal with a double click is too difficult
2024-12-14 18:25:07 +01: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
Silc Lizard (Tokage) Renew d54229de8c Fix Sync in BlendSpace1D/2D with BlendModeDiscrete 2024-12-14 13:00:29 +09:00
Thaddeus Crews 9ecdeb3723
Merge pull request #98747 from tetrapod00/standardize-renderer-strings
Standardize terms for renderers in error strings
2024-12-13 16:19:37 -06:00
Thaddeus Crews 3c6896fd2a
Merge pull request #99181 from GuilhermeGSousa/animation-node-extension
Add animation node extension
2024-12-13 16:19:30 -06:00
Thaddeus Crews 5527bcbfbe
Merge pull request #100363 from RandomShaper/fix_mtl_mt_deadlock_4.4
Fix deadlock possibility in threaded load of materials
2024-12-13 16:19:24 -06:00
Thaddeus Crews 80ae6fc1ee
Merge pull request #100324 from YYF233333/codestyle
Remove dead code in `AnimationNodeStateMachine`
2024-12-13 16:19:18 -06:00
Alex Threlfo a85b0279fd fix: space transformations in WorldPositionFromDepth visual shader node generation 2024-12-14 08:52:42 +11:00
clayjohn f2a993aa1d Reduce slider range for Particles preprocess to discourage setting a preprocess time of 10 minutes 2024-12-13 11:36:36 -08:00
Pedro J. Estébanez 4bfc6f8d70 Fix deadlock possibility in threaded load of materials 2024-12-13 12:49:10 +01:00
Pedro J. Estébanez 4f8dd96b3d Rationalize busy waits 2024-12-13 10:14:26 +01:00
Florent Guiocheau 4c34813b32 Fix very large radius SphereMesh and CapsuleMesh normals 2024-12-13 09:26:59 +01:00
Thaddeus Crews bfc66f0608
Merge pull request #100282 from devloglogan/motion-vectors-openxr
Add renderer motion vectors API for use with OpenXR
2024-12-12 16:13:36 -06:00
Thaddeus Crews e0968eee8c
Merge pull request #91064 from KoBeWi/scan_everything
Make scan for projects threaded
2024-12-12 16:13:33 -06: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
HP van Braam 6f7525c396 Improve Scene Tree editor performance
We now cache the Node*<>TreeItem* mapping in the SceneTreeEditor. This
allows us to make targeted updates to the Tree used to display the scene
tree in the editor.

Previously on almost all changes to the scene tree the editor would
rebuild the entire widget, causing a large number of deallocations an
allocations. We now carefully manipulate the Tree widget in-situ saving
a large number of these allocations.

In order to know what Nodes need to be updated we add a
editor_state_changed signal to Node, this is a TOOLS_ENABLED,
editor-only signal fired when changes to Node happen that are relevant
to editor state.

We also now make sure that when nodes are moved/renamed we don't check
expensive properties that cannot contain NodePaths. This saves a lot of
time when SceneTreeDock renames a node in a scene with a lot of
MeshInstances. This makes renaming nodes go from ~27 seconds to ~2
seconds on large scenes.

SceneTreeEditor instances will now also not do all of the potentially
expensive update work if they are invisible. This behavior is turned off
by default so it won't affect existing users. This change allows the
editor to only update SceneTreeEditors that actually in view. In
practice this means that for most changes instead of updating 6
SceneTreeEditors we only update 1 instantly, and the others only when
they become visible.

There is definitely more that could be done, but this is already a
massive improvement. In complex scenes we see an improvement of 10x,
things that used to take ~30 seconds now only take 2.

This fixes #83460

I want to thank KoBeWi, TokisanGames, a-johnston, aniel080400 for
their tireless testing. And AeioMuch for their testing and providing a
fix for the hover issue.
2024-12-12 22:47:05 +01:00
kobewi cb4ceb823c Make scan for projects threaded 2024-12-12 22:31:32 +01:00
Robin Ward b3e970dde8 Adds `get_selection_line_offset` to `RichTextLabel`
This new method allow you to get the line offset of the current
selection (returns -1 if nothing is selected.)

This is useful if you want to pop up a control or menu above the
currently selected text. Previously there was no accurate way to get
this information.

The logic is moved from the implementation of `scroll_to_selection`
verbatim, and that method has been adjusted to avoid repetition.
2024-12-12 16:02:21 -05:00
BlueCube3310 85e4d1b9d3 LightmapGI: Automatically compress new lightmaps 2024-12-12 17:43:47 +01:00
havi05 b29e93bb51 ItemList - Add Toggle mode 2024-12-12 17:33:04 +01:00
Yufeng Ying 180c1b1cfa Remove dead code. 2024-12-12 23:40:25 +08: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
Rémi Verschelde 9d10e42a41
Merge pull request #98766 from Calinou/tree-drag-and-drop-use-process
Fix Tree drag-and-drop scrolling having low FPS at low Physics Ticks per Second
2024-12-12 14:09:55 +01:00
Rémi Verschelde 0e5c337453
Merge pull request #85653 from BlueCube3310/lightmap-gi-shadowmask
Implement LightmapGI shadowmasks
2024-12-12 14:09:30 +01:00
BlueCube3310 189c8eb671 Implement shadowmasks for LightmapGI
Co-authored-by: dearthdev <nathandearthdev@gmail.com>
2024-12-12 11:00:28 +01:00
Thaddeus Crews 66dd2895fa
Merge pull request #100208 from eviltrout/highlight-bg-fix
Fix user selection on top of `bgcolor` areas in a `RichTextLabel`
2024-12-11 17:36:05 -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 42580089b8
Merge pull request #100280 from Calinou/basematerial3d-remove-texturesize
Replace `textureSize()` with a uniform in BaseMaterial3D for MSDF rendering
2024-12-11 17:35:43 -06:00
Thaddeus Crews b773fff5a4
Merge pull request #99622 from Chaosus/shader_fix_global_empty_type
Add `samplerExternalOES` type to shader globals
2024-12-11 17:35:40 -06:00
Thaddeus Crews 2b41a217d2
Merge pull request #100259 from Sauermann/proposal-right-click-cancel-drag
Allow canceling drag-and-drop with right mouse button
2024-12-11 17:35:39 -06:00
Thaddeus Crews 153ef23483
Merge pull request #100129 from smix8/pathunspaghettification
Despaghettify NavigationServer path queries
2024-12-11 17:35:38 -06:00
Thaddeus Crews 1c4d12db2b
Merge pull request #99981 from dsnopek/fix-compositor-effects-gdextension
`CompositorEffect` should use `GDVIRTUAL_CALL()` so it works with GDExtension
2024-12-11 17:35:28 -06:00
smix8 476479419b Despaghettify NavigationServer path queries
Despaghettify NavigationServer path queries.
2024-12-11 22:29:48 +01:00
Rémi Verschelde c2e4ae782a
Merge pull request #100235 from akien-mga/revert-97303
Revert "Avoid duplicating signals from scene instances into packed scenes"
2024-12-11 18:48:18 +01:00
Hugo Locurcio 3dfc832272
Replace `textureSize()` with a uniform in BaseMaterial3D for MSDF rendering
This uniform was already defined for other uses previously.

`textureSize()` is known to be slow on mobile platforms due to how
the drivers implement it there, so it's best avoided.
2024-12-11 15:44:06 +01:00
kobewi b8b1584f5a Don't emit text_changed signal when clearing empty LineEdit 2024-12-11 14:16:36 +01: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
Markus Sauermann 4d6a6b21e2 Allow canceling drag-and-drop with right mouse button
This is a small usability enhancement, that allows users to cancel
drag-and-drop without the need to press the escape key on the keyboard.
2024-12-11 00:13:54 +01:00
devloglogan 3deb5884d7 Renderer agnostic motion vector rendering/OpenXR changes 2024-12-10 15:59:17 -06:00
Thaddeus Crews 9cf645df22
Merge pull request #100218 from akien-mga/scene-debugger-crash-invalid-shortcut
[Debugger] Fix scene debugger crash when editor shortcuts are invalid
2024-12-10 14:16:12 -06:00
Thaddeus Crews 69c67ede17
Merge pull request #88950 from bruvzg/excap
[macOS, Windows] Add support for excluding windows from a screenshot.
2024-12-10 14:16:10 -06: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 b88fd31687
Merge pull request #99397 from yosoyfreeman/master
Allow `apply_floor_snap` to preserve the horizontal position regardless of `stop_on_slopes`
2024-12-10 14:15:59 -06:00
Rémi Verschelde a8caad3437
[Debugger] Fix scene debugger crash when editor shortcuts are invalid 2024-12-10 10:49:24 +01:00
Rémi Verschelde 2153a60425
Revert "Avoid duplicating signals from scene instances into packed scenes"
This partially reverts commit 8a42e3d3ef.

Comment improvements and the test case were kept, with one part commented out.
2024-12-10 10:42:58 +01:00
bruvzg 9fece033ab [macOS, Windows] Add support for excluding windows from a screenshot. 2024-12-10 11:00:13 +02:00
Chaosus ba39b078f5 [Scene] Add `SceneStringName::FlatButton` 2024-12-10 11:12:26 +03:00
clayjohn 4c0fb2110b Move texture property back to the top level of the Particles inspector.
This property needs to be set before the particles can be used. It should not be hidden away in an unrelated sub menu
2024-12-09 16:13:24 -08:00
Thaddeus Crews 09dd5e6b20
Merge pull request #98032 from zaevi/fix_drag_preview_position
Fix incorrect drag preview position under transformed `CanvasLayer`.
2024-12-09 14:33:36 -06:00
Thaddeus Crews e9679a28ff
Merge pull request #91604 from nongvantinh/implement-7946
Save color palette as resources to reuse later
2024-12-09 14:33:29 -06: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
Thaddeus Crews 101b78fbea
Merge pull request #100020 from Lielay9/mend-round-primitives
Mend gaps in meshes caused by trigonometric funcs.
2024-12-09 14:33:23 -06:00
Thaddeus Crews cc59949cfe
Merge pull request #100006 from Daylily-Zeleen/daylily-zeleen/hide_debug_instnce
Hide `NavigationRegion2D`'s debug instance instead of freeing it, and hide it when `navigation_polygon` is set to null.
2024-12-09 14:33:17 -06:00
Thaddeus Crews 3b8c459dae
Merge pull request #99992 from yahkr/fix_control_orphan_startup
Fix for `RuntimeNodeSelect` `selection_list` showing up as an orphaned node when editor is open during runtime
2024-12-09 14:33:13 -06:00
Thaddeus Crews 2654dbaf5c
Merge pull request #99984 from KoBeWi/negative_diff_but_it's_deleting_whole_files
Move singleton StringName definitions to header
2024-12-09 14:33:11 -06:00
Robin Ward 1e749f628e Fix user selection on top of `bgcolor` areas in a `RichTextLabel` 2024-12-09 11:37:37 -05:00
YoSoyFreeman 72650f9787 Allow apply_floor_snap to preserve the horizontal position after the snapping independently of stop_on_slopes 2024-12-07 23:00:46 +01:00
Lukas Tenbrink b5c31ebb41 Add contains_char() for single-character 'contains' calls. 2024-12-06 20:23:35 +01:00
Hei b4c6f9b3d9 Mend gaps in meshes caused by trigonometric funcs. 2024-12-06 17:10:12 +02:00
Nông Văn Tình e6a49ab6ac Save color palette as resources to reuse later
Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com>
2024-12-06 20:16:06 +07:00
kobewi d3c9bee653 Move singleton StringName definitions to header 2024-12-06 13:43:31 +01:00
Danil Alexeev 8bf2afd341
Fix `CollisionShape{2D,3D}.debug_color` inconsistencies 2024-12-06 15:12:20 +03:00
Timo Schwarzer 1daa9a180b
Fix Control offset_* property types 2024-12-06 09:06:55 +01:00
landervr 05010180ce ReflectionProbe add Blend Distance 2024-12-05 23:29:47 +01:00
Thaddeus Crews 6588505aca
Merge pull request #96735 from bruvzg/rtl_frame_indent
[RTL] Fix indent in tables and tables in indent.
2024-12-05 14:12:18 -06:00
Thaddeus Crews b34a643404
Merge pull request #96346 from DeeJayLSP/qoa-opt
Use `qoa.c` and custom compress procedure
2024-12-05 14:12:15 -06:00
DeeJayLSP afd68d785b Use `qoa.c` and custom compress procedure 2024-12-05 13:20:09 -03:00
Michael Alexsander eb5839dcbb
Add "At Start" mode for sub-emitter particles 2024-12-05 11:48:34 -03:00
Guilherme Sousa d7462d223c Add animation node extension 2024-12-05 04:27:16 -08:00
Silc Lizard (Tokage) Renew 652db79421 Make `backward` be parameter of the AnimationTree in the NodeAnimation 2024-12-05 20:58:41 +09:00
Thaddeus Crews 610f4a2687
Merge pull request #97328 from AThousandShips/fix_recursive_draw
Prevent infinite recursion in first `_draw`
2024-12-04 11:02:06 -06:00
Thaddeus Crews 53f59619e2
Merge pull request #99983 from MewPurPur/followup
Codestyle improvements in style_box_flat.cpp
2024-12-04 11:02:04 -06:00
yahkr f3a3452bca Fix for `RuntimeNodeSelect` `selection_list` showing up as an orphaned node when editor is open during runtime 2024-12-04 11:22:12 -05:00
Daylily-Zeleen 4eba3d8377 Hide NavigationRegion2D debug instance instead of free it, and hide it when navigation_polygon is set to null. 2024-12-04 17:58:12 +08:00
Hugo Locurcio b43c47d6dd Adjust StyleBoxFlat antialiasing to account for 2D stretch scale
This prevents the antialiasing feather from becoming too wide
at viewport sizes higher than the default, which can lead to blurry visuals.

This is adjusted to account for the 2D scale factor returned on the root
Window, so it takes both the `canvas_items` scaling and
`content_scale_factor` into account.
2024-12-04 01:07:25 +01:00
bruvzg 121e640637 [RTL] Fix indent in tables and tables in indent. 2024-12-03 23:30:08 +02:00
Thaddeus Crews 44cda51110
Merge pull request #98812 from bruvzg/macos_bundles_as_file
[macOS] Handle bundles as files in the embedded file dialogs.
2024-12-03 14:41:07 -06:00
Thaddeus Crews 6472e9e961
Merge pull request #99310 from syntaxerror247/filedialog_issue
Android: Set default ACCESS_FILESYSTEM root
2024-12-03 14:41:03 -06:00
Thaddeus Crews ec333a8c32
Merge pull request #99564 from JekSun97/get_connetion_count_method_graphedit
Add `get_connection_count` function to `GraphEdit`
2024-12-03 14:41:02 -06:00
Thaddeus Crews c72fe8e61f
Merge pull request #98082 from bruvzg/rtl_keep_tag_stack
[RTL] Keep tag stack between `append_text` calls.
2024-12-03 14:40:49 -06:00
Thaddeus Crews 330c01458c
Merge pull request #99595 from bruvzg/win_fd_index
Fix native file dialog filter selection in save dialogs.
2024-12-03 14:40:46 -06:00
Thaddeus Crews 42eb4fbc07
Merge pull request #93831 from what-is-a-git/wav-runtime
Add runtime file loading to `AudioStreamWAV`
2024-12-03 14:40:42 -06:00
Thaddeus Crews 70ff57b5f3
Merge pull request #99716 from DarioSamo/material-dirty-updates
Restore dirty list for BaseMaterial3D but don't use it on resource loader.
2024-12-03 14:40:41 -06:00
MewPurPur 08a8f430f4 Codestyle improvements in style_box_flat.cpp 2024-12-03 22:03:53 +02:00
David Snopek ca12f350db `CompositorEffect` should use `GDVIRTUAL_CALL()` so it works with GDExtension 2024-12-03 12:57:56 -06:00
bruvzg d5e599f77e [macOS] Handle bundles as files in the embedded file dialogs. 2024-12-03 12:41:52 +02:00
what-is-a-git 707f1038c3 Add runtime file loading to AudioStreamWAV 2024-12-02 20:03:53 -05:00
kit 93e06ff16c Fix select and edit invisble items in SubViewports 2024-12-02 17:12:51 -05:00
Michael Alexsander f7f6432af6
Make `PopupMenu/Panel` shadows properly visible again 2024-12-02 14:20:58 -03:00
bruvzg 4b23e504e8 [RTL] Keep tag stack between `append_text` calls. 2024-12-02 18:45:03 +02:00
Pāvels Nadtočajevs 6a331dafe1 Fix native file dialog filter selection in save dialogs. 2024-12-02 18:38:53 +02:00
Anish Mishra 7f64f230a7 Android: Set FileDialog default Filesystem root 2024-12-02 21:58:09 +05:30
Rémi Verschelde 0c4ad02e6d
Merge pull request #99668 from bruvzg/rtl_rn_notes
[RTL] Parse "\r\n" as a single paragraph break, add some documentation notes.
2024-12-02 17:20:35 +01:00
Rémi Verschelde e78ad1dfca
Merge pull request #99665 from bruvzg/rtl_clean
[RTL] Fix clearing text with `set_text("")`.
2024-12-02 17:20:31 +01:00
Rémi Verschelde aab12fd273
Merge pull request #99652 from bruvzg/fd_cd_win
[Windows] Fix root and current folder in native file dialog.
2024-12-02 17:20:27 +01:00
Rémi Verschelde 60e1490df1
Merge pull request #99644 from bruvzg/fd_all_name
Change file dialog all files filter name from `All Files (*)` to `All Files (*.*)`.
2024-12-02 17:20:23 +01:00
Rémi Verschelde fa264115ce
Merge pull request #98664 from bruvzg/ts_reset_subpixel_shift
[TextServer] Reset subpixel shift on blank glyphs.
2024-12-02 17:20:07 +01:00
Rémi Verschelde 8f79640dc3
Merge pull request #95511 from bruvzg/btn_oversampling_reshape
Reshape and update button on oversampling change.
2024-12-02 17:19:47 +01:00
Pāvels Nadtočajevs 2210dd1126 [RTL] Parse "\r\n" as a single paragraph break, add some documentation notes. 2024-12-02 17:50:04 +02:00
Rémi Verschelde eefd32ba16
Merge pull request #99915 from bruvzg/lbl_width
[Label] Fix min. width
2024-12-02 15:52:15 +01:00
Rémi Verschelde 715a7bac00
Merge pull request #99906 from bruvzg/lbl_empty_lines
[Label] Fix empty paragraph height.
2024-12-02 15:52:11 +01:00
Rémi Verschelde 204ce5a29a
Merge pull request #99882 from vgezer/fixcolorpicker
Add horizontal center for ColorPicker buttons
2024-12-02 15:52:04 +01:00
Rémi Verschelde 6c01b739b0
Merge pull request #99822 from havi05/lineedit-shortcuts
Allow copy/select shortcuts when `editable` is false in `LineEdit`
2024-12-02 15:51:48 +01:00
Rémi Verschelde ca1440fafb
Merge pull request #99759 from Mickeon/audio-stream-player-3d-seek-fix-for-real
Fix AudioStreamPlayer2D/3D's `get_playback_position` returning `0` right after calling `seek`
2024-12-02 15:51:38 +01:00
Rémi Verschelde 2f4f2e26a1
Merge pull request #99708 from Giganzo/rtl-slider
Fix RTL visuals for sliders
2024-12-02 15:51:20 +01:00
Rémi Verschelde 302da3d9a4
Merge pull request #99669 from syntaxerror247/root_window_issues
Fix root window size bug on `Android`
2024-12-02 15:51:16 +01:00
Rémi Verschelde 200bb202ba
Merge pull request #99481 from bruvzg/meta_tooltip
[RTL] Add tooltip support to meta/url tag.
2024-12-02 15:51:12 +01: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 d2c82a8ffc
Merge pull request #97378 from rune-scape/less-const-cast
Get rid of easily removable uses of `const_cast`
2024-12-02 15:50:06 +01:00
A Thousand Ships af56d6e8e8
Use `SceneStringName` in more places 2024-12-02 14:39:16 +01:00
Anish Mishra c699d5bada Fix root window size bug on Android 2024-12-02 19:00:28 +05:30
Pāvels Nadtočajevs dc71fbacc5 [RTL] Add tooltip support to meta/url tag. 2024-12-02 15:26:14 +02:00
JekSun97 95ca0aa7ad Add get_connetion_count function to GraphEdit 2024-12-02 19:15:37 +06:00
Pāvels Nadtočajevs e8f3bebb5d [Label] Fix min. width 2024-12-02 07:57:00 +02:00
rune-scape d58b2e879f Get rid of easily removable uses of const_cast 2024-12-01 17:50:13 -08:00
Pāvels Nadtočajevs 151dcf30ee [Label] Fix empty paragraph height. 2024-12-01 21:53:07 +02:00
A Thousand Ships 77549dd1f3
[Tree] Allow disabling auto generated tooltip for `TreeItem` 2024-12-01 14:39:51 +01: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
Volkan Gezer 5baedb5826 add horizontal center for colorpicker buttons 2024-11-30 19:55:11 +01:00
havi05 4b735d9fb2 LineEdit - Allow copy/select shortcuts when `editable==false` 2024-11-30 11:28:11 +01:00
Wagner 6995b6a03e Allow changing the anisotropic filter level at run-time per Viewport 2024-11-30 00:50:45 -03:00
Rémi Verschelde 16ee94a953
Merge pull request #99843 from KoBeWi/easy_windows
Add helper method to get Window from ID
2024-11-29 22:51:45 +01: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 cf165a1d29
Merge pull request #99739 from ydeltastar/fix-default-environment
Fix default `Environment` project setting and loading
2024-11-29 22:51:14 +01:00
Rémi Verschelde 05e93a6010
Merge pull request #99691 from Sauermann/fix-consume-mouse-over
Rename `SubViewportContainer` option `consume_drag_and_drop` to `mouse_target`
2024-11-29 22:51:10 +01:00
Rémi Verschelde 5e87bdae74
Merge pull request #98605 from bruvzg/lbl_mult_para
[Label] Handle text as multiple independent paragraphs.
2024-11-29 22:46:42 +01:00
Rémi Verschelde 7f5ffdf787
Merge pull request #98541 from ydeltastar/zero-multi-fix
Fix `MultiMesh` errors in editor and resource duplication
2024-11-29 22:46:38 +01:00
Rémi Verschelde 680142984d
Merge pull request #98450 from bruvzg/rtl_img_align
[RTL] Allow setting image alignment as separate bbcode argument.
2024-11-29 22:46:33 +01:00
Rémi Verschelde 5d74c5370b
Merge pull request #97963 from bruvzg/rtl_valign
[RTL] Add support for vertical alignment.
2024-11-29 22:46:14 +01:00
Rémi Verschelde 8d3fc48abf
Merge pull request #97521 from pafuent/enhance_scroll_container_focus
Add a focus border on `ScrollContainer`
2024-11-29 22:46:09 +01:00
Rémi Verschelde 5d9ffb7d1c
Merge pull request #97365 from aaronp64/vector_compose_input_defaults
Keep existing `VectorCompose` input values when setting vector type
2024-11-29 22:46:05 +01:00
Rémi Verschelde abf9eb5903
Merge pull request #93285 from rune-scape/listen-for-changes
More GUI nodes listening for texture changes
2024-11-29 22:45:39 +01:00