Add requestPaint formerly in DrawView::execute

This commit is contained in:
WandererFan
2017-09-10 15:24:50 +02:00
committed by wmayer
parent 3e21b97867
commit 485321f8ea
5 changed files with 8 additions and 9 deletions
+1 -2
View File
@@ -214,8 +214,6 @@ App::DocumentObjectExecReturn *DrawViewSection::execute(void)
if (partTopo.getShape().IsNull())
return new App::DocumentObjectExecReturn("Linked shape object is empty");
(void) DrawView::execute(); //make sure Scale is up to date
gp_Pln pln = getSectionPlane();
gp_Dir gpNormal = pln.Axis().Direction();
Base::Vector3d orgPnt = SectionOrigin.getValue();
@@ -303,6 +301,7 @@ App::DocumentObjectExecReturn *DrawViewSection::execute(void)
return new App::DocumentObjectExecReturn(e2.GetMessageString());
}
requestPaint();
return App::DocumentObject::StdReturn;
}