00bbf8cd3d0cde2d36b0379797b8c7c9bd3a8f09
tdreszer
  Mon Sep 13 14:25:23 2010 -0700
Fixed bug where found and selected tracks were not displayed in browser because the '_sel' setting was being removed as redundant.
diff --git src/hg/hgTracks/simpleTracks.c src/hg/hgTracks/simpleTracks.c
index dc21549..729f15f 100644
--- src/hg/hgTracks/simpleTracks.c
+++ src/hg/hgTracks/simpleTracks.c
@@ -9065,6 +9065,7 @@
 char option[SMALLBUF];
 safef(option, sizeof(option), "%s_sel", subtrack->track);
 boolean enabled = cartUsualBoolean(cart, option, enabledInTdb);
+#ifndef SUBTRACKS_HAVE_VIS
 /* Remove redundant cart settings to avoid cart bloat. */
 if (enabled == enabledInTdb)
     {
@@ -9072,6 +9073,7 @@
     if(var != NULL && (sameString(var,"on") || atoi(var) >= 0))
         cartRemove(cart, option);     // Because disabled CBs need to remain in the cart.
     }
+#endif///def SUBTRACKS_HAVE_VIS
 #ifdef SUBTRACKS_HAVE_VIS
 if(overrideComposite)
     enabled = TRUE;