Commit graph

80557 commits

Author SHA1 Message Date
Joshua Bordelon
ccd664974a Fix animation library serialization compatibility for 4.5 projects
When opening a Godot 4.5 project in 4.6 and saving scenes with editable
children of imported scenes (e.g., .blend files), all animation data was
incorrectly being saved to the .tscn file.

This happened because the AnimationLibrary serialization format changed
between 4.5 and 4.6:
- 4.5: 'libraries' as a single Dictionary property
- 4.6: 'libraries/<name>' as separate properties per library

When the scene packer looked for 'libraries/<name>' in old imported
scenes, it didn't find them (only 'libraries' existed), causing all
animation data to appear as 'overridden' and be saved.

This fix adds backwards compatibility in SceneState::get_property_value()
to check for the old Dictionary format when looking up 'libraries/<name>'
properties. It only applies to nodes that inherit from AnimationMixer,
allowing property comparison to work correctly and preventing animation
data from being duplicated into .tscn files.

Fixes #113037
2026-01-12 20:32:07 -06:00
Rémi Verschelde
5002677a4d
Merge pull request #114902 from KoBeWi/nique
Fix Make Unique for built-in scripts
2026-01-13 00:09:10 +01:00
Rémi Verschelde
4daa6fe86a
Merge pull request #114901 from KoBeWi/🩹
Fix Make Unique for external sub-resources
2026-01-13 00:09:05 +01:00
Rémi Verschelde
490271fbaf
Merge pull request #114897 from TokageItLab/remove-dead-anim-func
Remove dead definition `get_animation_libraries()` from AnimationMixer
2026-01-13 00:09:01 +01:00
Rémi Verschelde
8d69b6b89e
Merge pull request #114801 from HolonProduction/gdscrip/explicit-leak
GDScript: Don't clean up other scripts
2026-01-13 00:08:53 +01:00
kobewi
31206042a5 Fix Make Unique for built-in scripts 2026-01-12 23:29:49 +01:00
kobewi
b3f3e7a4c9 Fix Make Unique for external sub-resources 2026-01-12 23:00:44 +01:00
Silc Lizard (Tokage) Renew
9cc9e0ca1f Remove dead definition get_animation_libraries() from AnimationMixer 2026-01-13 03:27:57 +09:00
Thaddeus Crews
1910c58c49
Merge pull request #114879 from passivestar/text-enum-focus
Fix inspector draws focus on click when editing EditorPropertyTextEnum
2026-01-12 11:19:15 -06:00
Thaddeus Crews
0034a5bce9
Merge pull request #112805 from BrotherShort/fix-tree-icon-overflows-
Fix TreeItem icon overflows column boundary
2026-01-12 11:19:15 -06:00
Thaddeus Crews
fd71f0c536
Merge pull request #114885 from ryevdokimov/fix-modified-shortcut-macos
Fix modified editor shortcuts being erased on MacOS
2026-01-12 11:19:14 -06:00
Thaddeus Crews
eeb3d04523
Merge pull request #114882 from KoBeWi/icon_control_plugin
Fix VCS plugin icons
2026-01-12 11:19:13 -06:00
Thaddeus Crews
02e67a4b6d
Merge pull request #114881 from KoBeWi/to_prevent_recursion_you_need_to_prevent_recursion
Fix quick open dialog recursive problem
2026-01-12 11:19:12 -06:00
Thaddeus Crews
5538a710af
Merge pull request #114847 from SuperTemich2005/fix-for-114846
Scene: Fix `LineEdit.set_editable` to capture text focus when enabled.
2026-01-12 11:19:11 -06:00
SuperTemich2005
0e90c6d6d1 Fix LineEdit to reacquire Text Focus when enabled
A fix for LineEdit to reacquire Text Focus
when enabled while UI-focused.

When the player has a UI-focus on a disabled LineEdit node
and that node gets enabled, caret won't appear and arrow keys
will shift UI focus to other Control nodes.

By adding an if-check to call `edit()` in `set_enabled()` function,
LineEdit will capture Text Input Focus when it gets enabled if
the player has set UI focus on it.

