From Bob Keuhne, warning fixes under OSX

This commit is contained in:
Robert Osfield
2004-01-30 16:12:53 +00:00
parent 0199f77965
commit 407fbdb353
5 changed files with 20 additions and 11 deletions

View File

@@ -323,7 +323,7 @@ osgDB::ReaderWriter::ReadResult ReaderWriterOBJ::readNode(const std::string& fil
// toplevel group or transform
osg::Group* osg_top = NULL;
if (obj->position[0] != 0.0f || obj->position[2] != 0.0f || obj->position[2] != 0.0f) {
if (obj->position[0] != 0.0f || obj->position[1] != 0.0f || obj->position[2] != 0.0f) {
osg::MatrixTransform* xform = new osg::MatrixTransform;
// note obj_x -> osg_x,
// obj_y -> osg_z,