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>2010-05-16 21:01:05 +0400
committerMartin Poirier <theeth@yahoo.com>2010-05-16 21:01:05 +0400
commitb65cc25be3828c6e01b9bd5cbd9d6c003c4e455f (patch)
treeeac20ab2b0284f6f6024b0cbc77f6fce56493161 /source/blender/editors/transform/transform_orientations.c
parentce6e6112eb81892c8c179c8502ffa8ca17b57f46 (diff)
[#22114] Manipulator Transform Orientation not respected
Potential fix (the error would explain the gimbal case, not the normal case. Also, it doesn't explain why it worked from time to time on other platforms).
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index e18f7fc05ce..e926762709d 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -517,6 +517,7 @@ void initTransformOrientation(bContext *C, TransInfo *t)
case V3D_MANIP_GIMBAL:
unit_m3(t->spacemtx);
if (gimbal_axis(ob, t->spacemtx)) {
+ strcpy(t->spacename, "gimbal");
break;
}
/* no gimbal fallthrough to normal */