Little improvement for Unit tool. New detail will have offset from first detail.
--HG-- branch : develop
This commit is contained in:
parent
c89243a288
commit
800c1b4dc9
|
@ -637,6 +637,8 @@ VToolUnionDetails* VToolUnionDetails::Create(const quint32 _id, const VDetail &d
|
||||||
|
|
||||||
newDetail.setName(tr("United detail"));
|
newDetail.setName(tr("United detail"));
|
||||||
newDetail.setWidth(d1.getWidth());
|
newDetail.setWidth(d1.getWidth());
|
||||||
|
newDetail.setMx(d1.getMx());
|
||||||
|
newDetail.setMy(d1.getMy());
|
||||||
VToolDetail::Create(0, newDetail, scene, doc, data, parse, Source::FromTool, drawName);
|
VToolDetail::Create(0, newDetail, scene, doc, data, parse, Source::FromTool, drawName);
|
||||||
QHash<quint32, VDataTool*>* tools = doc->getTools();
|
QHash<quint32, VDataTool*>* tools = doc->getTools();
|
||||||
SCASSERT(tools != nullptr);
|
SCASSERT(tools != nullptr);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user