From Ulrich Hertlein, "attached are some minor tweaks:

- fixed typos in osgViewer/ViewerBase
- const-ness in include/osg/View findSlaveIndexForCamera
- supported options for STL reader, fixed return values to reflect proper errors
- supported options for DirectX reader, fixed return values
- normals pseudo-loader: scaling normals to a const (but variable) fraction of the bounding sphere radius
"
This commit is contained in:
Robert Osfield
2008-07-17 13:51:14 +00:00
parent dd9364df0e
commit 4aed0a7eac
7 changed files with 101 additions and 74 deletions

View File

@@ -212,7 +212,7 @@ View::Slave * View::findSlaveForCamera(osg::Camera* camera)
return &(_slaves[i]);
}
unsigned int View::findSlaveIndexForCamera(osg::Camera* camera)
unsigned int View::findSlaveIndexForCamera(osg::Camera* camera) const
{
if (_camera == camera) return _slaves.size();