- if (myBaseConstraint && myFixedAttribute && myFixedAttribute->isObject())
- aFeature = ModelAPI_Feature::feature(myFixedAttribute->object());
+ if (myBaseConstraint && myFixedAttribute) {
+ if (myFixedAttribute->isObject())
+ aFeature = ModelAPI_Feature::feature(myFixedAttribute->object());
+ else {
+ if (myFixedAttribute->attr().get())
+ myStorage->update(AttributePtr(myFixedAttribute), myGroupID);
+ }
+ }