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>2012-02-22 18:55:12 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-02-22 18:55:12 +0400
commitdf83ce61bc324115faa7c8b55e17fccbde071191 (patch)
tree2aa53cc288d1efa60df847a0102d4ed6e84d2da0
parentedab2e4b3d44f193441e480a06d4d009d006b40d (diff)
fix 2 small bugs
* Ctrl+Click extrude wasnt normalizing the quaternion (was printing warnings) * bmesh bevel was supposed to add a float layer and remove, but removing passed the mask define of the customdata layer.
-rw-r--r--source/blender/editors/mesh/bmesh_tools.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/bmesh_tools.c b/source/blender/editors/mesh/bmesh_tools.c
index aa5b092322e..ba34eb40fa3 100644
--- a/source/blender/editors/mesh/bmesh_tools.c
+++ b/source/blender/editors/mesh/bmesh_tools.c
@@ -824,6 +824,7 @@ static int dupli_extrude_cursor(bContext *C, wmOperator *op, wmEvent *event)
q1[1] = cross[0] * si;
q1[2] = cross[1] * si;
q1[3] = cross[2] * si;
+ normalize_qt(q1);
quat_to_mat3(mat, q1);
}
}
@@ -4519,7 +4520,7 @@ static int mesh_bevel_exec(bContext *C, wmOperator *op)
return OPERATOR_CANCELLED;
}
- BM_data_layer_free_n(em->bm, &em->bm->edata, CD_MASK_PROP_FLT, li);
+ BM_data_layer_free_n(em->bm, &em->bm->edata, CD_PROP_FLT, li);
MEM_freeN(w);