diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-05 12:22:43 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-06-05 12:22:43 +0300 |
commit | b9db470636fb77e0240061fb27301b42f05d271b (patch) | |
tree | 49c670f1ca1b728c4b65e07ea88005f96aac8a0c /source/blender/makesrna/intern/rna_object.c | |
parent | 0be9d8db6582e32d7f7f3b097be12b2763524157 (diff) |
Fix stupid mistake in previous commit.
Diffstat (limited to 'source/blender/makesrna/intern/rna_object.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_object.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object.c b/source/blender/makesrna/intern/rna_object.c index 1d1ee499100..398928901b8 100644 --- a/source/blender/makesrna/intern/rna_object.c +++ b/source/blender/makesrna/intern/rna_object.c @@ -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"); |