Browse Source

fix missing return value

David Rose 21 years ago
parent
commit
fa52cb7b11
2 changed files with 2 additions and 2 deletions
  1. 1 1
      panda/src/pgraph/fadeLodNode.I
  2. 1 1
      panda/src/pgraph/fadeLodNode.h

+ 1 - 1
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;

+ 1 - 1
panda/src/pgraph/fadeLodNode.h

@@ -61,7 +61,7 @@ PUBLISHED:
   INLINE void set_center(const LPoint3f &center);
   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: