SL-9820 FIXED [EEP] My Environments finds the parcel's DayCycle unbidden.

master
maxim_productengine 2018-10-09 16:55:51 +03:00
parent 6d1fa8cbf2
commit 4062aba1d0
1 changed files with 1 additions and 14 deletions

View File

@ -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;