[TechDraw] Reimplement Rich Annotation parent linking
This commit is contained in:
@@ -214,7 +214,7 @@ std::vector<App::DocumentObject*> ViewProviderViewPart::claimChildren() const
|
||||
// - Leaders
|
||||
// - Hatches
|
||||
// - GeomHatches
|
||||
// - Leaders
|
||||
// - any drawing views declaring this view as their parent
|
||||
std::vector<App::DocumentObject*> temp;
|
||||
const std::vector<App::DocumentObject *> &views = getViewPart()->getInList();
|
||||
try {
|
||||
@@ -245,8 +245,6 @@ std::vector<App::DocumentObject*> ViewProviderViewPart::claimChildren() const
|
||||
temp.push_back((*it));
|
||||
} else if ((*it)->isDerivedFrom<TechDraw::DrawViewBalloon>()) {
|
||||
temp.push_back((*it));
|
||||
} else if ((*it)->isDerivedFrom<TechDraw::DrawRichAnno>()) {
|
||||
temp.push_back((*it));
|
||||
} else if ((*it)->isDerivedFrom<TechDraw::DrawLeaderLine>()) {
|
||||
temp.push_back((*it));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user