diff options
author | Dave Parks <davep@lindenlab.com> | 2011-03-21 17:31:25 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-03-21 17:31:25 -0500 |
commit | 51a4867ae6bcf0ec71882ba77b1c995d98834126 (patch) | |
tree | fee42a26578ae8d73bb64bead703a6e2837d53f3 /indra/llprimitive | |
parent | a034ffd4b1af3560ae8498725bb96bd6f651ca48 (diff) |
SH-1168 Export upload data to disk on upload.
Diffstat (limited to 'indra/llprimitive')
-rwxr-xr-x | indra/llprimitive/llmodel.cpp | 1 | ||||
-rwxr-xr-x | indra/llprimitive/llmodel.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp index eed82f924b..3669fef0dc 100755 --- a/indra/llprimitive/llmodel.cpp +++ b/indra/llprimitive/llmodel.cpp @@ -60,6 +60,7 @@ LLModel::LLModel(LLVolumeParams& params, F32 detail) , mPelvisOffset( 0.0f ) { mDecompID = -1; + mLocalID = -1; } LLModel::~LLModel() diff --git a/indra/llprimitive/llmodel.h b/indra/llprimitive/llmodel.h index e9e33bdee5..addf527d8d 100755 --- a/indra/llprimitive/llmodel.h +++ b/indra/llprimitive/llmodel.h @@ -205,6 +205,9 @@ public: std::vector<LLVector3> mHullCenter; U32 mHullPoints; + //ID for storing this model in a .slm file + S32 mLocalID; + protected: void addVolumeFacesFromDomMesh(domMesh* mesh); virtual BOOL createVolumeFacesFromFile(const std::string& file_name); |