From 5a1604caf159bcdc16f5f3706ac4c562c53c47c8 Mon Sep 17 00:00:00 2001 From: "Randall C. O'Reilly" Date: Fri, 12 Jan 2024 23:40:10 -0800 Subject: [PATCH] build fixes --- .goki/config.toml | 2 +- examples/dls/armaze/gui.go | 2 +- examples/pvlv/pvlv.go | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.goki/config.toml b/.goki/config.toml index 68fd94453..b8111ce21 100644 --- a/.goki/config.toml +++ b/.goki/config.toml @@ -1,5 +1,5 @@ Name = "axon" -ID = "com.axon.v2" +ID = "com.emer.axon" Desc = "" Version = "v2.0.0-dev0.0.4" Type = "Library" diff --git a/examples/dls/armaze/gui.go b/examples/dls/armaze/gui.go index 388ebd96e..fa0bedc3b 100644 --- a/examples/dls/armaze/gui.go +++ b/examples/dls/armaze/gui.go @@ -295,7 +295,7 @@ func (vw *GUI) ConfigWorldGUI(ev *Env) *gi.Body { giv.NewFuncButton(tb, vw.Forward).SetText("Fwd").SetIcon(icons.SkipNext) giv.NewFuncButton(tb, vw.Left).SetText("Left").SetIcon(icons.KeyboardArrowLeft) giv.NewFuncButton(tb, vw.Right).SetText("Right").SetIcon(icons.KeyboardArrowRight) - giv.NewFuncButton(tb, vw.Right).SetText("Consume").SetIcon(icons.FoodBank) + giv.NewFuncButton(tb, vw.Consume).SetText("Consume").SetIcon(icons.SentimentExcited) gi.NewSeparator(tb) }) diff --git a/examples/pvlv/pvlv.go b/examples/pvlv/pvlv.go index 9b5dbf3b9..b9b9a786a 100644 --- a/examples/pvlv/pvlv.go +++ b/examples/pvlv/pvlv.go @@ -38,6 +38,7 @@ import ( "github.com/emer/etable/v2/split" "goki.dev/events" "goki.dev/gi" + "goki.dev/laser" "goki.dev/mat32" ) @@ -366,7 +367,7 @@ func (ss *Sim) ApplyInputs() { for _, lnm := range lays { ly := ss.Net.AxonLayerByName(lnm) pats := ev.State(ly.Nm) - if !laser.IfaceIsNil(pats) { + if !laser.AnyIsNil(pats) { ly.ApplyExt(ctx, 0, pats) } switch lnm {