Add constraints when they are created

This commit is contained in:
Gregory John Casamento 2020-06-02 04:58:13 -04:00
parent 2c8692c379
commit af2319d26e

View file

@ -228,6 +228,8 @@ static NSMutableArray *activeConstraints;
_relation = relation;
_multiplier = multiplier;
_constant = constant;
[activeConstraints addObject: self];
}
return self;
}
@ -249,6 +251,7 @@ static NSMutableArray *activeConstraints;
attribute: attr2
multiplier: mult
constant: c];
AUTORELEASE(constraint);
return constraint;
}