EntityWrapperPtr aSolverEntity;
if (myBaseFeature) {
// The feature is fixed.
- myStorage->update(myBaseFeature, myGroupID);
+ myStorage->update(myBaseFeature/*, myGroupID*/);
aSolverEntity = myStorage->entity(myBaseFeature);
} else if (myBaseConstraint) {
// Constraint Fixed is added by user.
if (myBaseConstraint && myFixedAttribute) {
if (myFixedAttribute->isObject())
aFeature = ModelAPI_Feature::feature(myFixedAttribute->object());
- else
- myStorage->update(AttributePtr(myFixedAttribute), myGroupID);
+ else {
+ if (myFixedAttribute->attr().get())
+ myStorage->update(AttributePtr(myFixedAttribute), myGroupID);
+ }
}
if (aFeature)
myStorage->update(aFeature, myGroupID);