Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/decimation')
-rw-r--r--intern/decimation/intern/LOD_ExternNormalEditor.cpp2
-rw-r--r--intern/decimation/intern/LOD_QSDecimator.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/intern/decimation/intern/LOD_ExternNormalEditor.cpp b/intern/decimation/intern/LOD_ExternNormalEditor.cpp
index 11818fc9f7c..7c9191b60c7 100644
--- a/intern/decimation/intern/LOD_ExternNormalEditor.cpp
+++ b/intern/decimation/intern/LOD_ExternNormalEditor.cpp
@@ -241,7 +241,7 @@ ComputeVertexNormal(
// average the face normals surrounding this
// vertex and normalize
- vector<LOD_Vertex> &verts = m_mesh.VertexSet();
+ // vector<LOD_Vertex> &verts = m_mesh.VertexSet(); /*unused*/
const vector<MT_Vector3> & face_normals = m_normals.Ref();
vector<LOD_FaceInd> vertex_faces;
diff --git a/intern/decimation/intern/LOD_QSDecimator.cpp b/intern/decimation/intern/LOD_QSDecimator.cpp
index 231f076a78c..a9fd5267c54 100644
--- a/intern/decimation/intern/LOD_QSDecimator.cpp
+++ b/intern/decimation/intern/LOD_QSDecimator.cpp
@@ -273,7 +273,7 @@ BuildHeap(
std::vector<int> & heap_vector = m_heap->HeapVector();
- for (int i = 0; i < edge_set.size(); ++i) {
+ for (unsigned int i = 0; i < edge_set.size(); ++i) {
edge_set[i].HeapPos() = i;
heap_vector.push_back(i);
}