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