Fixes #114846
2026-01-12 12:19:47 -04:00
kobewi
344451fa33 Fix VCS plugin icons 2026-01-12 13:47:36 +01:00
kobewi
3b9c77b614 Fix quick open dialog recursive problem 2026-01-12 13:12:06 +01:00
passivestar
fbadba291d Fix inspector draws focus on click when editing EditorPropertyTextEnum 2026-01-12 15:03:05 +04:00
BrotherShort
2f0ff3aeb7 Fix Treeitem icon overflows column boundary 2026-01-12 16:46:37 +08:00
Rémi Verschelde
788beb36dc
Merge pull request #114874 from passivestar/context-toolbar-no-tint
Don't tint menu button icons in context toolbar
2026-01-12 09:23:28 +01:00
Rémi Verschelde
274923a364
Merge pull request #114871 from passivestar/mirrored-styles
Add missing mirrored button styles in modern theme
2026-01-12 09:23:25 +01:00
Rémi Verschelde
e21bf42085
Merge pull request #114866 from passivestar/main-screen-buttons
Restore accent color text for main screen buttons in the modern theme
2026-01-12 09:23:21 +01:00
Rémi Verschelde
5543be106e
Merge pull request #114862 from passivestar/table-spacing
Improve spacing in trees showing table data in modern theme
2026-01-12 09:23:17 +01:00
Rémi Verschelde
95dc28c8dd
Merge pull request #114855 from passivestar/pm-focus
Fix right clicking on a project draws focus outline
2026-01-12 09:23:13 +01:00
Rémi Verschelde
0b45cca1ca
Merge pull request #114838 from Cyberhead21/mac-terminal-fix
Fix opening macOS folder in Terminal spawns new process
2026-01-12 09:23:09 +01:00
Rémi Verschelde
6b93d6472e
Merge pull request #114760 from YeldhamDev/tree_range_popup_fix
Fix problems with popup menus for `Tree`'s range items
2026-01-12 09:23:05 +01:00
passivestar
922a3c2566 Don't tint menu button icons in context toolbar 2026-01-12 11:54:49 +04:00
passivestar
ac8f63819b Add missing mirrored button styles in modern theme 2026-01-12 05:35:46 +04:00
passivestar
ae80681a5b Restore accent color text for main screen buttons 2026-01-12 02:26:06 +04:00
Rémi Verschelde
1f292ae0a9
Merge pull request #114852 from arkology/hack_embed_window
Fix gray bar of embed game window in Windows
2026-01-11 21:59:01 +01:00
passivestar
6f0bd2efb9 Improve spacing in trees showing table data in modern theme 2026-01-12 00:01:49 +04:00
Robert Yevdokimov
32fc6b939c Fixed modified editor shortcuts being erased on MacOS 2026-01-11 12:59:55 -05:00
passivestar
1ff0239c0c Fix right clicking on a project draws focus outline 2026-01-11 15:01:41 +04:00
arkology
993d28c2cf Fix gray bar of embed game window in Windows 2026-01-11 11:14:07 +03:00
Rémi Verschelde
e9bb99a3bb
Merge pull request #114839 from akien-mga/basisu-no-strict-aliasing
BasisUniversal: Disable strict aliasing to fix GCC optimization issue
2026-01-11 08:44:28 +01:00
Michael Alexsander
3e942c7135
Fix problems with popup menus for Tree's range items 2026-01-10 20:00:08 -03:00
Rémi Verschelde
85c75da4ad
Merge pull request #114829 from KoBeWi/don't_drag_it_too_much
Use more specific check for dragging wait setting
2026-01-10 23:51:37 +01:00
Rémi Verschelde
ec5a4f0cd6
Merge pull request #114806 from Clubhouse1661/fix-option-button-popup-shrinking
Fix OptionButton PopupMenu not shrinking after item changes
2026-01-10 23:51:33 +01:00
Rémi Verschelde
e1ad44c496
Merge pull request #114804 from clayjohn/mobile-hdr-sky
Use luminance multiplier for sky background when using mobile renderer with HDR2D
2026-01-10 23:51:29 +01:00
Rémi Verschelde
fa8a11f652
Merge pull request #114802 from PrettyStable/inspector-change-on-attach-deatach
Keep the node as an edited object when attaching and detaching scripts through the SceneTree
2026-01-10 23:48:23 +01:00
Rémi Verschelde
c990e60889
Merge pull request #114790 from Ivorforce/gdtype-autorelease
Auto-release static GDTypes at exit.
2026-01-10 23:48:20 +01:00
Rémi Verschelde
ab6bbf1c59
Merge pull request #114742 from kleonc/tile_navigation_preserve_winding_order
Preserve winding order for transformed tiles' navigation polygons
2026-01-10 23:48:16 +01:00
Rémi Verschelde
1085d9f372
Merge pull request #114714 from ryevdokimov/local-transform-gizmo-visible
Keep other parts of transform gizmo visible when rotating in local mode
2026-01-10 23:48:11 +01:00
Rémi Verschelde
557e009f9d
Merge pull request #114680 from MartinDelille/keep-script-editor-focus-when-run
Prevent the dock from stealing focus when running the project.
2026-01-10 23:48:07 +01:00
Rémi Verschelde
836df3aad7
Merge pull request #114572 from boozee/PR-114123--bug-with-tree-item-culling
Use dedicated canvas item to properly cull tree items
2026-01-10 23:48:03 +01:00
Rémi Verschelde
d814d43d76
Merge pull request #112791 from BrotherShort/fix-relationship-lines-are-squeezed-together
Fix tree relationship lines are squeezed together
2026-01-10 23:47:59 +01:00
Rémi Verschelde
16daea3622
BasisUniversal: Disable strict aliasing to fix GCC optimization issue
This is flagged by upstream as something important in `basisu.h`.
And indeed, we've now seen why with a regression appearing with mingw-gcc 15.

Fixes #114803.
2026-01-10 23:15:22 +01:00
Cyberhead21
141b735523 fix: [macOS] Opening folder in Terminal spawns new process 2026-01-10 23:08:21 +01:00
Boozee
bd54c553f4 Use dedicated canvas item to properly cull tree items 2026-01-10 17:50:52 +01:00
kobewi
c1c983df8e Use more specific check for dragging wait setting 2026-01-10 15:13:06 +01:00