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>2009-03-06 18:50:15 +0300
committerMartin Poirier <theeth@yahoo.com>2009-03-06 18:50:15 +0300
commitc07acfb4fd100cd3e4eb2ac12b0941ce6c9575e1 (patch)
treec9a5dc8f4439ce0305b08bf49dd3c1c724fbccfc /source/blender/editors/transform/transform_orientations.c
parentaeef01559ef1ded236475344e0be1d88028d7c24 (diff)
Transform fun
extracting params in split transform operators. work in progress still, but lots of fun with operator replay (F6)
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r--source/blender/editors/transform/transform_orientations.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c
index fd1db9e1984..459d4014d6a 100644
--- a/source/blender/editors/transform/transform_orientations.c
+++ b/source/blender/editors/transform/transform_orientations.c
@@ -454,9 +454,9 @@ void initTransformOrientation(bContext *C, TransInfo *t)
float normal[3]={0.0, 0.0, 0.0};
float plane[3]={0.0, 0.0, 0.0};
- if(v3d==NULL) return;
+ if(t->spacetype != SPACE_VIEW3D) return;
- switch(v3d->twmode) {
+ switch(t->current_orientation) {
case V3D_MANIP_GLOBAL:
strcpy(t->spacename, "global");
break;