Option Pattern Piece -> Show main path doesn't show second passmarks on main path.
This commit is contained in:
parent
06c09b63ba
commit
8c9eec2448
|
@ -354,7 +354,7 @@ QVector<VLayoutPassmark> ConvertPassmarks(const VPiece &piece, const VContainer
|
|||
}
|
||||
|
||||
if (qApp->Settings()->IsDoublePassmark()
|
||||
&& not piece.IsHideMainPath()
|
||||
&& (qApp->Settings()->IsPieceShowMainPath() || not piece.IsHideMainPath())
|
||||
&& pData.isMainPathNode
|
||||
&& pData.passmarkAngleType != PassmarkAngleType::Intersection
|
||||
&& pData.passmarkAngleType != PassmarkAngleType::IntersectionOnlyLeft
|
||||
|
|
|
@ -660,7 +660,7 @@ QVector<QLineF> VPassmark::FullPassmark(const VPiece &piece, const VContainer *d
|
|||
QVector<QLineF> lines;
|
||||
lines += SAPassmark(piece, data, PassmarkSide::All);
|
||||
if (qApp->Settings()->IsDoublePassmark()
|
||||
&& not piece.IsHideMainPath()
|
||||
&& (qApp->Settings()->IsPieceShowMainPath() || not piece.IsHideMainPath())
|
||||
&& m_data.isMainPathNode
|
||||
&& m_data.passmarkAngleType != PassmarkAngleType::Intersection
|
||||
&& m_data.passmarkAngleType != PassmarkAngleType::IntersectionOnlyLeft
|
||||
|
|
Loading…
Reference in New Issue
Block a user