Skip to content
Snippets Groups Projects
Commit 3b0832dd authored by Campbell Barton's avatar Campbell Barton
Browse files

Fix T39279: Vertex paint fails with mirror modifier

parent b4d259f0
No related branches found
No related tags found
No related merge requests found
......@@ -153,6 +153,10 @@ static void vpaint_proj_dm_map_cosnos_update__map_cb(void *userData, int index,
vp_handle->dists_sq[index] = dist_sq;
}
else if (vp_handle->dists_sq[index] != FLT_MAX) {
/* already initialized & couldn't project this 'co' */
return;
}
}
/* continue with regular functionality */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment