Sketcher: Carbon Copy - Allow cross-body sketcher links

=======================================================

The instructions are shown on the status bar.

press CTRL to allow cross-body link

press ALT to by-pass directional requirements

press CTRL+ALT to allow a cross-body link and by-pass directional requirements
This commit is contained in:
Abdullah Tahiri
2017-04-10 17:07:50 +02:00
committed by wmayer
parent 8323917423
commit 96fcedbd30
2 changed files with 7 additions and 7 deletions

View File

@@ -2047,7 +2047,7 @@ bool SketchObject::isCarbonCopyAllowed(App::Document *pDoc, App::DocumentObject
App::Part* part_obj = App::Part::getPartOfObject(pObj, true);
if (part_this == part_obj){ //either in the same part, or in the root of document
if (body_this != NULL) {
if (body_this != body_obj) {
if ((body_this != body_obj) && !this->allowOtherBody) {
if (rsn)
*rsn = rlOtherBody;
return false;