src/hg/lib/hdb.c 1.425

1.425 2010/05/07 05:03:55 kent
Code to get container multiWig to go.
Index: src/hg/lib/hdb.c
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/lib/hdb.c,v
retrieving revision 1.424
retrieving revision 1.425
diff -b -B -U 4 -r1.424 -r1.425
--- src/hg/lib/hdb.c	26 Apr 2010 23:17:41 -0000	1.424
+++ src/hg/lib/hdb.c	7 May 2010 05:03:55 -0000	1.425
@@ -3447,11 +3447,14 @@
 for (tdb = tdbList; tdb != NULL; tdb = tdb->next)
     {
     if (parent != NULL)
         {
+	if (trackDbLocalSetting(parent, "compositeTrack"))
+	    {
 	tdbMarkAsComposite(parent);
 	tdbMarkAsCompositeChild(tdb);
 	}
+	}
     trackDbCompositeMarkup(tdb, tdb->subtracks);
     }
 }