aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcharacter/llkeyframemotion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcharacter/llkeyframemotion.cpp')
-rw-r--r--linden/indra/llcharacter/llkeyframemotion.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/linden/indra/llcharacter/llkeyframemotion.cpp b/linden/indra/llcharacter/llkeyframemotion.cpp
index 0138860..34decd6 100644
--- a/linden/indra/llcharacter/llkeyframemotion.cpp
+++ b/linden/indra/llcharacter/llkeyframemotion.cpp
@@ -1977,9 +1977,8 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs,
1977 1977
1978 LLCharacter* character = *char_iter; 1978 LLCharacter* character = *char_iter;
1979 1979
1980 // create an instance of this motion (it may or may not already exist) 1980 // look for an existing instance of this motion
1981 LLKeyframeMotion* motionp = (LLKeyframeMotion*) character->createMotion(asset_uuid); 1981 LLKeyframeMotion* motionp = (LLKeyframeMotion*) character->findMotion(asset_uuid);
1982
1983 if (motionp) 1982 if (motionp)
1984 { 1983 {
1985 if (0 == status) 1984 if (0 == status)
@@ -2008,7 +2007,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs,
2008 motionp->mAssetStatus = ASSET_FETCH_FAILED; 2007 motionp->mAssetStatus = ASSET_FETCH_FAILED;
2009 } 2008 }
2010 2009
2011 delete []buffer; 2010 delete[] buffer;
2012 } 2011 }
2013 else 2012 else
2014 { 2013 {
@@ -2018,8 +2017,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs,
2018 } 2017 }
2019 else 2018 else
2020 { 2019 {
2021 // motionp is NULL 2020 llwarns << "No existing motion for asset data. UUID: " << asset_uuid << llendl;
2022 llwarns << "Failed to createMotion() for asset UUID " << asset_uuid << llendl;
2023 } 2021 }
2024} 2022}
2025 2023