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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user