From 5575ae5e0949a166a0d2d55df7b23f0364593852 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 9 Dec 2021 14:16:06 +0100 Subject: [PATCH] Part: [skip ci] 0004665: Part/projection tool : Unhandled unknown exception caught when mouse gets over a datum plane --- src/Mod/Part/Gui/DlgProjectionOnSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp b/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp index afef8676df..44e3d9e002 100644 --- a/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp +++ b/src/Mod/Part/Gui/DlgProjectionOnSurface.cpp @@ -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;