diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-10-23 09:33:42 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-10-23 09:33:42 +0400 |
commit | c3b746fa7e4ddcddbe42f65bf9915db21fd75669 (patch) | |
tree | f0eac09cbc66fd8e0785918ed3e885c92cd2efb1 | |
parent | 292d1f55fdaebfb7c5fd69496f26ce2e1bc668eb (diff) |
fix [#37179] All transformation normals drawn when proportional edit, individual origins and normal transform orientation are set
thanks to psy-fi for the initial patch.
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index a73bf86feb1..4580bbefc96 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -792,6 +792,13 @@ static void drawObjectConstraint(TransInfo *t) float co[3]; float (*axismtx)[3]; + if (t->flag & T_PROP_EDIT) { + /* we're sorted, so skip the rest */ + if (td->factor == 0.0f) { + break; + } + } + if (t->flag & T_OBJECT) { copy_v3_v3(co, td->ob->obmat[3]); axismtx = td->axismtx; |