Small optimization.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38642 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
73e5249c79
commit
e16e4d4de1
@ -227,6 +227,9 @@ Constraint::SetRightSide(double value)
|
||||
if (!fIsValid)
|
||||
return;
|
||||
|
||||
if (fRightSide == value)
|
||||
return;
|
||||
|
||||
fRightSide = value;
|
||||
if (!set_rh(fLS->fLP, Index(), fRightSide))
|
||||
STRACE(("Error in set_rh."));
|
||||
|
Loading…
Reference in New Issue
Block a user