Fix compilation issue in Attacher code
This commit is contained in:
parent
cd2da9fe6d
commit
4119bb7adc
|
@ -985,7 +985,7 @@ Base::Placement AttachEngine3D::calculateAttachedPlacement(Base::Placement origP
|
||||||
|
|
||||||
Handle (Geom_Curve) hCurve = BRep_Tool::Curve(path, u1, u2);
|
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();
|
u = projector.LowerDistanceParameter();
|
||||||
} else {
|
} else {
|
||||||
u = u1 + this->attachParameter * (u2 - u1);
|
u = u1 + this->attachParameter * (u2 - u1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user