1
0
Fork 0
godot/scene/resources
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
..
2d Preserve winding order for transformed tiles' navigation polygons 2026-01-08 19:41:56 +01:00
3d Change radius_range to angle to indicate hole of JointLimitationCone3D 2025-12-31 00:53:57 +09:00
SCsub
animated_texture.cpp
animated_texture.h
animation.compat.inc
animation.cpp
animation.h Remove unused private variables in `godot/scene` 2025-12-07 03:46:26 -08:00
animation_library.cpp
animation_library.h
atlas_texture.cpp
atlas_texture.h
audio_stream_polyphonic.compat.inc
audio_stream_polyphonic.cpp
audio_stream_polyphonic.h
audio_stream_wav.cpp
audio_stream_wav.h
bit_map.cpp
bit_map.h
bone_map.cpp
bone_map.h
camera_attributes.cpp
camera_attributes.h
camera_texture.cpp
camera_texture.h
canvas_item_material.cpp
canvas_item_material.h
color_palette.cpp
color_palette.h
compositor.cpp
compositor.h
compressed_texture.cpp
compressed_texture.h
curve.cpp
curve.h
curve_texture.cpp
curve_texture.h
dpi_texture.cpp
dpi_texture.h
environment.cpp Add `agx_white`, `agx_contrast` and HDR support to the AgX tonemapper. 2025-12-03 09:01:39 -05:00
environment.h Add `agx_white`, `agx_contrast` and HDR support to the AgX tonemapper. 2025-12-03 09:01:39 -05:00
external_texture.cpp
external_texture.h
font.compat.inc
font.cpp Fix binary BMFont flags handling. 2025-12-29 08:06:51 +02:00
font.h Improve language selection when shaping text. 2025-12-18 09:05:07 +02:00
gradient.cpp
gradient.h
gradient_texture.cpp
gradient_texture.h
image_texture.cpp
image_texture.h
immediate_mesh.cpp
immediate_mesh.h
label_settings.cpp
label_settings.h
material.cpp
material.h Remove unused private variables in `godot/scene` 2025-12-07 03:46:26 -08:00
mesh.cpp
mesh.h
mesh_data_tool.compat.inc
mesh_data_tool.cpp
mesh_data_tool.h
mesh_texture.cpp
mesh_texture.h
multimesh.cpp
multimesh.h
navigation_mesh.cpp
navigation_mesh.h
packed_scene.cpp Fix animation library serialization compatibility for 4.5 projects 2026-01-12 20:32:07 -06:00
packed_scene.h
particle_process_material.cpp Change curve range for particle multipliers 2025-12-03 20:47:40 -06:00
particle_process_material.h Remove unused private variables in `godot/scene` 2025-12-07 03:46:26 -08:00
physics_material.cpp
physics_material.h
placeholder_textures.cpp
placeholder_textures.h
portable_compressed_texture.cpp
portable_compressed_texture.h
resource_format_text.cpp Fix editor settings parsing regression on Android 2025-12-15 17:41:37 +05:30
resource_format_text.h
shader.compat.inc
shader.cpp
shader.h
shader_include.cpp
shader_include.h
skeleton_profile.cpp
skeleton_profile.h
sky.cpp
sky.h
sprite_frames.cpp
sprite_frames.h
style_box.cpp
style_box.h
style_box_flat.cpp
style_box_flat.h
style_box_line.cpp
style_box_line.h
style_box_texture.cpp
style_box_texture.h
surface_tool.cpp
surface_tool.h
syntax_highlighter.cpp
syntax_highlighter.h
text_file.cpp
text_file.h
text_line.compat.inc
text_line.cpp [TextServer] Fix `duplicated` losing span info, and RID leak. 2025-12-11 21:50:22 +02:00
text_line.h
text_paragraph.compat.inc
text_paragraph.cpp [TextServer] Fix `duplicated` losing span info, and RID leak. 2025-12-11 21:50:22 +02:00
text_paragraph.h
texture.cpp
texture.h
texture_rd.cpp
texture_rd.h
theme.cpp
theme.h
video_stream.cpp
video_stream.h
visual_shader.cpp
visual_shader.h
visual_shader_nodes.compat.inc
visual_shader_nodes.cpp fix-refract-node 2025-12-07 15:24:55 -06:00
visual_shader_nodes.h fix-refract-node 2025-12-07 15:24:55 -06:00
visual_shader_particle_nodes.cpp
visual_shader_particle_nodes.h
visual_shader_sdf_nodes.cpp
visual_shader_sdf_nodes.h
world_2d.cpp
world_2d.h