diff options
| author | Rye <rye@alchemyviewer.org> | 2026-01-02 09:50:59 -0500 |
|---|---|---|
| committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2026-01-05 18:24:37 +0200 |
| commit | 647b26d7b75644f97b2d9afcb1a11f677ae107f5 (patch) | |
| tree | 75b8ced1210b879bea1718d71ae964237ec21dfe /indra/newview/lllocalbitmaps.cpp | |
| parent | 47b8fb780ef078d62c125821a6143a56e9b0280d (diff) | |
Optimize away repeated map finds for getParameterEntry* functions via pointers
Signed-off-by: Rye <rye@alchemyviewer.org>
Diffstat (limited to 'indra/newview/lllocalbitmaps.cpp')
| -rw-r--r-- | indra/newview/lllocalbitmaps.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lllocalbitmaps.cpp b/indra/newview/lllocalbitmaps.cpp index 6e56aac270..1329b1308d 100644 --- a/indra/newview/lllocalbitmaps.cpp +++ b/indra/newview/lllocalbitmaps.cpp @@ -596,7 +596,7 @@ void LLLocalBitmap::updateUserVolumes(LLUUID old_id, LLUUID new_id, U32 channel) if (object->isSculpted() && object->getVolume() && object->getVolume()->getParams().getSculptID() == old_id) { - LLSculptParams* old_params = (LLSculptParams*)object->getParameterEntry(LLNetworkData::PARAMS_SCULPT); + LLSculptParams* old_params = object->getSculptParams(); LLSculptParams new_params(*old_params); new_params.setSculptTexture(new_id, (*old_params).getSculptType()); object->setParameterEntry(LLNetworkData::PARAMS_SCULPT, new_params, true); |
