object converting curve/mball to a mesh would give invalid selection state (edges selected but nothing else).

add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.
This commit is contained in:
2013-03-16 01:19:03 +00:00
parent db77fdc6ff
commit a0351fd97e
5 changed files with 11 additions and 9 deletions

View File

@@ -1084,7 +1084,7 @@ bool MeshImporter::write_geometry(const COLLADAFW::Geometry *geom)
read_vertices(mesh, me);
read_polys(mesh, me);
BKE_mesh_calc_edges(me, 0);
BKE_mesh_calc_edges(me, false, false);
// read_lines() must be called after the face edges have been generated.
// Oterwise the loose edges will be silently deleted again.