Sketcher: Fix carbon copy construction points
============================================= fixes #3926 Points made of construction type are special non-constrainable points, such as (current) bspline knots. This was not intended in Carbon Copy.
This commit is contained in:
committed by
abdullahtahiriyo
parent
7d0f8e2fa9
commit
9fd2a2d9ff
@@ -5197,7 +5197,7 @@ int SketchObject::carbonCopy(App::DocumentObject * pObj, bool construction)
|
||||
|
||||
for (std::vector<Part::Geometry *>::const_iterator it=svals.begin(); it != svals.end(); ++it){
|
||||
Part::Geometry *geoNew = (*it)->copy();
|
||||
if(construction) {
|
||||
if(construction && geoNew->getTypeId() != Part::GeomPoint::getClassTypeId()) {
|
||||
geoNew->Construction = true;
|
||||
}
|
||||
newVals.push_back(geoNew);
|
||||
|
||||
Reference in New Issue
Block a user