Fix DrawViewDetail behaviour near object edge

This commit is contained in:
WandererFan
2016-12-03 13:37:48 -05:00
committed by wmayer
parent 4aa79d1476
commit 79073f5828
4 changed files with 28 additions and 37 deletions

View File

@@ -103,7 +103,6 @@ DrawViewDetail::DrawViewDetail()
ADD_PROPERTY_TYPE(Reference ,("1"),dgroup,App::Prop_None,"An identifier for this detail");
getParameters();
}
DrawViewDetail::~DrawViewDetail()
@@ -235,7 +234,7 @@ App::DocumentObjectExecReturn *DrawViewDetail::execute(void)
gp_Pnt inputCenter;
try {
inputCenter = TechDrawGeometry::findCentroid(detail,
inputCenter = TechDrawGeometry::findCentroid(tool,
Direction.getValue());
TopoDS_Shape mirroredShape = TechDrawGeometry::mirrorShape(detail,
inputCenter,