Remove section line from DVP on delete of DVS
This commit is contained in:
@@ -506,6 +506,11 @@ Base::Vector3d DrawViewSection::getSectionVector (const std::string sectionName)
|
||||
return adjResult;
|
||||
}
|
||||
|
||||
void DrawViewSection::unsetupObject()
|
||||
{
|
||||
getBaseDVP()->touch();
|
||||
}
|
||||
|
||||
TechDraw::DrawViewPart* DrawViewSection::getBaseDVP()
|
||||
{
|
||||
TechDraw::DrawViewPart* baseDVP = nullptr;
|
||||
|
||||
@@ -89,6 +89,7 @@ public:
|
||||
Base::Vector3d getSectionVector (const std::string sectionName);
|
||||
TechDraw::DrawViewPart* getBaseDVP();
|
||||
TechDraw::DrawProjGroupItem* getBaseDPGI();
|
||||
virtual void unsetupObject();
|
||||
|
||||
static const char* SectionDirEnums[];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user