Sketcher: Constrain Contextual implementation.
This commit is contained in:
@@ -138,6 +138,13 @@ ViewProviderSketchDrawSketchHandlerAttorney::setAngleSnapping(ViewProviderSketch
|
||||
vp.setAngleSnapping(enable, referencePoint);
|
||||
}
|
||||
|
||||
inline void
|
||||
ViewProviderSketchDrawSketchHandlerAttorney::moveConstraint(ViewProviderSketch& vp, int constNum,
|
||||
const Base::Vector2d& toPos)
|
||||
{
|
||||
vp.moveConstraint(constNum, toPos);
|
||||
}
|
||||
|
||||
|
||||
/**************************** CurveConverter **********************************************/
|
||||
|
||||
@@ -1086,3 +1093,9 @@ void DrawSketchHandler::setAngleSnapping(bool enable, Base::Vector2d referencePo
|
||||
ViewProviderSketchDrawSketchHandlerAttorney::setAngleSnapping(
|
||||
*sketchgui, enable, referencePoint);
|
||||
}
|
||||
|
||||
void DrawSketchHandler::moveConstraint(int constNum, const Base::Vector2d& toPos)
|
||||
{
|
||||
ViewProviderSketchDrawSketchHandlerAttorney::moveConstraint(
|
||||
*sketchgui, constNum, toPos);
|
||||
}
|
||||
Reference in New Issue
Block a user