[TD]fix detail highlight on DrawViewDetail

This commit is contained in:
Wanderer Fan
2022-03-13 11:29:24 -04:00
committed by WandererFan
parent 3f4f885071
commit bb3e637e9e
3 changed files with 9 additions and 2 deletions

View File

@@ -936,8 +936,6 @@ Base::Vector3d DrawViewPart::getCurrentCentroid(void) const
TopoDS_Shape shape = getSourceShape();
gp_Ax2 cs = getProjectionCS(Base::Vector3d(0.0, 0.0, 0.0));
Base::Vector3d center = TechDraw::findCentroidVec(shape, cs);
Base::Console().Message("DVP::getCurrentCentroid - center: %s\n",
DrawUtil::formatVector(center).c_str());
return center;
}