Bring 3dstocmod up to date with latest changes to Celestia's mesh code.

ver1_5_1
Chris Laurel 2004-07-08 11:15:34 +00:00
parent 8dad02c746
commit be7abdd419
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ Convert3DSMesh(Model& model,
material->opacity = material3ds->getOpacity();
if (material3ds->getTextureMap() != "")
{
material->tex0 = GetTextureManager()->getHandle(TextureInfo(material3ds->getTextureMap(), ".", TextureInfo::WrapTexture));
material->maps[Mesh::DiffuseMap] = GetTextureManager()->getHandle(TextureInfo(material3ds->getTextureMap(), ".", TextureInfo::WrapTexture));
}
}
}