blender-v3.6-release backports #109694
|
@ -382,6 +382,10 @@ void RNA_def_property_array(PropertyRNA *prop, int length);
|
|||
void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[]);
|
||||
void RNA_def_property_range(PropertyRNA *prop, double min, double max);
|
||||
|
||||
/**
|
||||
* \param item: An array of enum properties terminated by null members.
|
||||
* \warning take care not to reference stack memory as the reference to `item` is held by `prop`.
|
||||
*/
|
||||
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item);
|
||||
void RNA_def_property_enum_native_type(PropertyRNA *prop, const char *native_enum_type);
|
||||
void RNA_def_property_string_maxlength(PropertyRNA *prop, int maxlength);
|
||||
|
|
|
@ -2942,7 +2942,7 @@ static void rna_def_property(BlenderRNA *brna)
|
|||
{
|
||||
StructRNA *srna;
|
||||
PropertyRNA *prop;
|
||||
EnumPropertyItem dummy_prop_tags[] = {
|
||||
static const EnumPropertyItem dummy_prop_tags[] = {
|
||||
{0, NULL, 0, NULL, NULL},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue