fix CIDs 154877, 154878, 154879, 154880, 154881, 154882, 154885
This commit is contained in:
@@ -212,7 +212,7 @@ int Sketch::addGeometry(const Part::Geometry *geo, bool fixed)
|
||||
// create the definition struct for that geom
|
||||
return addArcOfEllipse(*aoe, fixed);
|
||||
} else if (geo->getTypeId() == GeomArcOfHyperbola::getClassTypeId()) { // add an arc of hyperbola
|
||||
const GeomArcOfHyperbola *aoh = dynamic_cast<const GeomArcOfHyperbola*>(geo);
|
||||
const GeomArcOfHyperbola *aoh = static_cast<const GeomArcOfHyperbola*>(geo);
|
||||
// create the definition struct for that geom
|
||||
return addArcOfHyperbola(*aoh, fixed);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user