Merge branch 'ambiguous-legacy-vector-constructor' into 'master'

Resolving Ambiguous Constructor Call in Legacy Vector Initialization

See merge request OpenMesh/OpenMesh!336
This commit is contained in:
Jan Möbius
2023-08-22 11:54:51 +00:00

View File

@@ -429,7 +429,7 @@ typename PolyMeshT<Kernel>::Normal
PolyMeshT<Kernel>::
calc_normal(EdgeHandle _eh) const
{
Normal n(0);
Normal n(0, 0, 0);
for (int i = 0; i < 2; ++i)
{
const auto heh = this->halfedge_handle(_eh, i);