Innitial commit. Majority of texture baking moved into LLVOAvatarSelf. Very WIP. Not advisable to build off of this, although it does compile and mostly work.
This commit is contained in:
@@ -231,10 +231,9 @@ void LLPreview::onCommit()
|
||||
// update the object itself.
|
||||
if( item->getType() == LLAssetType::AT_OBJECT )
|
||||
{
|
||||
LLVOAvatar* avatar = gAgentAvatarp;
|
||||
if( avatar )
|
||||
if( isAgentAvatarValid() )
|
||||
{
|
||||
LLViewerObject* obj = avatar->getWornAttachment( item->getUUID() );
|
||||
LLViewerObject* obj = gAgentAvatarp->getWornAttachment( item->getUUID() );
|
||||
if( obj )
|
||||
{
|
||||
LLSelectMgr::getInstance()->deselectAll();
|
||||
|
||||
Reference in New Issue
Block a user