THE BIGGIE.
Holy hell, this was an interesting one to implement. I wish I understood it better. Unfortunately I think this marks the end of trying to re-implement the Local Inventory for Temp and Local textures. It's just not feasible now that the entire inventory system has been whipped into a code shitstorm. Signed-off-by: Beeks <HgDelirium@gmail.com>
This commit is contained in:
@@ -170,11 +170,16 @@ void ScriptCounter::serializeSelection(bool delScript)
|
||||
LLViewerJointAttachment* attachment = iter->second;
|
||||
if (!attachment->getValid())
|
||||
continue ;
|
||||
LLViewerObject* object = attachment->getObject();
|
||||
if(object)
|
||||
for (LLViewerJointAttachment::attachedobjs_vec_t::iterator attachment_iter = attachment->mAttachedObjects.begin();
|
||||
attachment_iter != attachment->mAttachedObjects.end();
|
||||
++attachment_iter)
|
||||
{
|
||||
objectArray.put(object);
|
||||
objectCount++;
|
||||
LLViewerObject *attached_object = (*attachment_iter);
|
||||
if (attached_object)
|
||||
{
|
||||
objectArray.put(attached_object);
|
||||
objectCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user