Fixed Viewer and OsgCameraGroup classes so that work properly with the
Prodicer::setViewByMatrix calls.
This commit is contained in:
@@ -390,7 +390,7 @@ const osg::Node* OsgCameraGroup::getTopMostSceneData() const
|
||||
void OsgCameraGroup::setView(const osg::Matrix& matrix)
|
||||
{
|
||||
Producer::Matrix pm(matrix.ptr());
|
||||
CameraGroup::setView(pm);
|
||||
setViewByMatrix(pm);
|
||||
}
|
||||
|
||||
const osg::Matrix OsgCameraGroup::getViewMatrix() const
|
||||
|
||||
Reference in New Issue
Block a user