]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - GRP/UpdateCDBIdealGeom.C
Setting default colours for the geometry (suggested by Mateusz)
[u/mrichter/AliRoot.git] / GRP / UpdateCDBIdealGeom.C
index f58c659540ee7c146e7d2a01cfcaa240ca32530a..78110787cc7838a4b85199bae9aa69ee289ad694 100644 (file)
@@ -49,6 +49,8 @@ void UpdateCDBIdealGeom(const char* cdbUri, const char* cfgFile){
     Printf("Unable to produce a valid geometry to be put in the CDB!");
     return;
   }
+  gGeoManager->DefaultColors(); // assign default colors according to Z of material
+  // (many colors turned into dark gray nuances some time ago, when the root palette was changed)
   
   Printf("Storing in CDB geometry produced with root version %s and AliRoot version %s",rootv,av.Data());
   storage->Put(gGeoManager,id,md);