[TD]fix projectShape for shape outline
This commit is contained in:
committed by
WandererFan
parent
6677cd4d8f
commit
00b671e370
@@ -256,11 +256,16 @@ void GeometryObject::projectShape(const TopoDS_Shape& inShape,
|
||||
}
|
||||
|
||||
//convert the hlr output into TD Geometry
|
||||
const DrawViewPart* dvp = static_cast<const DrawViewPart*>(m_parent);
|
||||
extractGeometry(TechDraw::ecHARD, //always show the hard&outline visible lines
|
||||
true);
|
||||
extractGeometry(TechDraw::ecOUTLINE,
|
||||
true);
|
||||
|
||||
const DrawViewPart* dvp = static_cast<const DrawViewPart*>(m_parent);
|
||||
if (!dvp) {
|
||||
return; //some routines do not have a dvp (ex shape outline)
|
||||
}
|
||||
|
||||
if (dvp->SmoothVisible.getValue()) {
|
||||
extractGeometry(TechDraw::ecSMOOTH,
|
||||
true);
|
||||
|
||||
Reference in New Issue
Block a user