From Bryan Thrall, fixed typos in exception strings.
This commit is contained in:
parent
7a6ec46535
commit
281f55a55c
@ -29,7 +29,7 @@ void PagedLOD::write(DataOutputStream* out)
|
|||||||
static_cast<ive::Node*>(node)->write(out);
|
static_cast<ive::Node*>(node)->write(out);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw Exception("PagedLOD::write(): Could not cast this osg::PagedLOD to an osg::LOD.");
|
throw Exception("PagedLOD::write(): Could not cast this osg::PagedLOD to an osg::Node.");
|
||||||
|
|
||||||
out->writeString(getDatabasePath());
|
out->writeString(getDatabasePath());
|
||||||
out->writeFloat(getRadius());
|
out->writeFloat(getRadius());
|
||||||
@ -117,7 +117,7 @@ void PagedLOD::read(DataInputStream* in)
|
|||||||
((ive::Node*)(node))->read(in);
|
((ive::Node*)(node))->read(in);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
throw Exception("Group::read(): Could not cast this osg::Group to an osg::Node.");
|
throw Exception("PagedLOD::read(): Could not cast this osg::PagedLOD to an osg::Node.");
|
||||||
|
|
||||||
|
|
||||||
if ( in->getVersion() >= VERSION_0006 )
|
if ( in->getVersion() >= VERSION_0006 )
|
||||||
|
Loading…
Reference in New Issue
Block a user