diff --git a/src/osg/Matrix.cpp b/src/osg/Matrix.cpp index 81a443319..210e57919 100644 --- a/src/osg/Matrix.cpp +++ b/src/osg/Matrix.cpp @@ -153,6 +153,7 @@ void Matrix::mult( const Matrix& lhs, const Matrix& rhs ) if (&rhs==this) { preMult(lhs); + return; } // PRECONDITION: We assume neither &lhs nor &rhs == this