b5972d8ddeddbca1b26e0f295c9325a23fbe6f40 tdreszer Fri Sep 17 16:40:14 2010 -0700 SuperTracks may have superpowers, but still should avoiding cloning kids. diff --git src/hg/inc/trackDb.h src/hg/inc/trackDb.h index 90e71b2..7b94e91 100644 --- src/hg/inc/trackDb.h +++ src/hg/inc/trackDb.h @@ -47,7 +47,8 @@ /* additional info, determined from settings */ char treeNodeType; /* bit map containing defining supertrack, composite and children of same (may be parent & child) */ struct trackDb *parent; /* parent of composite or superTracks */ - struct trackDb *subtracks; /* children of composite (TODO: or supertrack) */ // NOTE: can only be on one sl at a time! + struct trackDb *subtracks; /* children of composite not supertracks */ // NOTE: can only be on one sl at a time! + struct slRef *children; /* children of superTracks only. Needed since these children are on the main trackList and can't be in 2 sl's at once */ char *parentName; /* set if this is a supertrack member */ boolean isShow; /* for supertracks tracks: true if this is a supertrack with pseudo-vis 'show' */ struct hash *overrides; /* If not NULL, this is an override