Part: [skip ci] 0004665: Part/projection tool : Unhandled unknown exception caught when mouse gets over a datum plane
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user