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_main_api.c | |
parent | 8c1c2b40a2131dc89e57ece3bc3b06c5a46f91d2 (diff) |
Cleanup: use BKE_texture_ prefix
Diffstat (limited to 'source/blender/makesrna/intern/rna_main_api.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_main_api.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index ed28b0b1255..1d232720fc5 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -461,8 +461,8 @@ static void rna_Main_fonts_remove(Main *bmain, ReportList *reports, PointerRNA * static Tex *rna_Main_textures_new(Main *bmain, const char *name, int type) { - Tex *tex = add_texture(bmain, name); - tex_set_type(tex, type); + Tex *tex = BKE_texture_add(bmain, name); + BKE_texture_type_set(tex, type); id_us_min(&tex->id); return tex; } |