Revert previos changes. ref #668.
Do not ignore nodes if a passmark is part of main path. --HG-- branch : release
This commit is contained in:
parent
585213412c
commit
89bf3cc005
|
@ -791,13 +791,7 @@ int VPiecePath::FindInLoopNotExcludedUp(int start, const QVector<VPieceNode> &no
|
||||||
bool found = false;
|
bool found = false;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (not nodes.at(i).IsExcluded()
|
if (not nodes.at(i).IsExcluded())
|
||||||
&& (not nodes.at(start).IsMainPathNode()
|
|
||||||
|| (nodes.at(start).IsMainPathNode()
|
|
||||||
&& nodes.at(start).GetPassmarkAngleType() != PassmarkAngleType::Intersection)
|
|
||||||
|| (nodes.at(start).IsMainPathNode()
|
|
||||||
&& nodes.at(start).GetPassmarkAngleType() == PassmarkAngleType::Intersection
|
|
||||||
&& nodes.at(i).IsMainPathNode())))
|
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
@ -833,13 +827,7 @@ int VPiecePath::FindInLoopNotExcludedDown(int start, const QVector<VPieceNode> &
|
||||||
bool found = false;
|
bool found = false;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
if (not nodes.at(i).IsExcluded()
|
if (not nodes.at(i).IsExcluded())
|
||||||
&& (not nodes.at(start).IsMainPathNode()
|
|
||||||
|| (nodes.at(start).IsMainPathNode()
|
|
||||||
&& nodes.at(start).GetPassmarkAngleType() != PassmarkAngleType::Intersection)
|
|
||||||
|| (nodes.at(start).IsMainPathNode()
|
|
||||||
&& nodes.at(start).GetPassmarkAngleType() == PassmarkAngleType::Intersection
|
|
||||||
&& nodes.at(i).IsMainPathNode())))
|
|
||||||
{
|
{
|
||||||
found = true;
|
found = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user