expose Lens::get_last_change()

This commit is contained in:
David Rose 2012-02-07 23:01:56 +00:00
parent 71871ba28b
commit 9d83449006
2 changed files with 3 additions and 4 deletions

View File

@ -743,13 +743,13 @@ get_lens_mat_inv() const {
////////////////////////////////////////////////////////////////////
// Function: Lens::get_last_change
// Access: Public
// Access: Published
// Description: Returns the UpdateSeq that is incremented whenever
// the lens properties are changed. As long as this
// number remains the same, you may assume the lens
// properties are unchanged.
////////////////////////////////////////////////////////////////////
INLINE const UpdateSeq &Lens::
INLINE UpdateSeq Lens::
get_last_change() const {
CDReader cdata(_cycler);
return cdata->_last_change;

View File

@ -166,8 +166,7 @@ PUBLISHED:
virtual void output(ostream &out) const;
virtual void write(ostream &out, int indent_level = 0) const;
public:
INLINE const UpdateSeq &get_last_change() const;
INLINE UpdateSeq get_last_change() const;
protected:
class CData;