From fa52cb7b1141c882c6d681a882ee0bd88cfb9c08 Mon Sep 17 00:00:00 2001 From: David Rose Date: Sun, 20 Jun 2004 19:54:38 +0000 Subject: [PATCH] fix missing return value --- panda/src/pgraph/fadeLodNode.I | 2 +- panda/src/pgraph/fadeLodNode.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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: