Changes angle type allowed only for point nodes.
--HG-- branch : feature
This commit is contained in:
parent
cc3d97a015
commit
f60c710ee1
|
@ -159,7 +159,10 @@ PieceNodeAngle VPieceNode::GetAngleType() const
|
|||
//---------------------------------------------------------------------------------------------------------------------
|
||||
void VPieceNode::SetAngleType(PieceNodeAngle type)
|
||||
{
|
||||
d->m_angleType = type;
|
||||
if (d->m_typeTool == Tool::NodePoint)
|
||||
{
|
||||
d->m_angleType = type;
|
||||
}
|
||||
}
|
||||
|
||||
// Friend functions
|
||||
|
|
Loading…
Reference in New Issue
Block a user