summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rw-r--r--indra/newview/llviewermenu.cpp15
1 files changed, 1 insertions, 14 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index 26f0ec7905..db18d6ed2c 100644
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -8452,20 +8452,7 @@ class LLWorldEnvSettings : public view_listener_t
}
else if (event_name == "my_environs")
{
- LLUUID asset_id;
-
- LLSettingsBase::ptr_t cur(LLEnvironment::instance().getCurrentDay());
- if (!cur)
- {
- cur = LLEnvironment::instance().getCurrentSky();
- }
-
- if (cur)
- {
- asset_id = cur->getAssetId();
- }
-
- LLFloaterReg::showInstance("my_environments", LLSDMap("asset_id", LLSD::UUID(asset_id)));
+ LLFloaterReg::showInstance("my_environments");
}
return true;