made the face and edge split operations that copy properties also copy

builtin properties
This commit is contained in:
Martin Schultz
2017-06-27 11:56:15 +02:00
parent 4826d46ca3
commit ad950d46b7

View File

@@ -1130,7 +1130,7 @@ void PolyConnectivity::split_copy(FaceHandle fh, VertexHandle vh) {
// Copy the property of the original face to all new faces // Copy the property of the original face to all new faces
for(VertexFaceIter vf_it = vf_iter(vh); vf_it.is_valid(); ++vf_it) for(VertexFaceIter vf_it = vf_iter(vh); vf_it.is_valid(); ++vf_it)
copy_all_properties(fh, *vf_it); copy_all_properties(fh, *vf_it, true);
} }
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -1226,7 +1226,7 @@ void PolyConnectivity::split_edge_copy(EdgeHandle _eh, VertexHandle _vh)
EdgeHandle eh0 = edge_handle( next_halfedge_handle( halfedge_handle(_eh, 1) ) ); EdgeHandle eh0 = edge_handle( next_halfedge_handle( halfedge_handle(_eh, 1) ) );
// Copy the property from the original to the new edge // Copy the property from the original to the new edge
copy_all_properties(_eh, eh0); copy_all_properties(_eh, eh0, true);
} }
} // namespace OpenMesh } // namespace OpenMesh