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);
|
std::vector<LineSet> lineSets = fGeom->getTrimmedLines(iFace);
|
||||||
if (!lineSets.empty()) {
|
if (!lineSets.empty()) {
|
||||||
// this face has geometric hatch lines
|
// this face has geometric hatch lines
|
||||||
newFace->clearLineSets();
|
|
||||||
for (auto& ls : lineSets) {
|
for (auto& ls : lineSets) {
|
||||||
newFace->addLineSet(ls);
|
newFace->addLineSet(ls);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ void QGIViewSection::drawSectionFace()
|
|||||||
newFace->setLineWeight(sectionVp->WeightPattern.getValue());
|
newFace->setLineWeight(sectionVp->WeightPattern.getValue());
|
||||||
std::vector<TechDraw::LineSet> lineSets = section->getDrawableLines(i);
|
std::vector<TechDraw::LineSet> lineSets = section->getDrawableLines(i);
|
||||||
if (!lineSets.empty()) {
|
if (!lineSets.empty()) {
|
||||||
newFace->clearLineSets();
|
|
||||||
for (auto& ls: lineSets) {
|
for (auto& ls: lineSets) {
|
||||||
newFace->addLineSet(ls);
|
newFace->addLineSet(ls);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user