Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/blender/freestyle/intern/geometry/VecMat.h3
1 files changed, 2 insertions, 1 deletions
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 <class U>