Fix compilation issue in Attacher code

This commit is contained in:
Stefan Tröger 2016-04-12 17:37:07 +02:00
parent cd2da9fe6d
commit 4119bb7adc

View File

@ -985,7 +985,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
Handle (Geom_Curve) hCurve = BRep_Tool::Curve(path, u1, u2);
GeomAPI_ProjectPointOnCurve projector = GeomAPI_ProjectPointOnCurve (p_in, hCurve);
GeomAPI_ProjectPointOnCurve projector (p_in, hCurve);
u = projector.LowerDistanceParameter();
} else {
u = u1 + this->attachParameter * (u2 - u1);