Bring 3dstocmod up to date with latest changes to Celestia's mesh code.
parent
8dad02c746
commit
be7abdd419
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue