diff options
| author | Jeff Carr <[email protected]> | 2021-10-07 21:31:15 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-07 21:31:15 -0500 |
| commit | 55a9759ab8fdc855670c6aa52ecd8362c5337a18 (patch) | |
| tree | d6c981acf3422c32b54a05046d2ecbabe5737432 /debug.go | |
| parent | e7a631bad14cc4dc3855ee545d01bf7eb96901f5 (diff) | |
NODE: continued work on implementing a node tree
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'debug.go')
| -rw-r--r-- | debug.go | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -122,6 +122,11 @@ func DebugDataNodeMap() { log.Println("Dumping Data.NodeMap:") for name, node := range Data.NodeMap { log.Println("\tData.NodeMap name =", node.Width, node.Height, name) + if (node.children == nil) { + log.Println("\t\tNo children") + } else { + log.Println("\t\tHas children:", node.children) + } // node.SetName("yahoo") // log.Println("\tData.NodeMap node =", node) } |
