1. Start sketch
2. Create a line
3. Start Fixed constraint
4. Select a point on the line. Apply
5. Select the line by rectangle
6. Delete button click
BUG: crash
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);