Fixed null matrix op.

This commit is contained in:
Robert Osfield
2005-12-16 17:01:30 +00:00
parent 13e45c98fb
commit c738af1e91

View File

@@ -257,7 +257,8 @@ void IntersectVisitor::pushMatrix(RefMatrix* matrix, osg::Transform::ReferenceFr
if (rf == osg::Transform::RELATIVE_RF &&
cis->_matrix.valid())
{
nis->_matrix->mult(*matrix, *(cis->_matrix));
nis->_matrix = matrix;
nis->_matrix->postMult(*(cis->_matrix));
}
else
{