diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-28 19:16:55 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-28 19:16:55 +0300 |
commit | 8a183aa26bc34fe441ba1ad3e5f2c307ed54f6b7 (patch) | |
tree | d8a9d768d1ce81f9afec943a700bc8575454533a /source/blender/makesrna/intern/rna_material.c | |
parent | 8c1c2b40a2131dc89e57ece3bc3b06c5a46f91d2 (diff) |
Cleanup: use BKE_texture_ prefix
Diffstat (limited to 'source/blender/makesrna/intern/rna_material.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_material.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_material.c b/source/blender/makesrna/intern/rna_material.c index 7a06b647ae3..874e861f75f 100644 --- a/source/blender/makesrna/intern/rna_material.c +++ b/source/blender/makesrna/intern/rna_material.c @@ -377,7 +377,7 @@ static EnumPropertyItem *rna_Material_texture_coordinates_itemf(bContext *UNUSED MTex *rna_mtex_texture_slots_add(ID *self_id, struct bContext *C, ReportList *reports) { - MTex *mtex = add_mtex_id(self_id, -1); + MTex *mtex = BKE_texture_mtex_add_id(self_id, -1); if (mtex == NULL) { BKE_reportf(reports, RPT_ERROR, "Maximum number of textures added %d", MAX_MTEX); return NULL; @@ -398,7 +398,7 @@ MTex *rna_mtex_texture_slots_create(ID *self_id, struct bContext *C, ReportList return NULL; } - mtex = add_mtex_id(self_id, index); + mtex = BKE_texture_mtex_add_id(self_id, index); /* for redraw only */ WM_event_add_notifier(C, NC_TEXTURE, CTX_data_scene(C)); |