Clean up docstrings to conform to PEP 8, tidy up.

This commit is contained in:
Ian Rees
2016-01-24 11:59:30 +13:00
committed by wmayer
parent 2673b8726c
commit dd75896b07
5 changed files with 27 additions and 27 deletions

View File

@@ -114,7 +114,7 @@ bool MergeExporter::addMesh(Mesh::Feature *meshFeat)
indices.resize(mergingMesh.countFacets() - countFacets);
std::generate(indices.begin(), indices.end(), Base::iotaGen<unsigned long>(countFacets));
Segment segm(&mergingMesh, indices, true);
// TODO: pass in the object? segm.setName(obj->Label.getValue());
segm.setName(meshFeat->Label.getValue());
mergingMesh.addSegment(segm);
}
@@ -149,7 +149,7 @@ bool MergeExporter::addPart(App::DocumentObject *obj, float tol)
indices.resize(mergingMesh.countFacets() - countFacets);
std::generate(indices.begin(), indices.end(), Base::iotaGen<unsigned long>(countFacets));
Segment segm(&mergingMesh, indices, true);
// TODO: pass in the object? segm.setName(obj->Label.getValue());
segm.setName(obj->Label.getValue());
mergingMesh.addSegment(segm);
return true;