diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-26 18:44:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-26 18:44:25 +0400 |
commit | 2f1faee438b4b8afbbe1e9a8bae6cf1b9df2a7f2 (patch) | |
tree | d1bebf51c786bf033067778aada4a6ce3aaa2b8a | |
parent | df04f94b50b65bdec5dbcb4315fc263b30fbb338 (diff) |
bugfix [#23523] OBJ Import still fails
mistake in own recent commit, texture type wasn't being set
-rw-r--r-- | source/blender/makesrna/intern/rna_main_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_main_api.c b/source/blender/makesrna/intern/rna_main_api.c index 4745b88452b..72ed625e5aa 100644 --- a/source/blender/makesrna/intern/rna_main_api.c +++ b/source/blender/makesrna/intern/rna_main_api.c @@ -351,6 +351,7 @@ void rna_Main_fonts_remove(Main *bmain, ReportList *reports, VFont *vfont) Tex *rna_Main_textures_new(Main *bmain, char* name, int type) { Tex *tex= add_texture(name); + tex_set_type(tex, type); tex->id.us--; return tex; } |