Merge pull request #1211 from Allofich/warnings

Fix Clang and OS X Travis CI warnings
coverity_scan^2
scrawl 8 years ago committed by GitHub
commit 96ca50e108

@ -179,15 +179,6 @@ namespace
{
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void remove()
{
for (RemoveVec::iterator it = mToRemove.begin(); it != mToRemove.end(); ++it)
@ -209,6 +200,15 @@ namespace
applyImpl(drw);
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void applyImpl(osg::Node& node)
{
osg::NodePath::iterator parent = getNodePath().end()-2;
@ -240,6 +240,15 @@ namespace
applyImpl(drw);
}
virtual void apply(osg::Group& node)
{
traverse(node);
}
virtual void apply(osg::MatrixTransform& node)
{
traverse(node);
}
void applyImpl(osg::Node& node)
{
const std::string toFind = "tri bip";

Loading…
Cancel
Save