[pixelplot] set distinct name for pixel plane

pull/2236/head
nick black 3 years ago
parent 9185ea000c
commit 7b89a9e439
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -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;

Loading…
Cancel
Save