Commit Graph

77006 Commits

Author SHA1 Message Date
Pāvels Nadtočajevs e1f129cb52 Support MIME types in file dialog filters on macOS and Linux. 2025-01-04 22:05:35 +02:00
Hugo Locurcio 54a4a874fa Fix warning in CollisionPolygon2D documentation description
This was a copy-paste error from the CollisionShape2D documentation.
2025-01-04 17:53:19 +01:00
Danil Alexeev 4cef91e0f5 Editor: Fix Ctrl+Click on enum values ​​does nothing 2025-01-04 17:28:53 +03:00
LuoZhihao 9eeeadb037 ColorPicker: Improve the accuracy of hue slider in OKHSL mode 2025-01-04 21:36:27 +08:00
clayjohn 96ce5c0001 Ensure Sky with custom fov has correction matrix applied to it in RD renderers 2025-01-03 17:11:02 -08:00
clayjohn 7e8facc526 Update Light2D rect_cache even when not using shadows.
This also cleans up how the rect_cache is updated to make the steps more clear
2025-01-03 16:17:58 -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
Hugo Locurcio 4e888f9987 Make the GridMap editor cursor translucent
This makes it possible to distinguish GridMap tiles that haven't been
placed yet from those that are already in place.
2025-01-03 23:21:33 +01:00
Hugo Locurcio 19b8b10218 Add an editor setting for the GridMap grid color
The opacity can be adjusted by changing the alpha channel of the color
setting. The setting applies without having to restart the editor.
2025-01-03 23:06:29 +01:00
kobewi f8fd15690c Don't show "Drawing rect" when not actually drawing 2025-01-03 22:54:26 +01:00
Adam Scott a12c1d3ddb Stop AudioStreamPlayback only if it's not playing 2025-01-03 16:26:08 -05:00
kobewi 3366f08a2c Don't print error when updating terrains tree without layer 2025-01-03 22:23:52 +01:00
aXu-AP 8318eda899 Move Polygon2D editor to bottom panel
Move UV editor to bottom panel to allow realtime preview of results. Rename the editor to Polygon editor.

Refactor enums and rename polygon editor members.
Remove "uv" prefixes and clarify some names. Reorder/regroup some members in header file.
2025-01-03 22:22:55 +02:00
Lukas Tenbrink 0e72967244 Consolidate Variant int and float conversion functions to reduce duplicate logic. 2025-01-03 20:16:43 +01:00
kobewi 685ff5be8f Fix converting root Sprite2D 2025-01-03 20:05:27 +01:00
Danil Alexeev 07f8935c69 GDScript: Deprecate inst_to_dict() and dict_to_inst() functions 2025-01-03 21:17:06 +03:00
arkology 3fa775b844 Speed up Line2D._edit_get_rect() 2025-01-03 20:32:08 +03:00
Elias Pozewaunig 8de13860e8 Added web support for all missing splash screen properties
show_image, fullsize and use_filter are now supported too.

bg_color, image and minimum_display_time were already supported previously.
2025-01-03 17:56:05 +01:00
HP van Braam 873eb21ce8 Optimize Thread::get_caller_id()
By making sure that Thread always has a valid caller_id we can remove the
check making the function a straightforward getter instead.

In some quick tests we see a repeatable performance improvement of
somewhere around 0.32 mspf in TPS demo.

