Fix "still touched after recompute" and display
This commit is contained in:
committed by
Yorik van Havre
parent
95cc7a900b
commit
5bc256d3f2
@@ -109,8 +109,7 @@ App::DocumentObjectExecReturn *DrawHatch::execute(void)
|
||||
{
|
||||
DrawViewPart* parent = getSourceView();
|
||||
if (parent) {
|
||||
parent->touch();
|
||||
parent->recomputeFeature();
|
||||
parent->requestPaint();
|
||||
}
|
||||
return App::DocumentObject::StdReturn;
|
||||
}
|
||||
|
||||
@@ -76,7 +76,7 @@ QGIFace::QGIFace(int index) :
|
||||
m_segCount = 0;
|
||||
setFillMode(NoFill);
|
||||
isHatched(false);
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape,false);
|
||||
setFlag(QGraphicsItem::ItemClipsChildrenToShape,true);
|
||||
|
||||
//setStyle(Qt::NoPen); //don't draw face lines, just fill for debugging
|
||||
setStyle(Qt::DashLine);
|
||||
|
||||
Reference in New Issue
Block a user