summaryrefslogtreecommitdiff
path: root/indra/llvfs/llvfs.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-06-10 00:45:48 -0500
committerDave Parks <davep@lindenlab.com>2010-06-10 00:45:48 -0500
commitf9b13d8f8510b1f7f02fcf92685471461b79858e (patch)
tree72e3469605fb33aedc211649778c22ada2719d5c /indra/llvfs/llvfs.cpp
parentc2da9f5d2cc86af0af34199c53e872fbff22637b (diff)
Add "LL_MESH_ENABLED" preprocessor flag for toggling mesh code. Couple of merge fixes.
Diffstat (limited to 'indra/llvfs/llvfs.cpp')
-rw-r--r--indra/llvfs/llvfs.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llvfs/llvfs.cpp b/indra/llvfs/llvfs.cpp
index ddb76fb2ba..2b01288fd7 100644
--- a/indra/llvfs/llvfs.cpp
+++ b/indra/llvfs/llvfs.cpp
@@ -2041,9 +2041,11 @@ std::string get_extension(LLAssetType::EType type)
case LLAssetType::AT_ANIMATION:
extension = ".lla";
break;
+#if LL_MESH_ENABLED
case LLAssetType::AT_MESH:
extension = ".slm";
break;
+#endif
default:
// Just use the asset server filename extension in most cases
extension += ".";