Fix sketch on face of other body or part
The shapebinder object reduces the number of faces to 1, hence the subshape to select is always Face1 and not the original face name
This commit is contained in:
@@ -320,7 +320,13 @@ App::DocumentObject* TaskFeaturePick::makeCopy(App::DocumentObject* obj, std::st
|
||||
}
|
||||
else {
|
||||
|
||||
auto name = std::string("Reference") + std::string(obj->getNameInDocument());
|
||||
std::string name;
|
||||
if(!independent)
|
||||
name = std::string("Reference");
|
||||
else
|
||||
name = std::string("Copy");
|
||||
name += std::string(obj->getNameInDocument());
|
||||
|
||||
std::string entity;
|
||||
if(!sub.empty())
|
||||
entity = sub;
|
||||
|
||||
Reference in New Issue
Block a user