PD: comment out dead code

This commit is contained in:
wmayer
2021-12-03 20:18:46 +01:00
parent 89706839e0
commit 0579052cbc

View File

@@ -132,12 +132,15 @@ bool ReferenceSelection::allow(App::Document* pDoc, App::DocumentObject* pObj, c
return false;
}
// The flag was used to be set. So, this block will never be treated and doesn't make really sense anyway
#if 0
if (!type.testFlag(AllowSelection::OTHERBODY)) {
if (support == NULL)
return false;
if (pObj != support)
return false;
}
#endif
// Handle selection of geometry elements
if (!sSubName || sSubName[0] == '\0')
return type.testFlag(AllowSelection::WHOLE);