This commit is contained in:
Shyotl
2012-07-18 01:03:54 -05:00
parent a56ad597d4
commit bf3e605d3b
3 changed files with 13 additions and 10 deletions

View File

@@ -348,7 +348,7 @@ public:
max.setMax(max, *tri->mV[2]);
}
}
else if (!branch->getChildren().empty())
else if (!branch->isLeaf())
{ //no data, but child nodes exist
LLVolumeOctreeListener* child = (LLVolumeOctreeListener*) branch->getChild(0)->getListener(0);