Skip to content

Commit

Permalink
[TD]allow section line when base is section
Browse files Browse the repository at this point in the history
  • Loading branch information
WandererFan committed Feb 2, 2023
1 parent 693ec40 commit d9afb06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/Mod/TechDraw/Gui/QGIViewSection.cpp
Expand Up @@ -138,11 +138,3 @@ void QGIViewSection::updateView(bool update)
draw();
QGIView::updateView(update);
}

void QGIViewSection::drawSectionLine(TechDraw::DrawViewSection* s, bool b)
{
Q_UNUSED(b);
Q_UNUSED(s);
//override QGIVP::drawSectionLine
}

6 changes: 2 additions & 4 deletions src/Mod/TechDraw/Gui/QGIViewSection.h
Expand Up @@ -39,10 +39,8 @@ class TechDrawGuiExport QGIViewSection : public QGIViewPart

void draw() override;
void updateView(bool update = false) override;
enum {Type = QGraphicsItem::UserType + 108};
int type() const override { return Type;}
void drawSectionLine(TechDraw::DrawViewSection* s, bool b) override;

enum { Type = QGraphicsItem::UserType + 108 };
int type() const override { return Type; }

protected:
void drawSectionFace();
Expand Down

0 comments on commit d9afb06

Please sign in to comment.