bool SketchSolver_ConstraintFixedArcRadius::remove()
{
- bool isFullyRemoved = SketchSolver_ConstraintFixed::remove();
+ bool isFullyRemoved = true;
+ if (myBaseFeature)
+ isFullyRemoved = myStorage->removeEntity(myBaseFeature) && isFullyRemoved;
if (myRadiusConstraint)
isFullyRemoved = myStorage->removeConstraint(ConstraintPtr()) &&
myStorage->remove(myRadiusConstraint) && isFullyRemoved;
if (anEntity->baseAttribute()) {
BuilderPtr aBuilder = SolveSpaceSolver_Builder::getInstance();
EntityWrapperPtr anUpdAttr = aBuilder->createAttribute(anEntity->baseAttribute(), GID_UNKNOWN);
- if (anUpdAttr && !isFixed(theEntity)) {
+ if (anUpdAttr) {
std::list<ParameterWrapperPtr> anUpdParams = anUpdAttr->parameters();
std::list<ParameterWrapperPtr>::iterator anUpdIt = anUpdParams.begin();
for (aPIt = aParams.begin(); aPIt != aParams.end() && anUpdIt != anUpdParams.end();