Co-authored-by: Pedro J. Estébanez <pedrojrulez@gmail.com>
2025-01-03 17:33:10 +01: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
Adam Scott 6db599232e Fix Script metadata usage 2025-01-03 11:12:37 -05:00
Pedro J. Estébanez de7e4efef8 Fix RID_Owner synchronization 2025-01-03 17:05:36 +01:00
Lars Pettersson e492ddde12 Don't scroll to selected file in FileSystem when saving scenes 2025-01-03 16:29:00 +01:00
Dario dea083864b Remove TODO from RenderingDevice regarding thread safety. 2025-01-03 10:26:44 -03: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
BlueCube3310 e8e62d0cdd astcenc: Allow runtime decompression of ASTC formats 2025-01-03 12:07:22 +01:00
kobewi e167f4df37 Remember QuickOpenDialog history between sessions 2025-01-03 11:51:28 +01:00
Ricardo Subtil b77aa473a1 Implement a "Recovery Mode" for recovering crashing/hanging projects during initialization 2025-01-03 10:50:15 +00:00
kobewi c1cdcad96a Fix ProjectTag button variation 2025-01-03 11:41:00 +01:00
Kiro 13f548c7f5 Simplify_NavMeshQueries3D::_query_task_build_path_corridor 2025-01-03 08:53:57 +01:00
Roan Lubbe 6b1869b76b Fix get_meta_list return type in description 2025-01-03 16:17:28 +11:00
Rémi Verschelde bdf625bd54 Merge pull request #101051 from aaronfranke/gltf-always-read-alpha-cutoff
GLTF: Always read `alphaCutoff` property
2025-01-03 02:01:35 +01:00
Rémi Verschelde c3c0c24d1e Merge pull request #100863 from larspet/project-list-placeholder
ProjectManager: Update project list placeholder when project is created
2025-01-03 02:01:32 +01:00
Rémi Verschelde 88a101ef8c Merge pull request #100787 from KoBeWi/uid_be_like_'I'm_back'
Re-create missing .uid files
2025-01-03 02:01:28 +01:00
Rémi Verschelde a17a0bc808 Merge pull request #100717 from KoBeWi/icon_uncache
Fix icon UIDs in Project Manager
2025-01-03 02:01:24 +01:00
Rémi Verschelde 29bd5c06ef Merge pull request #100636 from raulsntos/dotnet/emit-signal-fix
[.NET] Fix EmitSignal with typed array parameters
2025-01-03 02:01:20 +01:00
Rémi Verschelde 89b18de032 Merge pull request #100221 from adamscott/fix-diraccess-sync
[Web] Fix `DirAccess::unlink()` not updating the IDBFS
2025-01-03 02:01:16 +01:00
Rémi Verschelde abe5ba044c Merge pull request #99071 from akien-mga/os-unused-display_driver_id
Remove unused OS `_display_driver_id` member
2025-01-03 02:01:12 +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 b34adf29dc Remove unused OS _display_driver_id member 2025-01-03 01:52:25 +01:00
Rémi Verschelde efae48a209 Merge pull request #100624 from Repiteo/scons/node-count-fix
SCons: Don't update node count when cleaning
2025-01-03 01:06:58 +01:00
Rémi Verschelde 5a8b7188af Merge pull request #101044 from mihe/jolt/revert-100533
Revert "Stop reporting contacts for sleeping bodies when using Jolt Physics"
2025-01-03 00:50:13 +01:00
Rémi Verschelde 8e66fac92a Merge pull request #101037 from smix8/navregion_polys
Make NavMeshQueries use NavRegionIteration polygons directly
2025-01-03 00:50:10 +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 e680767fb9 Merge pull request #100987 from marcelovbcfilho/master
Windows: Implement native menu close callback
2025-01-03 00:49:55 +01:00
Rémi Verschelde 1f2d535f78 Merge pull request #100983 from mihe/jolt/only-iterate-active-bodies
Improve performance with many static/sleeping bodies when using Jolt Physics
2025-01-03 00:49:51 +01:00
Rémi Verschelde d28c41616a Merge pull request #100938 from RedMser/system-user-adb
Respect system user setting for (un)installing APK
2025-01-03 00:49:48 +01:00
Rémi Verschelde 21e6671740 Merge pull request #100937 from Repiteo/style/clang-format-sync
Style: Enforce `AllowShortFunctionsOnASingleLine`
2025-01-03 00:49:44 +01:00