Text Leader initial version

This commit is contained in:
wandererfan
2019-04-14 15:09:04 -04:00
committed by WandererFan
parent ccc3251511
commit abf419f68c
56 changed files with 9642 additions and 50 deletions

View File

@@ -38,6 +38,7 @@
#include <Mod/TechDraw/App/DrawViewDimension.h>
#include <Mod/TechDraw/App/DrawViewBalloon.h>
#include <Mod/TechDraw/App/DrawLeaderLine.h>
#include <Mod/TechDraw/App/DrawViewMulti.h>
#include <Mod/TechDraw/App/DrawHatch.h>
#include <Mod/TechDraw/App/DrawGeomHatch.h>
@@ -160,6 +161,7 @@ std::vector<App::DocumentObject*> ViewProviderViewPart::claimChildren(void) cons
// Collect any child Document Objects and put them in the right place in the Feature tree
// valid children of a ViewPart are:
// - Dimensions
// - Leaders
// - Hatches
// - GeomHatches
std::vector<App::DocumentObject*> temp;
@@ -186,6 +188,8 @@ std::vector<App::DocumentObject*> ViewProviderViewPart::claimChildren(void) cons
temp.push_back((*it));
} else if ((*it)->getTypeId().isDerivedFrom(TechDraw::DrawViewBalloon::getClassTypeId())) {
temp.push_back((*it));
} else if ((*it)->getTypeId().isDerivedFrom(TechDraw::DrawLeaderLine::getClassTypeId())) {
temp.push_back((*it));
}
}
return temp;