SL-9820 FIXED [EEP] My Environments finds the parcel's DayCycle unbidden.
parent
6d1fa8cbf2
commit
4062aba1d0
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue