summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2021-10-15 01:01:51 +0000
committerDave Parks <davep@lindenlab.com>2021-10-15 01:01:51 +0000
commit02f813d17bcf4592f6425e207e9fe487275b9354 (patch)
treef1098b331df2ec42db671b5491f54d7bcbd74059 /indra/newview/llvovolume.h
parent851767b808c3cb05d718538389ccc1ed3c95d1a1 (diff)
parent08c767d231a9ed96fc8755a3426f992cb23a63b5 (diff)
SL-16166 Optimization pass on render pipe inner loops
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;