浏览代码

pgraph: fix writing to SequenceNode frame_rate property

rdb 6 年之前
父节点
当前提交
1f9b4690e6
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      panda/src/pgraphnodes/sequenceNode.h

+ 2 - 0
panda/src/pgraphnodes/sequenceNode.h

@@ -35,6 +35,8 @@ PUBLISHED:
   virtual int get_num_frames() const;
   virtual int get_num_frames() const;
   INLINE void set_frame_rate(double frame_rate);
   INLINE void set_frame_rate(double frame_rate);
 
 
+  MAKE_PROPERTY(frame_rate, get_frame_rate, set_frame_rate);
+
 public:
 public:
   virtual PandaNode *make_copy() const;
   virtual PandaNode *make_copy() const;
   virtual bool safe_to_combine() const;
   virtual bool safe_to_combine() const;