summaryrefslogtreecommitdiff
path: root/indra/llmath/llvolume.cpp
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2014-11-28 18:17:54 +0200
committerruslantproductengine <ruslantproductengine@lindenlab.com>2014-11-28 18:17:54 +0200
commitb3c8a559f6e6f340286204328e250312b2e467c5 (patch)
treef430bccbaf2e0b83e9345fcd15ad1250a9bbbd41 /indra/llmath/llvolume.cpp
parent5a1f4ac1a71b8d604cbef5f9f42823b494f04a03 (diff)
MAINT-3494 FIXED Generate Normals checkbox does not control generation of normals.
Diffstat (limited to 'indra/llmath/llvolume.cpp')
-rwxr-xr-xindra/llmath/llvolume.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/llmath/llvolume.cpp b/indra/llmath/llvolume.cpp
index ee2d57a562..8d6b3b926c 100755
--- a/indra/llmath/llvolume.cpp
+++ b/indra/llmath/llvolume.cpp
@@ -2685,6 +2685,17 @@ void LLVolume::setMeshAssetLoaded(BOOL loaded)
mIsMeshAssetLoaded = loaded;
}
+void LLVolume::copyFacesTo(std::vector<LLVolumeFace> &faces) const
+{
+ faces = mVolumeFaces;
+}
+
+void LLVolume::copyFacesFrom(const std::vector<LLVolumeFace> &faces)
+{
+ mVolumeFaces = std::move(faces);
+ mSculptLevel = 0;
+}
+
void LLVolume::copyVolumeFaces(const LLVolume* volume)
{
mVolumeFaces = volume->mVolumeFaces;