mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-06 05:15:31 +00:00
Merge pull request #2222 from akortunov/warnfix
Attempt to fix Clang warnings about hidden virtual methods
This commit is contained in:
commit
a381a1aff4
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue