Warning fixes
This commit is contained in:
@@ -652,6 +652,8 @@ public:
|
||||
|
||||
protected:
|
||||
osg::Node* seamReplacement(osg::Node* node);
|
||||
|
||||
SeamFinder& operator = (const SeamFinder&) { return *this; }
|
||||
|
||||
int _x, _y, _lod;
|
||||
const TXPArchive::TileInfo& _info;
|
||||
|
||||
@@ -62,6 +62,10 @@ public:
|
||||
NodeVisitor::apply(node);
|
||||
}
|
||||
osgDB::Output &_fw;
|
||||
|
||||
protected:
|
||||
|
||||
Dump2Osg& operator = (const Dump2Osg&) { return *this; }
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -293,6 +293,9 @@ public:
|
||||
traverse(group);
|
||||
}
|
||||
protected:
|
||||
|
||||
FindEmptyGroupsVisitor& operator = (const FindEmptyGroupsVisitor&) { return *this; }
|
||||
|
||||
osg::NodeList& _nl;
|
||||
};
|
||||
|
||||
|
||||
@@ -1074,21 +1074,15 @@ bool trpgTexture::isValid() const
|
||||
switch (mode) {
|
||||
case External:
|
||||
return (name != NULL);
|
||||
break;
|
||||
case Local:
|
||||
return (type != trpg_Unknown && sizeX != -1 && sizeY != -1);
|
||||
break;
|
||||
case Global:
|
||||
return (type != trpg_Unknown);
|
||||
break;
|
||||
case Template:
|
||||
return (type != trpg_Unknown && sizeX != -1 && sizeY != -1);
|
||||
break;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user