[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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user