SL-109 WIP - code cleanup
parent
47093f6e52
commit
932412e1db
|
|
@ -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 )
|
||||
|
|
|
|||
|
|
@ -2253,7 +2253,7 @@ void LLKeyframeMotion::onLoadComplete(LLVFS *vfs,
|
|||
{
|
||||
motionp->mAssetStatus = ASSET_LOADED;
|
||||
// FIXME BENTO TEMP
|
||||
motionp->dumpToFile("");
|
||||
//motionp->dumpToFile("");
|
||||
|
||||
}
|
||||
else
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue