summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.h
diff options
context:
space:
mode:
authorRunitai Linden <davep@lindenlab.com>2021-10-14 13:02:40 -0500
committerRunitai Linden <davep@lindenlab.com>2021-10-14 13:02:40 -0500
commite7227afe0249806ceb1c8eef2dd6ca909eb394d3 (patch)
tree73f963dced3b069339f4d02f80a8559e1d6b270b /indra/newview/llvovolume.h
parentaa2169aa372492b3a5367997536fb6dfa89b74cf (diff)
SL-16166 Apply optimizations from pushBatch to other render call sites. Optimize out a map lookup in rigged face rendering.
Diffstat (limited to 'indra/newview/llvovolume.h')
-rw-r--r--indra/newview/llvovolume.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h
index ce400a3498..b8c6f47bbd 100644
--- a/indra/newview/llvovolume.h
+++ b/indra/newview/llvovolume.h
@@ -296,6 +296,9 @@ public:
BOOL setIsFlexible(BOOL is_flexible);
const LLMeshSkinInfo* getSkinInfo() const;
+
+ //convenience accessor for mesh ID (which is stored in sculpt id for legacy reasons)
+ const LLUUID& getMeshID() const { return getVolume()->getParams().getSculptID(); }
// Extended Mesh Properties
U32 getExtendedMeshFlags() const;