Fix stupid mistake in previous commit 'cleanup' part.

Thanks to sergey for spotting it.
This commit is contained in:
Bastien Montagne
2016-08-30 21:08:11 +02:00
parent a0cdebde11
commit c5a66b7872

View File

@@ -2197,8 +2197,9 @@ Mesh *BKE_mesh_new_from_object(
{
Mesh *tmpmesh;
Curve *tmpcu = NULL, *copycu;
bool render = settings == eModifierMode_Render, i;
bool cage = !apply_modifiers;
int i;
const bool render = (settings == eModifierMode_Render);
const bool cage = !apply_modifiers;
bool do_mat_id_us = true;
/* perform the mesh extraction based on type */