diff --git a/panda/src/char/character.h b/panda/src/char/character.h index dba62d165a..1def125519 100644 --- a/panda/src/char/character.h +++ b/panda/src/char/character.h @@ -15,10 +15,7 @@ #include #include #include - -#ifdef DO_PSTATS #include -#endif class CharacterJointBundle; class ComputedVertices; @@ -82,11 +79,9 @@ private: typedef vector_PartGroupStar Parts; Parts _parts; - #ifdef DO_PSTATS - // Statistics - PStatCollector _char_pcollector; - static PStatCollector _anim_pcollector; - #endif + // Statistics + PStatCollector _char_pcollector; + static PStatCollector _anim_pcollector; public: static void register_with_read_factory(void); diff --git a/panda/src/pstatclient/pStatCollector.h b/panda/src/pstatclient/pStatCollector.h index 99e65322c2..5a9236b49c 100644 --- a/panda/src/pstatclient/pStatCollector.h +++ b/panda/src/pstatclient/pStatCollector.h @@ -54,7 +54,7 @@ private: friend class PStatClient; #else // DO_PSTATS - +public: INLINE PStatCollector(const string &, const RGBColorf & = RGBColorf::zero(), int = -1,