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-11-26 04:52:48 +0300
committerMartin Poirier <theeth@yahoo.com>2007-11-26 04:52:48 +0300
commit121dab1bcd9467bd8e11d0a82e83a1621758fd8e (patch)
tree65e16dcee40385dd5c92878fdda6ce0ca28fce02 /source/blender/src/transform_generics.c
parenta29f08272808dd0a6101943abe1f90e7718de48e (diff)
Fixes for some long standing transform bugs.
- [#6112] is this an extrusion bug? When extruding, x-mirror was giving weird behavior since the extruded vertice could match with their non-extruded counterpart on the other side. The solution is to disable x-mirror (with a transform context flag, like disabling PET) in that case. - External constraint setup calls (BIF_*) didn't setup some internal structs properly. For the user, this resulted in some transform (extrude particularly) showing a full 3d vector in the header instead of a scalar along the constraint axis (this messed up num input a bit too, you could type values in unused axis).
Diffstat (limited to 'source/blender/src/transform_generics.c')
-rw-r--r--source/blender/src/transform_generics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c
index 72937fb10b6..a22d8ccdbf9 100644
--- a/source/blender/src/transform_generics.c
+++ b/source/blender/src/transform_generics.c
@@ -377,7 +377,7 @@ void recalcData(TransInfo *t)
if(t->state != TRANS_CANCEL)
clipMirrorModifier(t, G.obedit);
- if(G.scene->toolsettings->editbutflag & B_MESH_X_MIRROR)
+ if((t->context & CTX_NO_MIRROR) == 0 && (G.scene->toolsettings->editbutflag & B_MESH_X_MIRROR))
editmesh_apply_to_mirror(t);
DAG_object_flush_update(G.scene, G.obedit, OB_RECALC_DATA); /* sets recalc flags */