Piece Node point can't be reversed.
--HG-- branch : feature
This commit is contained in:
parent
1dd86e66fb
commit
a378922bf6
|
@ -92,5 +92,8 @@ bool VPieceNode::GetReverse() const
|
||||||
//---------------------------------------------------------------------------------------------------------------------
|
//---------------------------------------------------------------------------------------------------------------------
|
||||||
void VPieceNode::SetReverse(bool reverse)
|
void VPieceNode::SetReverse(bool reverse)
|
||||||
{
|
{
|
||||||
|
if (d->typeTool != Tool::NodePoint)
|
||||||
|
{
|
||||||
d->reverse = reverse;
|
d->reverse = reverse;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,12 @@ public:
|
||||||
: id(id),
|
: id(id),
|
||||||
typeTool(typeTool),
|
typeTool(typeTool),
|
||||||
reverse(reverse)
|
reverse(reverse)
|
||||||
{}
|
{
|
||||||
|
if (typeTool == Tool::NodePoint)
|
||||||
|
{
|
||||||
|
reverse = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
VPieceNodeData (const VPieceNodeData& node)
|
VPieceNodeData (const VPieceNodeData& node)
|
||||||
: QSharedData(node),
|
: QSharedData(node),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user