From cf8c3c27d6f378cc62157b0191d290bcfb456c21 Mon Sep 17 00:00:00 2001 From: Ichthyostega Date: Sat, 22 Feb 2020 19:05:50 +0100 Subject: [PATCH] DummySessionConnection: fix structural defect in population diff ...which erroneously assumed the list of timelines to be empty. When sending a further population diff, this assumption is broken, since the first diff resulted in adding a timeline element. This misatke was detected by the new consistency check added with 9f3fe8a88 --- .../session/dummy-session-connection.cpp | 6 ++-- wiki/thinkPad.ichthyo.mm | 33 +++++++++++++++++-- 2 files changed, 35 insertions(+), 4 deletions(-) diff --git a/src/steam/mobject/session/dummy-session-connection.cpp b/src/steam/mobject/session/dummy-session-connection.cpp index ea40cdaa5..e01fc9046 100644 --- a/src/steam/mobject/session/dummy-session-connection.cpp +++ b/src/steam/mobject/session/dummy-session-connection.cpp @@ -137,7 +137,8 @@ namespace session { const GenNode rootTrackName = GenNode{string{stage::ATTR_name}, "Track-"+baseID}; const GenNode forkRoot = MakeRec().genNode(forkRootID); - return MutationMessage{ ins (timeline) + return MutationMessage{after(Ref::END) + , ins (timeline) , mut (timeline) , mut (forkRoot) , set (rootTrackName) @@ -169,7 +170,8 @@ namespace session { const GenNode scopeRuler22 = ruler(); const GenNode scopeRuler221 = ruler(); - return MutationMessage{ ins (timeline) + return MutationMessage{after(Ref::END) + , ins (timeline) , mut (timeline) , mut (forkRoot) , ins (rootTrackName) diff --git a/wiki/thinkPad.ichthyo.mm b/wiki/thinkPad.ichthyo.mm index f74915fe4..ef7fddfb9 100644 --- a/wiki/thinkPad.ichthyo.mm +++ b/wiki/thinkPad.ichthyo.mm @@ -41433,8 +41433,8 @@ - - + + @@ -41448,6 +41448,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +