[TD]Refactor LTNP correction code for Dimensions
- additional geometry types - add method to handle line like bsplines - handle deleted ref body feature - add test for empty savedGeometry - add switch for matcher/LTNP on/off
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
#include <QApplication>
|
||||
#include <QFileInfo>
|
||||
#include <QMessageBox>
|
||||
#include <sstream>
|
||||
#include <vector>
|
||||
#endif
|
||||
|
||||
@@ -75,7 +74,7 @@
|
||||
#include "TaskProjection.h"
|
||||
#include "TaskSectionView.h"
|
||||
#include "ViewProviderPage.h"
|
||||
#include "ViewProviderViewPart.h"
|
||||
#include "ViewProviderDrawingView.h"
|
||||
|
||||
void execSimpleSection(Gui::Command* cmd);
|
||||
void execComplexSection(Gui::Command* cmd);
|
||||
|
||||
@@ -630,10 +630,9 @@ void QGIViewDimension::updateView(bool update)
|
||||
updateDim();
|
||||
}
|
||||
|
||||
if (dim->goodReferenceGeometry()) {
|
||||
if (dim->hasGoodReferences()) {
|
||||
m_refFlag->hide();
|
||||
} else {
|
||||
// m_refFlag->setPos(datumLabel->pos());
|
||||
m_refFlag->centerAt(datumLabel->pos() + datumLabel->boundingRect().center());
|
||||
m_refFlag->show();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user