diff options
| author | simon <none@none> | 2014-02-10 16:11:50 -0800 |
|---|---|---|
| committer | simon <none@none> | 2014-02-10 16:11:50 -0800 |
| commit | cb2045fcd5106b5e0028869fc6a3e080d3f8e779 (patch) | |
| tree | 8270c7d248f542107472fff9f2eb10f30721e1ee /indra/newview/llfloaterland.cpp | |
| parent | 8e5da5125de2bc9f8ce5ed2677556953e008c59d (diff) | |
| parent | 4acc2dc2736621952b6ee0e808640dcf79e341c6 (diff) | |
Merge downstream code with viewer-release
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
| -rwxr-xr-x | indra/newview/llfloaterland.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index 9250ae9ae9..d79eee6be3 100755 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -1791,10 +1791,15 @@ void LLPanelLandObjects::onCommitClean(LLUICtrl *caller, void* user_data) LLParcel* parcel = lop->mParcel->getParcel(); if (parcel) { - lop->mOtherTime = atoi(lop->mCleanOtherObjectsTime->getText().c_str()); + S32 return_time = atoi(lop->mCleanOtherObjectsTime->getText().c_str()); + // Only send return time if it has changed + if (return_time != lop->mOtherTime) + { + lop->mOtherTime = return_time; - parcel->setCleanOtherTime(lop->mOtherTime); - send_other_clean_time_message(parcel->getLocalID(), lop->mOtherTime); + parcel->setCleanOtherTime(lop->mOtherTime); + send_other_clean_time_message(parcel->getLocalID(), lop->mOtherTime); + } } } |
