diff options
Diffstat (limited to 'intern')
-rwxr-xr-x | intern/bsp/intern/BSP_CSGMesh.cpp | 3 | ||||
-rwxr-xr-x | intern/bsp/intern/BSP_FragTree.cpp | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/intern/bsp/intern/BSP_CSGMesh.cpp b/intern/bsp/intern/BSP_CSGMesh.cpp index a1da3d544ab..ea0d4f0164a 100755 --- a/intern/bsp/intern/BSP_CSGMesh.cpp +++ b/intern/bsp/intern/BSP_CSGMesh.cpp @@ -156,8 +156,6 @@ AddPolygon( if (verts == NULL || num_verts <3) return; - const int vertex_num = m_verts->size(); - // make a polyscone from these vertex indices. const BSP_FaceInd fi = m_faces->size(); @@ -203,7 +201,6 @@ AddSubTriangle( ){ // This creates a new polygon on the end of the face list. - const BSP_FaceInd fi = m_faces->size(); m_faces->push_back(BSP_MFace()); BSP_MFace & face = m_faces->back(); diff --git a/intern/bsp/intern/BSP_FragTree.cpp b/intern/bsp/intern/BSP_FragTree.cpp index 21a3e286447..91a901bf879 100755 --- a/intern/bsp/intern/BSP_FragTree.cpp +++ b/intern/bsp/intern/BSP_FragTree.cpp @@ -177,7 +177,6 @@ Build( // choose a plane for the node. The first index in this // mesh fragment will do for now. - vector<BSP_MVertex> & verts = m_mesh->VertexSet(); // choose a random splitting plane @@ -233,7 +232,6 @@ Push( // fragment onto the output vector<BSP_FaceInd>::const_iterator in_frag_it = in_frag->FaceSet().begin(); vector<BSP_FaceInd>::const_iterator in_frag_end = in_frag->FaceSet().end(); - vector<BSP_MFace>::iterator faces = in_frag->Mesh()->FaceSet().begin(); if (keep == current || current == e_classified_on) { for (;in_frag_it != in_frag_end; ++ in_frag_it) { |