[TD]Refactor LTNP correction code for Dimensions
- additional geometry types - add method to handle line like bsplines - handle deleted ref body feature - add test for empty savedGeometry - add switch for matcher/LTNP on/off
This commit is contained in:
@@ -862,7 +862,7 @@ TechDraw::VertexPtr DrawViewPart::getProjVertexByIndex(int idx) const
|
||||
return nullptr;
|
||||
}
|
||||
if ((unsigned)idx >= geoms.size()) {
|
||||
Base::Console().Error("DVP::getProjVertexByIndex(%d) - invalid index\n", idx);
|
||||
Base::Console().Error("DVP::getProjVertexByIndex(%d) - invalid index - size: %d\n", idx);
|
||||
return nullptr;
|
||||
}
|
||||
return geoms.at(idx);
|
||||
|
||||
Reference in New Issue
Block a user