diff --git a/source/blender/editors/sculpt_paint/sculpt_boundary.cc b/source/blender/editors/sculpt_paint/sculpt_boundary.cc index 964633d988d..ce47e6c97cf 100644 --- a/source/blender/editors/sculpt_paint/sculpt_boundary.cc +++ b/source/blender/editors/sculpt_paint/sculpt_boundary.cc @@ -7,7 +7,6 @@ #include "MEM_guardedalloc.h" -#include "BLI_edgehash.h" #include "BLI_math.h" #include "BLI_task.h" @@ -199,7 +198,6 @@ static bool sculpt_boundary_is_vertex_in_editable_boundary(SculptSession *ss, struct BoundaryFloodFillData { SculptBoundary *boundary; GSet *included_verts; - EdgeSet *preview_edges; PBVHVertRef last_visited_vertex; }; diff --git a/source/blender/io/collada/MeshImporter.h b/source/blender/io/collada/MeshImporter.h index eab9ef7cb8f..7b4188785fd 100644 --- a/source/blender/io/collada/MeshImporter.h +++ b/source/blender/io/collada/MeshImporter.h @@ -83,7 +83,7 @@ class MeshImporter : public MeshImporterBase { struct Primitive { int poly_index; int *material_indices; - unsigned int totpoly; + uint totpoly; }; typedef std::map> MaterialIdPrimitiveArrayMap; /* crazy name! */ @@ -94,7 +94,7 @@ class MeshImporter : public MeshImporterBase { bool set_poly_indices(int *poly_verts, int loop_index, - const unsigned int *indices, + const uint *indices, int loop_count); void set_face_uv(blender::float2 *mloopuv, @@ -140,9 +140,7 @@ class MeshImporter : public MeshImporterBase { */ static void mesh_add_edges(Mesh *mesh, int len); - unsigned int get_loose_edge_count(COLLADAFW::Mesh *mesh); - - CustomData create_edge_custom_data(EdgeHash *eh); + uint get_loose_edge_count(COLLADAFW::Mesh *mesh); /** * Return the number of faces by summing up @@ -168,11 +166,11 @@ class MeshImporter : public MeshImporterBase { * So this function MUST be called after read_faces() (see below) */ void read_lines(COLLADAFW::Mesh *mesh, Mesh *me); - unsigned int get_vertex_count(COLLADAFW::Polygons *mp, int index); + uint get_vertex_count(COLLADAFW::Polygons *mp, int index); void get_vector(float v[3], COLLADAFW::MeshVertexData &arr, int i, int stride); - bool is_flat_face(unsigned int *nind, COLLADAFW::MeshVertexData &nor, int count); + bool is_flat_face(uint *nind, COLLADAFW::MeshVertexData &nor, int count); /** * Returns the list of Users of the given Mesh object.