diff options
author | Ton Roosendaal <ton@blender.org> | 2011-04-07 16:36:24 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2011-04-07 16:36:24 +0400 |
commit | 5c2b8baa4be7b8d2c9011d7a6d6ae22747918b19 (patch) | |
tree | 7ef26ebeaf6ca2c74ff2e4627d84ffff6a666dc9 | |
parent | 3e5e49d9025985e182f75f1c245cc508ee927976 (diff) |
Minor fix, own collection.
Knife cut operator was using int_get where enum_get was meant.
-rw-r--r-- | source/blender/editors/mesh/editmesh_loop.c | 2 |
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 */ |