diff options
author | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
commit | 7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch) | |
tree | ab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/llcharacter/llkeyframemotion.cpp | |
parent | Second Life viewer sources 1.20.10 (diff) | |
download | meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2 meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz |
Second Life viewer sources 1.20.11
Diffstat (limited to 'linden/indra/llcharacter/llkeyframemotion.cpp')
-rw-r--r-- | linden/indra/llcharacter/llkeyframemotion.cpp | 10 |
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 | ||