bugfix [#23523] OBJ Import still fails

mistake in own recent commit, texture type wasn't being set
This commit is contained in:
2010-08-26 14:44:25 +00:00
parent df04f94b50
commit 2f1faee438

View File

@@ -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;
}