aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpolymesh.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpolymesh.cpp')
-rw-r--r--linden/indra/newview/llpolymesh.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llpolymesh.cpp b/linden/indra/newview/llpolymesh.cpp
index 2f3dfce..cf94142 100644
--- a/linden/indra/newview/llpolymesh.cpp
+++ b/linden/indra/newview/llpolymesh.cpp
@@ -4,6 +4,7 @@
4 * 4 *
5 * Copyright (c) 2001-2007, Linden Research, Inc. 5 * Copyright (c) 2001-2007, Linden Research, Inc.
6 * 6 *
7 * Second Life Viewer Source Code
7 * The source code in this file ("Source Code") is provided by Linden Lab 8 * The source code in this file ("Source Code") is provided by Linden Lab
8 * to you under the terms of the GNU General Public License, version 2.0 9 * to you under the terms of the GNU General Public License, version 2.0
9 * ("GPL"), unless you have obtained a separate licensing agreement 10 * ("GPL"), unless you have obtained a separate licensing agreement
@@ -745,7 +746,7 @@ LLPolyMesh *LLPolyMesh::getMesh(const LLString &name, LLPolyMesh* reference_mesh
745 // if not found, create a new one, add it to the list 746 // if not found, create a new one, add it to the list
746 //------------------------------------------------------------------------- 747 //-------------------------------------------------------------------------
747 char full_path[LL_MAX_PATH]; /*Flawfinder: ignore*/ 748 char full_path[LL_MAX_PATH]; /*Flawfinder: ignore*/
748 snprintf(full_path, LL_MAX_PATH, "%s", (gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,name.c_str())).c_str()); /*Flawfinder: ignore*/ 749 snprintf(full_path, LL_MAX_PATH, "%s", (gDirUtilp->getExpandedFilename(LL_PATH_CHARACTER,name.c_str())).c_str()); /* Flawfinder: ignore */
749 750
750 LLPolyMeshSharedData *mesh_data = new LLPolyMeshSharedData(); 751 LLPolyMeshSharedData *mesh_data = new LLPolyMeshSharedData();
751 if (reference_mesh) 752 if (reference_mesh)
@@ -823,7 +824,7 @@ void LLPolyMesh::dumpDiagInfo()
823 S32 num_faces = mesh.mNumFaces; 824 S32 num_faces = mesh.mNumFaces;
824 U32 num_kb = mesh.getNumKB(); 825 U32 num_kb = mesh.getNumKB();
825 826
826 snprintf(buf, sizeof(buf), "%8d %8d %8d %s", num_verts, num_faces, num_kb, mesh_name_p->c_str()); /*Flawfinder: ignore*/ 827 snprintf(buf, sizeof(buf), "%8d %8d %8d %s", num_verts, num_faces, num_kb, mesh_name_p->c_str()); /* Flawfinder: ignore */
827 llinfos << buf << llendl; 828 llinfos << buf << llendl;
828 829
829 total_verts += num_verts; 830 total_verts += num_verts;
@@ -832,7 +833,7 @@ void LLPolyMesh::dumpDiagInfo()
832 } 833 }
833 834
834 llinfos << "-----------------------------------------------------" << llendl; 835 llinfos << "-----------------------------------------------------" << llendl;
835 snprintf(buf, sizeof(buf), "%8d %8d %8d TOTAL", total_verts, total_faces, total_kb ); /*Flawfinder: ignore*/ 836 snprintf(buf, sizeof(buf), "%8d %8d %8d TOTAL", total_verts, total_faces, total_kb ); /* Flawfinder: ignore */
836 llinfos << buf << llendl; 837 llinfos << buf << llendl;
837 llinfos << "-----------------------------------------------------" << llendl; 838 llinfos << "-----------------------------------------------------" << llendl;
838} 839}