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:
authorTon Roosendaal <ton@blender.org>2011-04-07 16:36:24 +0400
committerTon Roosendaal <ton@blender.org>2011-04-07 16:36:24 +0400
commit5c2b8baa4be7b8d2c9011d7a6d6ae22747918b19 (patch)
tree7ef26ebeaf6ca2c74ff2e4627d84ffff6a666dc9 /source/blender/editors/mesh
parent3e5e49d9025985e182f75f1c245cc508ee927976 (diff)
Minor fix, own collection.
Knife cut operator was using int_get where enum_get was meant.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_loop.c b/source/blender/editors/mesh/editmesh_loop.c
index 5454b34b374..72e9e3b6d9e 100644
--- a/source/blender/editors/mesh/editmesh_loop.c
+++ b/source/blender/editors/mesh/editmesh_loop.c
@@ -624,7 +624,7 @@ static int knife_cut_exec(bContext *C, wmOperator *op)
float *scr, co[4];
int len=0;
short numcuts= RNA_int_get(op->ptr, "num_cuts");
- short mode= RNA_int_get(op->ptr, "type");
+ short mode= RNA_enum_get(op->ptr, "type");
// int corner_cut_pattern= RNA_enum_get(op->ptr,"corner_cut_pattern");
/* edit-object needed for matrix, and ar->regiondata for projections to work */