fix(comments): correct ZoneField button count/order; generalize single-zone setState seed comment

This commit is contained in:
2026-07-26 17:35:23 -04:00
parent 2356958930
commit a3142bbe3e
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ tresult PLUGIN_API ReaSamplerProcessor::setState(IBStream* state) {
// Component state IS the performance map (Tier 1, D-B). deserializePerformance lifts a
// v1 (S4 single-selection) blob to a one-zone map, so already-saved Tier-0 instances
// restore cleanly. When the restored map is empty, the instrument falls back to the
// Tier-0 first-sample in reloadFromBank; if the v1 lift produced a single zone we also
// Tier-0 first-sample in reloadFromBank; if any single-zone restored map is present we
// seed the fallback selection from it so the editor reflects the restored pick.
const PerformanceMap map = deserializePerformance(bytes);
setPerformanceMap(map);