Fix point edit when attach point changed

This commit is contained in:
wandererfan
2019-05-21 20:02:28 -04:00
parent 108038df91
commit fc904288a5
13 changed files with 401 additions and 156 deletions

View File

@@ -77,8 +77,6 @@ DrawLeaderLine::~DrawLeaderLine()
void DrawLeaderLine::onChanged(const App::Property* prop)
{
// if (!isRestoring()) {
// }
DrawView::onChanged(prop);
}
@@ -112,15 +110,6 @@ App::DocumentObjectExecReturn *DrawLeaderLine::execute(void)
return DrawView::execute();
}
//this doesn't really work because LeaderParent is not available?
void DrawLeaderLine::onDocumentRestored(void)
{
// Base::Console().Message("DLL::onDocumentRestored()\n");
requestPaint();
DrawView::onDocumentRestored();
}
DrawView* DrawLeaderLine::getBaseView(void) const
{
DrawView* result = nullptr;
@@ -134,7 +123,6 @@ DrawView* DrawLeaderLine::getBaseView(void) const
return result;
}
App::DocumentObject* DrawLeaderLine::getBaseObject(void) const
{
App::DocumentObject* result = nullptr;