Fix T38887: error in (still unused) freestyle math function implementation.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 28 Feb 2014 17:15:24 +0000 (18:15 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 28 Feb 2014 17:15:24 +0000 (18:15 +0100)
source/blender/freestyle/intern/geometry/VecMat.h

index c3aae0601fec06c82b656af42d77bc85625bb3f5..3c3d40875d03b90a4d1455b882f1fb8b06c09955 100644 (file)
@@ -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>