Browse Source

*** empty log message ***

David Rose 24 years ago
parent
commit
fe8bff27bf
2 changed files with 4 additions and 9 deletions
  1. 3 8
      panda/src/char/character.h
  2. 1 1
      panda/src/pstatclient/pStatCollector.h

+ 3 - 8
panda/src/char/character.h

@@ -15,10 +15,7 @@
 #include <vector_PartGroupStar.h>
 #include <vector_PartGroupStar.h>
 #include <pointerTo.h>
 #include <pointerTo.h>
 #include <geom.h>
 #include <geom.h>
-
-#ifdef DO_PSTATS
 #include <pStatCollector.h>
 #include <pStatCollector.h>
-#endif
 
 
 class CharacterJointBundle;
 class CharacterJointBundle;
 class ComputedVertices;
 class ComputedVertices;
@@ -82,11 +79,9 @@ private:
   typedef vector_PartGroupStar Parts;
   typedef vector_PartGroupStar Parts;
   Parts _parts;
   Parts _parts;
 
 
-  #ifdef DO_PSTATS
-	// Statistics
-        PStatCollector _char_pcollector;
-	static PStatCollector _anim_pcollector;
-  #endif
+  // Statistics
+  PStatCollector _char_pcollector;
+  static PStatCollector _anim_pcollector;
 
 
 public:
 public:
   static void register_with_read_factory(void);
   static void register_with_read_factory(void);

+ 1 - 1
panda/src/pstatclient/pStatCollector.h

@@ -54,7 +54,7 @@ private:
 friend class PStatClient;
 friend class PStatClient;
 
 
 #else  // DO_PSTATS
 #else  // DO_PSTATS
-
+public:
   INLINE PStatCollector(const string &, 
   INLINE PStatCollector(const string &, 
 			const RGBColorf & = RGBColorf::zero(),
 			const RGBColorf & = RGBColorf::zero(),
 			int = -1,
 			int = -1,