diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-03-12 14:52:43 +0400 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-03-12 14:54:49 +0400 |
commit | 2cbbaea44e1689230a8d2632dfd538642e0eee05 (patch) | |
tree | 99e8f4dc37e78f0c5ae335081c94411dd9adf914 /source/blender/editors/physics/particle_edit.c | |
parent | 7b03eb56bdc61150681bc6bc29f41160923096a6 (diff) |
Fix for particle edit mode using wrong pixel distances.
rB57dba739176153e052d77611ff0e554f05984686 unified pixel distance values
but omitted a factor 100 for particle edit.
Diffstat (limited to 'source/blender/editors/physics/particle_edit.c')
-rw-r--r-- | source/blender/editors/physics/particle_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c index 2fb131db538..0dee36d31cd 100644 --- a/source/blender/editors/physics/particle_edit.c +++ b/source/blender/editors/physics/particle_edit.c @@ -915,7 +915,7 @@ static void pe_deflect_emitter(Scene *scene, Object *ob, PTCacheEdit *edit) int index; float *vec, *nor, dvec[3], dot, dist_1st=0.0f; float hairimat[4][4], hairmat[4][4]; - const float dist = ED_view3d_select_dist_px(); + const float dist = ED_view3d_select_dist_px() * 0.01f; if (edit==NULL || edit->psys==NULL || (pset->flag & PE_DEFLECT_EMITTER)==0 || (edit->psys->flag & PSYS_GLOBAL_HAIR)) return; |