resolve glitch in the image space where mask editing and UVs would conflict.
[blender.git] / source / blender / makesrna / intern / rna_object_api.c
index 0fefc4c89fb14e910f3652df356312c3a6443944..5cabc328778ff2f00ac19d87978f2a4ce8801497 100644 (file)
@@ -126,7 +126,7 @@ Mesh *rna_Object_to_mesh(Object *ob, ReportList *reports, Scene *sce, int apply_
                        }
 
                        /* convert object type to mesh */
-                       BKE_mesh_from_nurbs_displist(tmpobj, &dispbase, uv_from_orco ? &orco_index : NULL);
+                       BKE_mesh_from_nurbs_displist(tmpobj, &dispbase, uv_from_orco ? (int **)&orco_index : NULL);
 
                        tmpmesh = tmpobj->data;