Fixed issue #607. Cut tools do not support operation tools.
--HG-- branch : develop
This commit is contained in:
parent
f4a2d64497
commit
1882833ce7
|
@ -106,16 +106,11 @@ inline void VToolCut::ShowToolVisualization(bool show)
|
||||||
{
|
{
|
||||||
delete vis;
|
delete vis;
|
||||||
}
|
}
|
||||||
if (VAbstractSpline *parentCurve = qobject_cast<VAbstractSpline *>(doc->getTool(curveCutId)))
|
|
||||||
|
VDataTool *parent = doc->getTool(VAbstractTool::data.GetGObject(curveCutId)->getIdTool());
|
||||||
|
if (VAbstractSpline *parentCurve = qobject_cast<VAbstractSpline *>(parent))
|
||||||
{
|
{
|
||||||
if (detailsMode)
|
detailsMode ? parentCurve->ShowHandles(detailsMode) : parentCurve->ShowHandles(show);
|
||||||
{
|
|
||||||
parentCurve->ShowHandles(detailsMode);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
parentCurve->ShowHandles(show);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user