From 55a9759ab8fdc855670c6aa52ecd8362c5337a18 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 7 Oct 2021 21:31:15 -0500 Subject: NODE: continued work on implementing a node tree Signed-off-by: Jeff Carr --- debug.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'debug.go') diff --git a/debug.go b/debug.go index 79a5fb3..d9cb9b5 100644 --- a/debug.go +++ b/debug.go @@ -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) } -- cgit v1.2.3