Key Design View's parked FX-offline state to the FX's own GUID, not its slot

view_state v2 writes identities beside the v1 slot array, so a downgrade keeps
what it had. An FX gone at restore time is dropped and reported, never restored
onto whatever took its place.
This commit is contained in:
2026-08-02 18:31:08 -04:00
parent 4231b2321c
commit 5f6efb7cc3
10 changed files with 780 additions and 58 deletions
+8 -4
View File
@@ -4,12 +4,16 @@ reasampler_test(lane_keys LINK lane_keys)
reasampler_pure_library(solo_cache SOURCES solo_cache.cpp)
reasampler_test(solo_cache LINK solo_cache)
# lane_keys and solo_cache are PUBLIC: the lane-minting plan names managed lanes through the
# one durable-key convention, and ViewModeModel exposes the SoloCache by reference, so every
# consumer has to resolve those symbols too.
reasampler_pure_library(fx_offline SOURCES fx_offline.cpp)
reasampler_test(fx_offline LINK fx_offline)
# lane_keys, solo_cache and fx_offline are PUBLIC: the lane-minting plan names managed lanes
# through the one durable-key convention, ViewModeModel exposes the SoloCache by reference, and
# TrackSnapshot/TrackPlan carry the FX-offline types by value — so every consumer has to
# resolve those symbols too.
reasampler_pure_library(view_mode_model
SOURCES view_mode_model.cpp
LINK PRIVATE json PUBLIC lane_keys solo_cache)
LINK PRIVATE json PUBLIC lane_keys solo_cache fx_offline)
reasampler_test(view_mode_model LINK view_mode_model)
reasampler_pure_library(view_tree SOURCES view_tree.cpp LINK PUBLIC view_mode_model)