[PD] Helix: catch case of touching Helix

when the helix touches itself along a single helical edge one gets a cryptic error.
This PR gives the user feedback what is going on.
This commit is contained in:
Uwe
2022-03-23 01:55:01 +01:00
parent ea81ce76b4
commit e92fbceb7e

View File

@@ -281,6 +281,9 @@ void TaskHelixParameters::updateStatus()
else
status = "";
}
// if the helix touches itself along a single helical edge we get this error
else if (status.compare("NCollection_IndexedDataMap::FindFromKey") == 0)
status = "Error: helix touches itself";
ui->labelMessage->setText(QString::fromUtf8(status.c_str()));
}