Cleanup: warnings

This commit is contained in:
Campbell Barton 2020-05-01 12:34:43 +10:00
parent 4d790516fb
commit 0cb53d4740
3 changed files with 4 additions and 3 deletions

View File

@ -25,6 +25,7 @@
#define __BKE_INTERN_MULTIRES_RESHAPE_H__
#include "BLI_sys_types.h"
#include "BKE_multires.h"
struct Depsgraph;

View File

@ -42,7 +42,7 @@
#include "multires_reshape.h"
void multires_subdivide_create_object_space_linear_grids(Mesh *mesh)
static void multires_subdivide_create_object_space_linear_grids(Mesh *mesh)
{
MDisps *mdisps = CustomData_get_layer(&mesh->ldata, CD_MDISPS);
const int totpoly = mesh->totpoly;

View File

@ -843,8 +843,8 @@ static BMesh *get_bmesh_from_mesh(Mesh *mesh)
}
/* Datalayer names to store the original indices of the elements before modifying the mesh. */
const static char lname[] = "l_remap_index";
const static char vname[] = "v_remap_index";
static const char lname[] = "l_remap_index";
static const char vname[] = "v_remap_index";
static void multires_unsubdivide_free_original_datalayers(Mesh *mesh)
{