svn merge -r37793:37865 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender.git] / source / blender / editors / mesh / editmesh_mods.c
index a1a6e88fa0cd850c82c7794c78039250a35ac574..0f7538249bc64d2fc466e223417b6c4f774c866d 100644 (file)
@@ -868,7 +868,7 @@ static int similar_face_select_exec(bContext *C, wmOperator *op)
        Mesh *me= obedit->data;
        EditMesh *em= BKE_mesh_get_editmesh(me); 
 
-       int selcount = similar_face_select__internal(em, RNA_int_get(op->ptr, "type"), RNA_float_get(op->ptr, "threshold"));
+       int selcount = similar_face_select__internal(em, RNA_enum_get(op->ptr, "type"), RNA_float_get(op->ptr, "threshold"));
        
        if (selcount) {
                /* here was an edge-mode only select flush case, has to be generalized */