SL-109 WIP - code cleanup

master
Brad Payne (Vir Linden) 2015-08-12 11:17:23 -04:00
parent 47093f6e52
commit 932412e1db
5 changed files with 7 additions and 7 deletions

View File

@ -903,7 +903,7 @@ ELoadStatus LLBVHLoader::loadBVHFile(const char *buffer, char* error_text, S32 &
return E_ST_NO_CHANNELS;
}
// FIXME do we want to open up motion of non-hip joints or
// FIXME BENTO do we want to open up motion of non-hip joints or
// not? Already effectively allowed via .anim upload.
int res = sscanf(line.c_str(), " CHANNELS %d", &joint->mNumChannels);
if ( res != 1 )

View File

@ -2253,7 +2253,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs,
{
motionp->mAssetStatus = ASSET_LOADED;
// FIXME BENTO TEMP
motionp->dumpToFile("");
//motionp->dumpToFile("");
}
else

View File

@ -377,12 +377,12 @@ LLMotion* LLMotionController::createMotion( const LLUUID &id )
case LLMotion::STATUS_SUCCESS:
// add motion to our list
mLoadedMotions.insert(motion);
// FIXME SO MUCH DUMP
// BENTO TEMP
{
LLKeyframeMotion *km = dynamic_cast<LLKeyframeMotion*>(motion);
if (km)
{
km->dumpToFile("");
//km->dumpToFile("");
}
}
break;

View File

@ -43,7 +43,6 @@
<key>tags</key>
<array>
<!-- sample entry for debugging specific items
<string>BVH</string>
<string>Avatar</string>
<string>Inventory</string>
<string>SceneLoadTiming</string>

View File

@ -110,12 +110,13 @@ void LLPreviewAnim::play(const LLSD& param)
}
else
{
// FIXME BENTO - TEMP HACK TO DUMP AS FILE
// BENTO TEMP
LLKeyframeMotion *motionp = dynamic_cast<LLKeyframeMotion*>(gAgentAvatarp->findMotion(itemID));
if (motionp && motionp->isLoaded())
{
motionp->dumpToFile(item->getName());
//motionp->dumpToFile(item->getName());
}
gAgentAvatarp->startMotion(item->getAssetUUID());
}