From da5e6b98c9991c7f113e97bbf856e7bc0161bcc0 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Fri, 28 Feb 2014 18:15:24 +0100 Subject: Fix T38887: error in (still unused) freestyle math function implementation. --- source/blender/freestyle/intern/geometry/VecMat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/blender/freestyle/intern/geometry/VecMat.h b/source/blender/freestyle/intern/geometry/VecMat.h index c3aae0601fe..3c3d40875d0 100644 --- a/source/blender/freestyle/intern/geometry/VecMat.h +++ b/source/blender/freestyle/intern/geometry/VecMat.h @@ -704,7 +704,8 @@ public: for (unsigned int j = 0; j < N; j++) res(j, i) = this->_coord[i * N + j]; } - return res; + *this = res; + return *this; } template -- cgit v1.2.3