diff options
Diffstat (limited to 'common.go')
| -rw-r--r-- | common.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -201,6 +201,12 @@ myButton = myGroup.NewButton("hit ball", nil).SetName("HIT") myButton.GetName() should return "HIT" n = Find("HIT") should return myButton */ +// switch to this +// todo: there are better ways than any of this once protobuf +func (n *Node) SetRefName(s string) *Node { + return n.SetProgName(s) +} + func (n *Node) SetProgName(s string) *Node { if !n.Ready() { return n @@ -335,7 +341,6 @@ func (n *Node) Ready() bool { panic("ready got nil") // TODO: figure out if you can identify the code trace // to help find the root cause - return false } return true } |
