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:
authorMartin Poirier <theeth@yahoo.com>2007-12-21 04:53:55 +0300
committerMartin Poirier <theeth@yahoo.com>2007-12-21 04:53:55 +0300
commit1a475f0dfc3c76021579c140c9840a61cc0bac11 (patch)
tree4d5ccb8210c8e8860400c4a715b5edab80c950ad /source/blender/src/transform_generics.c
parent6135f9710561d12640c8b5cb3b654237c80cf88f (diff)
== Transform feature test ==
Related to bug [#7792] ("Around Selection" user preference doesn't work for linked objects), this commit makes Linked objects be considered in Transform. This has a couple of effects: Linked objects are used to calculate the center of transformation and such but are skipped during the actual transformation. Linked objects can be used as orbiting targets (see previously mentionned bug). The offshot is that selecting a linked object and hitting G doesn't cancel immediately as it did before (this could eventually be worked around, but I don't think it's that much of a problem. Disagreeing people should express themselves).
Diffstat (limited to 'source/blender/src/transform_generics.c')
-rw-r--r--source/blender/src/transform_generics.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c
index d0ca1f4cd74..b24f9bea48d 100644
--- a/source/blender/src/transform_generics.c
+++ b/source/blender/src/transform_generics.c
@@ -190,8 +190,9 @@ static void clipMirrorModifier(TransInfo *t, Object *ob)
break;
if (td->loc==NULL)
break;
- if (td->flag & TD_SKIP)
- continue;
+
+ if (td->flag & TD_SKIP)
+ continue;
VecCopyf(loc, td->loc);
VecCopyf(iloc, td->iloc);