Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions indra/newview/lltoolpie.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1572,8 +1572,11 @@ bool LLToolPie::shouldAllowFirstMediaInteraction(const LLPickInfo& pick, bool mo
// Check if the object is owned by a friend of the agent
if(FirstClickPref & MEDIA_FIRST_CLICK_FRIEND)
{
LL_DEBUGS_ONCE() << "FirstClickPref & MEDIA_FIRST_CLICK_FRIEND. id: " << owner_id << LL_ENDL;
return LLAvatarTracker::instance().isBuddy(owner_id);
if(LLAvatarTracker::instance().isBuddy(owner_id))
{
LL_DEBUGS_ONCE() << "FirstClickPref & MEDIA_FIRST_CLICK_FRIEND. id: " << owner_id << LL_ENDL;
Copy link
Contributor

@akleshchev akleshchev Jul 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'debugs' and 'infos' options are the most usefull when they have a tag, so that instead of having to toggle 'debug' for multiple files individually, we can use log control to, as an example, turn on "MediaFirstClick' only and it will start working across multiple files.

return true;
}
}

// Check for objects set to or owned by the active group
Expand Down
Loading