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