From 230fb801f008d62f346f6c78c48f7a13b5da05fe Mon Sep 17 00:00:00 2001 From: nick black Date: Tue, 5 Oct 2021 00:49:34 -0400 Subject: [PATCH] [pixelplot] set distinct name for pixel plane --- src/lib/plot.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/lib/plot.c b/src/lib/plot.c index 7efab06cb..b5ec83ce8 100644 --- a/src/lib/plot.c +++ b/src/lib/plot.c @@ -41,6 +41,10 @@ create_pixelp(ncplot *p, ncplane* n){ if(((p->pixelp = ncplane_dup(n, NULL)) == NULL)){ return -1; } + if(ncplane_set_name(p->pixelp, "pmap")){ + ncplane_destroy(p->pixelp); + return -1; + } ncplane_reparent(p->pixelp, n); ncplane_move_below(p->pixelp, n); uint64_t basechan = 0;