run flushTransParticles after snapping applyProject so you can project/snap particles in editmode

This commit is contained in:
2009-10-19 17:50:26 +00:00
parent 401c185fbc
commit 1f4d07fd19

View File

@@ -343,11 +343,6 @@ void recalcData(TransInfo *t)
Scene *scene = t->scene;
Base *base = scene->basact;
if (t->obedit) {
}
else if(base && (base->object->mode & OB_MODE_PARTICLE_EDIT) && PE_get_current(scene, base->object)) {
flushTransParticles(t);
}
if (t->spacetype==SPACE_NODE) {
flushTransNodes(t);
}
@@ -777,6 +772,9 @@ void recalcData(TransInfo *t)
else
where_is_pose(scene, ob);
}
else if(base && (base->object->mode & OB_MODE_PARTICLE_EDIT) && PE_get_current(scene, base->object)) {
flushTransParticles(t);
}
else {
for(base= FIRSTBASE; base; base= base->next) {
Object *ob= base->object;