diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-10-19 21:50:26 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-10-19 21:50:26 +0400 |
commit | 1f4d07fd199041726d2bb77eebe702bf3351b4e8 (patch) | |
tree | 594f1b148ee20d83e5758c767ce9a56b6b7d39f5 | |
parent | 401c185fbc80d2ab01de1789bdb02701aa1804f6 (diff) |
run flushTransParticles after snapping applyProject so you can project/snap particles in editmode
-rw-r--r-- | source/blender/editors/transform/transform_generics.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/source/blender/editors/transform/transform_generics.c b/source/blender/editors/transform/transform_generics.c index c2046621c3a..5372a9112c3 100644 --- a/source/blender/editors/transform/transform_generics.c +++ b/source/blender/editors/transform/transform_generics.c @@ -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; |