RNA
[blender.git] / source / blender / makesrna / intern / rna_meta.c
index 472e776f500a6954d7c6b623ce3ad9c4ab37cd09..5f95336af2d560c7bf2a01be79f4f6a17e3c3908 100644 (file)
@@ -47,12 +47,12 @@ void rna_def_metaelement(BlenderRNA *brna)
        StructRNA *srna;
        PropertyRNA *prop;
        static EnumPropertyItem prop_type_items[] = {
-               {MB_BALL, "BALL", "Ball", ""},
-               {MB_TUBE, "TUBE", "Tube", ""},
-               {MB_PLANE, "PLANE", "Plane", ""},
-               {MB_ELIPSOID, "ELLIPSOID", "Ellipsoid", ""}, // NOTE: typo at original definition!
-               {MB_CUBE, "CUBE", "Cube", ""},
-               {0, NULL, NULL, NULL}};
+               {MB_BALL, "BALL", 0, "Ball", ""},
+               {MB_TUBE, "TUBE", 0, "Tube", ""},
+               {MB_PLANE, "PLANE", 0, "Plane", ""},
+               {MB_ELIPSOID, "ELLIPSOID", 0, "Ellipsoid", ""}, // NOTE: typo at original definition!
+               {MB_CUBE, "CUBE", 0, "Cube", ""},
+               {0, NULL, 0, NULL, NULL}};
        
        srna= RNA_def_struct(brna, "MetaElement", NULL);
        RNA_def_struct_sdna(srna, "MetaElem");
@@ -105,11 +105,11 @@ void rna_def_metaball(BlenderRNA *brna)
        StructRNA *srna;
        PropertyRNA *prop;
        static EnumPropertyItem prop_update_items[] = {
-               {MB_UPDATE_ALWAYS, "UPDATE_ALWAYS", "Always", "While editing, update metaball always."},
-               {MB_UPDATE_HALFRES, "HALFRES", "Half Resolution", "While editing, update metaball in half resolution."},
-               {MB_UPDATE_FAST, "FAST", "Fast", "While editing, update metaball without polygonization."},
-               {MB_UPDATE_NEVER, "NEVER", "Never", "While editing, don't update metaball at all."},
-               {0, NULL, NULL, NULL}};
+               {MB_UPDATE_ALWAYS, "UPDATE_ALWAYS", 0, "Always", "While editing, update metaball always."},
+               {MB_UPDATE_HALFRES, "HALFRES", 0, "Half Resolution", "While editing, update metaball in half resolution."},
+               {MB_UPDATE_FAST, "FAST", 0, "Fast", "While editing, update metaball without polygonization."},
+               {MB_UPDATE_NEVER, "NEVER", 0, "Never", "While editing, don't update metaball at all."},
+               {0, NULL, 0, NULL, NULL}};
        
        srna= RNA_def_struct(brna, "MetaBall", "ID");
        RNA_def_struct_ui_text(srna, "MetaBall", "Metaball datablock to defined blobby surfaces.");