diff options
author | dolphin <dolphin@lindenlab.com> | 2013-05-20 22:07:41 -0700 |
---|---|---|
committer | dolphin <dolphin@lindenlab.com> | 2013-05-20 22:07:41 -0700 |
commit | 10c2758a057b7287894acbaf909b21b7fc656c06 (patch) | |
tree | 4c9eb47119610193f275c30e25ad1dad9b443673 /indra/newview/llpreviewscript.cpp | |
parent | 716a963d5544977863d07770c3c6449b3d9897bb (diff) |
fixed LLScriptEdCore::getSelectedExperience
Diffstat (limited to 'indra/newview/llpreviewscript.cpp')
-rwxr-xr-x | indra/newview/llpreviewscript.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/indra/newview/llpreviewscript.cpp b/indra/newview/llpreviewscript.cpp index 59a206b4d1..0d7a8678a1 100755 --- a/indra/newview/llpreviewscript.cpp +++ b/indra/newview/llpreviewscript.cpp @@ -1300,12 +1300,7 @@ void LLScriptEdCore::clearExperiences() LLUUID LLScriptEdCore::getSelectedExperience()const { - LLSD value = mExperiences->getSelectedValue(); - if(value.has(LLExperienceCache::EXPERIENCE_ID)) - { - return value[LLExperienceCache::EXPERIENCE_ID].asUUID(); - } - return LLUUID::null; + return (LLUUID)mExperiences->getSelectedValue(); } void LLScriptEdCore::setAssociatedExperience( const LLUUID& experience_id ) |