godot/scene/resources
PouleyKetchoupp f9abd1ec0e Fix sub-resource storing the wrong index in cache
1. Backport sub-resource cache fixes from master.
Uses a cache by index to keep sub resource indices consistent.

2. The subindex within Resource wasn't synchronized with the path stored in cache when saving a packed scene. It could cause
sub-resources to be swapped when loading the same packed scene in
the same session.

Now the subindex in Resource reflects the sub-resource path in cache,
making saving and loading sub-resources consistent.

Co-authored-by: latorril <latorril@gmail.com>
2021-06-15 09:54:58 -07:00
..
default_theme Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
animation.cpp Add animation reset track feature 2021-05-09 09:40:16 +02:00
animation.h Add animation reset track feature 2021-05-09 09:40:16 +02:00
audio_stream_sample.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
audio_stream_sample.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
bit_map.cpp BitMask::create Don't request more memory than needed when size is a multiply of 8 2021-05-18 11:58:09 +02:00
bit_map.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
box_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
box_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
capsule_shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
capsule_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
capsule_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
capsule_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
circle_shape_2d.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
circle_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
concave_polygon_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
concave_polygon_shape.cpp Fix crash on debug shapes update if CollisionObject is not in tree 2021-05-22 17:33:51 +02:00
concave_polygon_shape.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
convex_polygon_shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
convex_polygon_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
convex_polygon_shape.cpp Replace QuickHull with Bullet's convex hull computer. 2021-05-22 08:16:43 +02:00
convex_polygon_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
curve.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
curve.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
cylinder_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
cylinder_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
dynamic_font.cpp Readd support for kerning in DynamicFont 2021-06-07 02:36:10 +02:00
dynamic_font.h Readd support for kerning in DynamicFont 2021-06-07 02:36:10 +02:00
environment.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
environment.h Style: Remove redundant void argument lists 2021-05-04 16:40:33 +02:00
font.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
font.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
gradient.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
gradient.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
height_map_shape.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
height_map_shape.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
line_shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
line_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
material.cpp Style: Cleanup uses of double spaces between words 2021-06-07 12:06:59 +02:00
material.h Force vertex shading in SpatialMaterial when used 2021-05-05 19:49:18 -07:00
mesh_data_tool.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
mesh_data_tool.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
mesh_library.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
mesh_library.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
mesh.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
mesh.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
multimesh.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
multimesh.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
packed_scene.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
packed_scene.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
particles_material.cpp Merge pull request #47801 from QbieShay/ring-emitter-3.x 2021-05-18 10:54:15 +02:00
particles_material.h Added ring emitter for 3D particles 2021-05-09 13:18:05 +02:00
physics_material.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
physics_material.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
plane_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
plane_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
polygon_path_finder.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
polygon_path_finder.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
primitive_meshes.cpp Fix normals of PrismMesh 2021-05-17 13:07:58 +02:00
primitive_meshes.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
ray_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
ray_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rectangle_shape_2d.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
rectangle_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource_format_text.cpp Fix sub-resource storing the wrong index in cache 2021-06-15 09:54:58 -07:00
resource_format_text.h Fix sub-resource storing the wrong index in cache 2021-06-15 09:54:58 -07:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
segment_shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
segment_shape_2d.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
shader.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
shader.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
shape_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
shape_2d.h Added option in project settings to draw Shape2D outlines 2021-02-25 07:48:33 -07:00
shape.cpp Merge pull request #48316 from nekomatata/expose-physics-debug-shape-3.x 2021-05-05 15:17:48 +02:00
shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
skin.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
skin.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sky.cpp Remove high radiance sizes from the editor due to issues on specific GPUs 2021-05-20 23:54:12 +02:00
sky.h CPU lightmapper environment energy fixes. 2021-04-22 16:26:04 +02:00
sphere_shape.cpp Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
sphere_shape.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
style_box.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
style_box.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
surface_tool.cpp Check input mesh is valid in SurfaceTool methods 2021-05-09 00:38:17 +02:00
surface_tool.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
text_file.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
text_file.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
texture.cpp Make all file access 64-bit (uint64_t) 2021-05-16 17:52:31 +02:00
texture.h Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
theme.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
theme.h Style: Remove redundant void argument lists 2021-05-04 16:40:33 +02:00
tile_set.cpp TileSet: Improve error message for invalid IDs 2021-05-09 16:56:52 +02:00
tile_set.h Style: Replaces uses of 0/NULL by nullptr (C++11) 2021-05-04 16:30:23 +02:00
video_stream.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
visual_shader_nodes.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_shader_nodes.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
visual_shader.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
visual_shader.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
world_2d.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
world_2d.h Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocks 2021-05-04 14:45:16 +02:00
world.cpp Style: Enforce braces around if blocks and loops 2021-05-05 15:02:01 +02:00
world.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00