RNA
[blender.git] / source / blender / editors / uvedit / uvedit_unwrap_ops.c
index 27d0c68ec36602c8b85835e256feb80d9003b9fc..95467d13e8daa6bb92d1b2902a6b63f2d0ba4794 100644 (file)
@@ -639,15 +639,15 @@ static void uv_map_transform(bContext *C, wmOperator *op, float center[3], float
 static void uv_transform_properties(wmOperatorType *ot, int radius)
 {
        static EnumPropertyItem direction_items[]= {
-               {VIEW_ON_EQUATOR, "VIEW_ON_EQUATOR", "View on Equator", "3D view is on the equator."},
-               {VIEW_ON_POLES, "VIEW_ON_POLES", "View on Poles", "3D view is on the poles."},
-               {ALIGN_TO_OBJECT, "ALIGN_TO_OBJECT", "Align to Object", "Align according to object transform."},
-               {0, NULL, NULL, NULL}
+               {VIEW_ON_EQUATOR, "VIEW_ON_EQUATOR", 0, "View on Equator", "3D view is on the equator."},
+               {VIEW_ON_POLES, "VIEW_ON_POLES", 0, "View on Poles", "3D view is on the poles."},
+               {ALIGN_TO_OBJECT, "ALIGN_TO_OBJECT", 0, "Align to Object", "Align according to object transform."},
+               {0, NULL, 0, NULL, NULL}
        };
        static EnumPropertyItem align_items[]= {
-               {POLAR_ZX, "POLAR_ZX", "Polar ZX", "Polar 0 is X."},
-               {POLAR_ZY, "POLAR_ZY", "Polar ZY", "Polar 0 is Y."},
-               {0, NULL, NULL, NULL}
+               {POLAR_ZX, "POLAR_ZX", 0, "Polar ZX", "Polar 0 is X."},
+               {POLAR_ZY, "POLAR_ZY", 0, "Polar ZY", "Polar 0 is Y."},
+               {0, NULL, 0, NULL, NULL}
        };
 
        RNA_def_enum(ot->srna, "direction", direction_items, VIEW_ON_EQUATOR, "Direction", "Direction of the sphere or cylinder.");
@@ -820,9 +820,9 @@ static int unwrap_exec(bContext *C, wmOperator *op)
 void UV_OT_unwrap(wmOperatorType *ot)
 {
        static EnumPropertyItem method_items[] = {
-               {0, "ANGLE_BASED", "Angle Based", ""},
-               {1, "CONFORMAL", "Conformal", ""},
-               {0, NULL, NULL, NULL}};
+               {0, "ANGLE_BASED", 0, "Angle Based", ""},
+               {1, "CONFORMAL", 0, "Conformal", ""},
+               {0, NULL, 0, NULL, NULL}};
 
        /* identifiers */
        ot->name= "Unwrap";