浏览代码

pgraph: Make `bounds_type` property writable

rdb 3 年之前
父节点
当前提交
cd984732b7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/pgraph/pandaNode.h

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

@@ -290,7 +290,7 @@ PUBLISHED:
   // bounding volumes.
   void set_bounds_type(BoundingVolume::BoundsType bounds_type);
   BoundingVolume::BoundsType get_bounds_type() const;
-  MAKE_PROPERTY(bounds_type, get_bounds_type);
+  MAKE_PROPERTY(bounds_type, get_bounds_type, set_bounds_type);
 
   void set_bounds(const BoundingVolume *volume);
   void set_bound(const BoundingVolume *volume);