diff options
author | Rider Linden <rider@lindenlab.com> | 2018-08-16 09:43:54 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-08-16 09:43:54 -0700 |
commit | 68158f0340729d9f7e5a4b3e64bfc154a105ab6c (patch) | |
tree | 8ebde15decf4916f19c3df28f3e6dcb493b2ef6f /indra/newview/llfloaterland.cpp | |
parent | af2fa3c5bd669fb28af904b3ac74fb28cb22025c (diff) |
Pass call backs into parcel and region change methods.
Diffstat (limited to 'indra/newview/llfloaterland.cpp')
-rw-r--r-- | indra/newview/llfloaterland.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/indra/newview/llfloaterland.cpp b/indra/newview/llfloaterland.cpp index 5fcd3df7a8..57d34c5c5a 100644 --- a/indra/newview/llfloaterland.cpp +++ b/indra/newview/llfloaterland.cpp @@ -157,9 +157,6 @@ public: virtual bool canEdit(); protected: - virtual void doApply(); - - LLSafeHandle<LLParcelSelection>& mParcel; }; @@ -3306,36 +3303,3 @@ bool LLPanelLandEnvironment::canEdit() return false; return LLEnvironment::instance().canAgentUpdateParcelEnvironment(parcel); } - -void LLPanelLandEnvironment::doApply() -{ -// LLParcel* parcel = mParcel->getParcel(); -// if (!parcel) -// { -// LL_WARNS("PARCEL") << "Could not get parcel." << LL_ENDL; -// return; -// } -// S32 parcel_id = parcel->getLocalID(); -// -// if (mRegionSettingsRadioGroup->getSelectedIndex() == 0) -// { -// LLEnvironment::instance().resetParcel(parcel_id); -// } -// else -// { -// LLSettingsDay::Seconds daylength; -// F32Hours dayoffset_h; -// -// daylength = F32Hours(mDayLengthSlider->getValueF32()); -// dayoffset_h = F32Hours(mDayOffsetSlider->getValueF32()); -// -// if (dayoffset_h.value() < 0) -// { -// dayoffset_h = F32Hours(24.0f) + dayoffset_h; -// } -// -// LLSettingsDay::Seconds dayoffset_s = dayoffset_h; -// -// LLEnvironment::instance().updateParcel(parcel_id, mEditingDayCycle, daylength.value(), dayoffset_s.value()); -// } -} |