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)
|
||||
{
|
||||
if (d->typeTool != Tool::NodePoint)
|
||||
{
|
||||
d->reverse = reverse;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -49,7 +49,12 @@ public:
|
|||
: id(id),
|
||||
typeTool(typeTool),
|
||||
reverse(reverse)
|
||||
{}
|
||||
{
|
||||
if (typeTool == Tool::NodePoint)
|
||||
{
|
||||
reverse = false;
|
||||
}
|
||||
}
|
||||
|
||||
VPieceNodeData (const VPieceNodeData& node)
|
||||
: QSharedData(node),
|
||||
|
|
Loading…
Reference in New Issue
Block a user