Cleanup: quiet warning building WITH_GMP=OFF

This commit is contained in:
Campbell Barton 2023-11-11 19:53:46 +11:00
parent 7d99be77f7
commit 8b4c9b294a

@ -67,6 +67,7 @@ static void node_init(bNodeTree * /*tree*/, bNode *node)
node->custom1 = GEO_NODE_BOOLEAN_DIFFERENCE;
}
#ifdef WITH_GMP
static Array<short> calc_mesh_material_map(const Mesh &mesh, VectorSet<Material *> &all_materials)
{
Array<short> map(mesh.totcol);
@ -76,6 +77,7 @@ static Array<short> calc_mesh_material_map(const Mesh &mesh, VectorSet<Material
}
return map;
}
#endif /* WITH_GMP */
static void node_geo_exec(GeoNodeExecParams params)
{