diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-03-23 21:32:48 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-03-23 21:34:31 +0300 |
commit | 3ea1779365b577766a3d14a662f5cbd3bc81db53 (patch) | |
tree | 3fefb054bbcdb3bc5b783e028b35e8f82425b578 /source/blender/blenkernel/intern/object.c | |
parent | 3a68dcb1e61e2be5757b8e7f45fa8a21d5cfb46f (diff) |
Fix T86753: Connected Proportional editing with individual origins using different orientation than set
The problem happened when the selection only allowed "single_islands"
(only vertices are selected, no edges or faces).
The result of `is_zero_v3(v->no)` was erroneously being compared to `0.0f`
This commit corrects the wrong condition and optimizes it by adding a
earlier return when the islands don't need to be calculated.
(It also improves the code's readability by joining some variables in the
`struct TransIslandData`).
Diffstat (limited to 'source/blender/blenkernel/intern/object.c')
0 files changed, 0 insertions, 0 deletions