mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
expose Lens::get_last_change()
This commit is contained in:
parent
71871ba28b
commit
9d83449006
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user