summaryrefslogtreecommitdiff
path: root/indra/llprimitive
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llprimitive')
-rw-r--r--indra/llprimitive/llmodel.cpp3
-rw-r--r--indra/llprimitive/llmodel.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index 9e3d9704ae..d1e89a1ba5 100644
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -1724,4 +1724,7 @@ LLModel::weight_list& LLModel::getJointInfluences(const LLVector3& pos)
}
}
+void LLModel::setPhysicsShape(const LLModel::physics_shape& shape)
+{
+ mPhysicsShape = shape;
diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h
index e6696b984f..ec21ef2fcd 100644
--- a/indra/llprimitive/llmodel.h
+++ b/indra/llprimitive/llmodel.h
@@ -160,6 +160,7 @@ public:
//physics shape
physics_shape mPhysicsShape;
+ void setPhysicsShape(const physics_shape& shape);
LLVector3 mPhysicsCenter;
std::vector<LLVector3> mHullCenter;