diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_meta.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_meta.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/source/blender/makesrna/intern/rna_meta.c b/source/blender/makesrna/intern/rna_meta.c index 472e776f500..5f95336af2d 100644 --- a/source/blender/makesrna/intern/rna_meta.c +++ b/source/blender/makesrna/intern/rna_meta.c @@ -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."); |