Revision 8e8882847d428a8f6e4080507e95b42acc6674ad authored by Rene Brun on 26 September 2006, 13:44:50 UTC, committed by Rene Brun on 26 September 2006, 13:44:50 UTC
When loading the geometry from a file, the element table is recreated (never streamed) so the attribute flags (defined/used) of elements are lost. The patch loops over all defined materials/mixtures in this case and restores the flags. Affected: TFluka when geometry was loaded from the file. git-svn-id: http://root.cern.ch/svn/root/trunk@16348 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 0900218
TDrawFeedback.h
// @(#)root/proof:$Name: $:$Id: TDrawFeedback.h,v 1.5 2005/09/16 08:48:38 rdm Exp $
// Author: Maarten Ballintijn 28/10/2003
/*************************************************************************
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TDrawFeedback
#define ROOT_TDrawFeedback
//////////////////////////////////////////////////////////////////////////
// //
// TDrawFeedback //
// //
// Utility class to draw objects in the feedback list during queries. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_TQObject
#include "TQObject.h"
#endif
#ifndef ROOT_TObject
#include "TObject.h"
#endif
class TVirtualProof;
class TProof;
class THashList;
class TSeqCollection;
class TDrawFeedback : public TObject, public TQObject {
private:
Bool_t fAll; //draw all or selected objects
THashList *fNames; //selected objects
protected:
Option_t *fOption; //draw option
TProof *fProof; //handle to PROOF session
public:
TDrawFeedback(TVirtualProof *proof = 0, TSeqCollection *names = 0);
~TDrawFeedback();
void Feedback(TList *objs);
void SetOption(Option_t *option) { fOption = option; }
ClassDef(TDrawFeedback,0) // Present PROOF query feedback
};
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...