From 46c0712f21ee2d6294e78031735ce721abbc2e24 Mon Sep 17 00:00:00 2001 From: Ben Clayton Date: Mon, 31 Jul 2017 21:19:44 +0100 Subject: [PATCH] gapis/api: Preserve thread on edit. Fixes: #757 --- gapis/api/cmd_service.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gapis/api/cmd_service.go b/gapis/api/cmd_service.go index 60d70503ca..1764157c82 100644 --- a/gapis/api/cmd_service.go +++ b/gapis/api/cmd_service.go @@ -79,6 +79,7 @@ func ServiceToCmd(c *Command) (Cmd, error) { if a == nil { return nil, fmt.Errorf("Unknown command '%v.%v'", api.Name(), c.Name) } + a.SetThread(c.Thread) v := reflect.ValueOf(a) for v.Kind() != reflect.Struct {