Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-10-23 09:33:42 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-10-23 09:33:42 +0400
commitc3b746fa7e4ddcddbe42f65bf9915db21fd75669 (patch)
treef0eac09cbc66fd8e0785918ed3e885c92cd2efb1 /source/blender/editors
parent292d1f55fdaebfb7c5fd69496f26ce2e1bc668eb (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.
Diffstat (limited to 'source/blender/editors')
-rw-r--r--source/blender/editors/transform/transform_constraints.c7
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;