bugfix [#23523] OBJ Import still fails
mistake in own recent commit, texture type wasn't being set
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user