TD: Remove calls to now-empty clearLineSets() method
This commit is contained in:
@@ -287,7 +287,6 @@ void QGIViewPart::drawAllFaces(void)
|
||||
std::vector<LineSet> lineSets = fGeom->getTrimmedLines(iFace);
|
||||
if (!lineSets.empty()) {
|
||||
// this face has geometric hatch lines
|
||||
newFace->clearLineSets();
|
||||
for (auto& ls : lineSets) {
|
||||
newFace->addLineSet(ls);
|
||||
}
|
||||
|
||||
@@ -112,7 +112,6 @@ void QGIViewSection::drawSectionFace()
|
||||
newFace->setLineWeight(sectionVp->WeightPattern.getValue());
|
||||
std::vector<TechDraw::LineSet> lineSets = section->getDrawableLines(i);
|
||||
if (!lineSets.empty()) {
|
||||
newFace->clearLineSets();
|
||||
for (auto& ls: lineSets) {
|
||||
newFace->addLineSet(ls);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user