[Bf-blender-cvs] [da5e6b9] master: Fix T38887: error in (still unused) freestyle math function implementation.

Brecht Van Lommel noreply at git.blender.org
Fri Feb 28 18:16:23 CET 2014


Commit: da5e6b98c9991c7f113e97bbf856e7bc0161bcc0
Author: Brecht Van Lommel
Date:   Fri Feb 28 18:15:24 2014 +0100
https://developer.blender.org/rBda5e6b98c9991c7f113e97bbf856e7bc0161bcc0

Fix T38887: error in (still unused) freestyle math function implementation.

===================================================================

M	source/blender/freestyle/intern/geometry/VecMat.h

===================================================================

diff --git a/source/blender/freestyle/intern/geometry/VecMat.h b/source/blender/freestyle/intern/geometry/VecMat.h
index c3aae06..3c3d408 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 <class U>




More information about the Bf-blender-cvs mailing list