PropertyConstraintList: refactor setValue
This commit is contained in:
committed by
abdullahtahiriyo
parent
9ca8568f89
commit
fe993abc35
@@ -183,9 +183,8 @@ void PropertyConstraintList::setValues(const std::vector<Constraint*>& lValue)
|
||||
auto copy = lValue;
|
||||
for(auto &cstr : copy)
|
||||
cstr = cstr->clone();
|
||||
aboutToSetValue();
|
||||
applyValues(std::move(copy));
|
||||
hasSetValue();
|
||||
|
||||
setValues(std::move(copy));
|
||||
}
|
||||
|
||||
void PropertyConstraintList::setValues(std::vector<Constraint*>&& lValue) {
|
||||
|
||||
Reference in New Issue
Block a user