Mercurial > gemma
diff pkg/controllers/srimports.go @ 3946:d668742c8978
SR import: Made `negate-z` flag more symmetrical to `single-beam` flag.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 14 Jul 2019 17:33:01 +0200 |
parents | 3bdbaf1b282a |
children | c412dff6e1da |
line wrap: on
line diff
--- a/pkg/controllers/srimports.go Sun Jul 14 17:19:22 2019 +0200 +++ b/pkg/controllers/srimports.go Sun Jul 14 17:33:01 2019 +0200 @@ -107,7 +107,7 @@ default: return fmt.Errorf("Unknown negate-z '%s'", v) } - sr.NegateZ = negateZ + sr.NegateZ = &negateZ } if v := req.FormValue("single-beam"); v != "" {