forked from blender/blender
Add rating to object. #4
@ -3150,6 +3150,7 @@ static void rna_def_object(BlenderRNA *brna)
|
||||
{1, "GOOD", 0, "Good", "I like this one"},
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
prop = RNA_def_property(srna, "rating", PROP_ENUM, PROP_NONE);
|
||||
RNA_def_property_enum_items(prop, rating_items);
|
||||
RNA_def_property_ui_text(prop, "Rating", "Rating of the Object");
|
||||
|
Loading…
Reference in New Issue
Block a user