浏览代码

oopsy, infinite recursion

David Rose 24 年之前
父节点
当前提交
7b03687dff
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      panda/src/collide/qpcollisionNode.cxx

+ 1 - 1
panda/src/collide/qpcollisionNode.cxx

@@ -229,7 +229,7 @@ output(ostream &out) const {
 BoundingVolume *qpCollisionNode::
 recompute_internal_bound() {
   // First, get ourselves a fresh, empty bounding volume.
-  BoundingVolume *bound = PandaNode::recompute_bound();
+  BoundingVolume *bound = PandaNode::recompute_internal_bound();
   nassertr(bound != (BoundingVolume *)NULL, bound);
 
   // Now actually compute the bounding volume by putting it around all