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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user