I've been having problems with trying to view people's profiles from the pie menu when right clicking their avatar. I traced the problem down to LLSelectMgr::removeObjectFromSelections() in newview/llselectmgr.cpp. What was happening is that if a kill object message was received between opening the pie menu and selecting an option the above mentioned function would remove any avatars from the current selection. According to the comment in the code it was doing this to deselect any avatars sitting on the object being removed but it didn't check to see if the avatar it was deselecting was actually sitting on the object in question. This was a problem because the handlers for the menu options used the selection manager to find out which object they needed to act upon. It appears to be a bug that was in the Linden Viewer1 but has been fixed in Viewer2, as the following line in that function:
else if (object->isAvatar())
now reads:
else if (object->isAvatar() && object->getParent() && ((LLViewerObject*)object->getParent())->mID == id)
I've made that change locally and it appears to be working for me now.
Users browsing this forum: No registered users and 2 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum