Removed the exclusion of CullSettings from the genwrapper.conf, and then changed the CullStack RefMatrix& methods to RefMatrix*
as the RefMatrix& versions caused the wrappers to fail.
This commit is contained in:
@@ -183,7 +183,7 @@ class TexMatCullCallback : public osg::NodeCallback
|
||||
osgUtil::CullVisitor* cv = dynamic_cast<osgUtil::CullVisitor*>(nv);
|
||||
if (cv)
|
||||
{
|
||||
osg::Quat quat = cv->getModelViewMatrix().getRotate();
|
||||
osg::Quat quat = cv->getModelViewMatrix()->getRotate();
|
||||
_texmat->setMatrix(osg::Matrix::rotate(quat.inverse()));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user