Part: [skip ci] 0004665: Part/projection tool : Unhandled unknown exception caught when mouse gets over a datum plane

This commit is contained in:
wmayer
2021-12-09 14:16:06 +01:00
parent 9f2b6c5ec6
commit 5575ae5e09

View File

@@ -118,7 +118,7 @@ public:
std::string subName(sSubName);
if (subName.empty()) return false;
auto subShape = aPart->Shape.getShape().getSubShape(sSubName);
auto subShape = aPart->Shape.getShape().getSubShape(sSubName, true);
if (subShape.IsNull()) return false;
auto type = subShape.ShapeType();
if (type != TopAbs_FACE) return false;