Fixed missing cast in importer which lead to problems when using different vector type. (Thanks to Mario Deuss for the fix)

git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@776 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
Jan Möbius
2012-12-10 15:22:00 +00:00
parent 0f9d7dcb41
commit 91b0ac9df0

View File

@@ -162,7 +162,7 @@ public:
//saves normals for half edges.
//they will be written, when the face is added
if (mesh_.has_halfedge_normals())
halfedgeNormals_[_vh] = _normal;
halfedgeNormals_[_vh] = vector_cast<Normal>(_normal);
}
virtual void set_color(VertexHandle _vh, const Vec4uc& _color)