Fix stupid mistake in previous commit.
This commit is contained in:
parent
0be9d8db65
commit
b9db470636
|
@ -1994,7 +1994,7 @@ static void rna_def_object(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Material");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Object_active_material_get",
|
||||
"rna_Object_active_material_set", NULL, NULL);
|
||||
RNA_def_property_override_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_editable_func(prop, "rna_Object_active_material_editable");
|
||||
RNA_def_property_ui_text(prop, "Active Material", "Active material being displayed");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_MaterialSlot_update");
|
||||
|
|
Loading…
Reference in New Issue