se-blender icon indicating copy to clipboard operation
se-blender copied to clipboard

Automatic Blender Render texture slot 'Tex' of type 'None' interferes with the .mwm export

Open harag-on-steam opened this issue 9 years ago • 0 comments

Under circumstances unknown Blender sometimes creates a Blender Render texture slot with a texture named "Tex" that is of type None. In order for materials to work in SE there needs to be at least one texture of type Image in a texture slot. But because there already is a texture the addon assumes the user knows what he's doing and doesn't create its dummy image texture. This results in MwmBuilder not finding any materials on the meshes and black textures in the game.

Implement an additional check to see if the existing texture slots have at least one texture of type Image to decide if the dummy texture is necessary or not.

harag-on-steam avatar Oct 21 '15 17:10 harag-on-steam