mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-24 13:43:43 +00:00
Fix Clang warnings about hidden virtual methods
This commit is contained in:
parent
dcec9df345
commit
72db11b56c
@ -40,7 +40,7 @@ namespace Terrain
|
||||
inline unsigned int getNumChildren() const { return _children.size(); }
|
||||
|
||||
// osg::Group::addChild() does a lot of unrelated stuff, but we just really want to add a child node.
|
||||
void addChild(QuadTreeNode* child)
|
||||
void addChildNode(QuadTreeNode* child)
|
||||
{
|
||||
// QuadTree node should not contain more than 4 child nodes.
|
||||
// Reserve enough space if this node is supposed to have child nodes.
|
||||
|
@ -165,7 +165,7 @@ public:
|
||||
if (child)
|
||||
{
|
||||
boundingBox.expandBy(child->getBoundingBox());
|
||||
parent->addChild(child);
|
||||
parent->addChildNode(child);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user