Various fixes in rna_*_api.c files to remove compiler warnings.
[blender.git] / source / blender / makesrna / intern / rna_object_api.c
index f0a42987848836a9787dfea1d563bf15e244e196..3c79c1cbc212ddf15be13137a8342d84a6a0ca12 100644 (file)
@@ -273,7 +273,7 @@ static void rna_Object_convert_to_triface(Object *ob, bContext *C, ReportList *r
                make_editMesh(sce, ob);
 
        /* select all */
-       EM_set_flag_all(me->edit_mesh, SELECT);
+       EM_select_all(me->edit_mesh);
 
        convert_to_triface(me->edit_mesh, 0);