From fa2b8379f76599713263600edd68d6840a60e48a Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 30 Oct 2017 15:15:34 +0000 Subject: [PATCH] gapis/resolve: Fix commands vanishing on edit. The caller private field was not being propagated, resulting the command being grouped under the 0'th command. Fixes: #1265 --- gapis/resolve/set.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gapis/resolve/set.go b/gapis/resolve/set.go index b8ae9002fd..8e6ac224f1 100644 --- a/gapis/resolve/set.go +++ b/gapis/resolve/set.go @@ -137,6 +137,11 @@ func change(ctx context.Context, p path.Node, val interface{}) (path.Node, error if len(cmd.Extras().All()) == 0 { cmd.Extras().Add(oldCmd.Extras().All()...) } + + // Propagate caller (not exposed to client) + cmd.SetCaller(oldCmd.Caller()) + + // Replace the command cmds[cmdIdx] = cmd // Store the new command list