Cloth didn't update properly in particle mode. Don't understand why the particle mode check was there to begin with, but if removing it causes trouble later on some other solution can be figured out.

This commit is contained in:
2009-08-29 21:52:57 +00:00
parent 7a56228343
commit c6ccf5fd2e

View File

@@ -2077,7 +2077,7 @@ static void clear_mesh_caches(Object *ob)
static void mesh_build_data(Scene *scene, Object *ob, CustomDataMask dataMask)
{
Object *obact = scene->basact?scene->basact->object:NULL;
int editing = paint_facesel_test(ob)|(ob && ob->mode & OB_MODE_PARTICLE_EDIT);
int editing = paint_facesel_test(ob);
int needMapping = editing && (ob==obact);
float min[3], max[3];