Fix point edit when attach point changed
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user