edd136db42f9bc008bdb01ab540cb47ea0e162dc
braney
  Wed May 23 14:44:56 2018 -0700
fix problem with composites acting like multiwigs in multi-exon mode

diff --git src/hg/hgTracks/hgTracks.c src/hg/hgTracks/hgTracks.c
index 913ab24..237e74b 100644
--- src/hg/hgTracks/hgTracks.c
+++ src/hg/hgTracks/hgTracks.c
@@ -7708,30 +7708,31 @@
 // TODO: due to an issue where some loading code is modifying the visibility
 // of subtracks from hide to visible, I am forced to remove the optimization
 // of cloning ONLY non-hidden tracks and subtracks.  If the offending code
 // can be identified and moved into a step proceding the track cloning,
 // then we can return to that optimization.
 //	if (track->visibility != tvHide)
 //		if (subtrack->visibility != tvHide)
 
 windows->trackList = trackList;  // save current track list in window
 struct window *window;
 for (window=windows; window->next; window=window->next)
     {
     struct track *newTrackList = NULL;
     for (track = trackList; track != NULL; track = track->next)
 	{
+        isCompositeInAggregate(track); // allow track to recognize its true self
 	track->nextWindow = NULL;
 	//if (track->visibility != tvHide)  // Unable to use this optimization at present
 	    {
 	    struct track *copy;
 	    AllocVar(copy);
 	    memmove(copy,track,sizeof(struct track));
 	    copy->next = NULL;
 	    copy->bbiFile = NULL;  // bigDataUrl custom tracks have already been opened, will re-open for other windows.
 	    copy->nextWindow = NULL;
 	    copy->prevWindow = track;
 	    slAddHead(&newTrackList, copy);
 	    track->nextWindow = copy;
 
 	    // copy subtracks.
 	    copy->subtracks = NULL;