From ad89d26dc676dc090e58a3457d62bccbd7dc7e21 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Fri, 24 May 2013 12:55:52 -0400 Subject: norspec-107: remove the need for a friend declaration in local textures --- indra/newview/lllocalbitmaps.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'indra/newview/lllocalbitmaps.cpp') diff --git a/indra/newview/lllocalbitmaps.cpp b/indra/newview/lllocalbitmaps.cpp index 724c7cca0f..2d9385390b 100755 --- a/indra/newview/lllocalbitmaps.cpp +++ b/indra/newview/lllocalbitmaps.cpp @@ -485,10 +485,8 @@ void LLLocalBitmap::updateUserPrims(LLUUID old_id, LLUUID new_id, U32 channel) } if (update_mat) - { // i had to make LLLocalBitmap friend of LLVOVolume for this, - // i realize it might seem somewhat hacky, but it's also simple. - // will gladly accept a better solution though. - object->mDrawable->getVOVolume()->mFaceMappingChanged = TRUE; + { + object->mDrawable->getVOVolume()->faceMappingChanged(); } } } -- cgit v1.2.3