diff --git a/panda/src/pgraph/fadeLodNode.I b/panda/src/pgraph/fadeLodNode.I index 6a64e48c28..8a646c4137 100755 --- a/panda/src/pgraph/fadeLodNode.I +++ b/panda/src/pgraph/fadeLodNode.I @@ -183,7 +183,7 @@ get_center() const { // Access: Published // Description: set the time taken to complete an LOD switch //////////////////////////////////////////////////////////////////// -INLINE FadeLODNode:: +INLINE void FadeLODNode:: set_fade_time(float t) { CDWriter cdata(_cycler); cdata->_fade_time = t; diff --git a/panda/src/pgraph/fadeLodNode.h b/panda/src/pgraph/fadeLodNode.h index 646b06792c..c571872c4b 100755 --- a/panda/src/pgraph/fadeLodNode.h +++ b/panda/src/pgraph/fadeLodNode.h @@ -61,7 +61,7 @@ PUBLISHED: INLINE void set_center(const LPoint3f ¢er); INLINE const LPoint3f &get_center() const; - INLINE set_fade_time(float t); + INLINE void set_fade_time(float t); INLINE float get_fade_time() const; public: