Clang warning.
--HG-- branch : develop
This commit is contained in:
parent
1f19c1bce0
commit
3bdf60705d
|
@ -2010,7 +2010,7 @@ QVector<quint32> VToolSeamAllowance::DuplicatePins(const QVector<quint32> &pins,
|
|||
{
|
||||
QSharedPointer<VPointF> pin = initData.data->GeometricObject<VPointF>(pins.at(i));
|
||||
|
||||
VAbstractNode *tool = qobject_cast<VAbstractNode *>(VAbstractPattern::getTool(i));
|
||||
VAbstractNode *tool = qobject_cast<VAbstractNode *>(VAbstractPattern::getTool(pins.at(i)));
|
||||
SCASSERT(tool != nullptr)
|
||||
|
||||
VToolPinInitData initNodeData;
|
||||
|
|
Loading…
Reference in New Issue
Block a user