[TD]fix face centerline

- centerlines were being added to geometry in postHlrTasks,
  but some CL depend on faces and so we move to
  onFacesFinished.
This commit is contained in:
wandererfan
2022-08-31 16:28:08 -04:00
committed by WandererFan
parent dd14b42829
commit fbfac41c82

View File

@@ -442,7 +442,6 @@ void DrawViewPart::postHlrTasks(void)
//add geometry that doesn't come from HLR
addCosmeticVertexesToGeom();
addCosmeticEdgesToGeom();
addCenterLinesToGeom();
addReferencesToGeom();
addShapes2d();
@@ -615,6 +614,9 @@ void DrawViewPart::onFacesFinished(void)
waitingForFaces(false);
QObject::disconnect(connectFaceWatcher);
showProgressMessage(getNameInDocument(), "has finished extracting faces");
//some centerlines depend on faces so we could not add CL geometry before now
addCenterLinesToGeom();
requestPaint();
}