Sketch: Fix Point to Line constraint display
This commit is contained in:
committed by
0penBrain
parent
f4c1a7c3f5
commit
6de3c5833f
@@ -661,7 +661,7 @@ Restart:
|
||||
|
||||
const Part::Geometry *geo = geolistfacade.getGeometryFromGeoId(Constr->Second);
|
||||
if (geo->getTypeId() == Part::GeomLineSegment::getClassTypeId()) {
|
||||
if (Constr->SecondPos != Sketcher::PointPos::none) { // point to line distance
|
||||
if (Constr->FirstPos != Sketcher::PointPos::none) { // point to line distance
|
||||
const Part::GeomLineSegment *lineSeg = static_cast<const Part::GeomLineSegment *>(geo);
|
||||
Base::Vector3d l2p1 = lineSeg->getStartPoint();
|
||||
Base::Vector3d l2p2 = lineSeg->getEndPoint();
|
||||
|
||||
Reference in New Issue
Block a user