Skip to content
Snippets Groups Projects
Commit 9d8ddfad authored by biwa's avatar biwa
Browse files

OBJ Exporter: fixed a problem where the wrong textures were used on 3D floors...

OBJ Exporter: fixed a problem where the wrong textures were used on 3D floors when they have the "use upper/lower texture" flag set
parent 7834bd1f
Branches
Tags v0.4
No related merge requests found
......@@ -513,7 +513,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.IO
foreach(VisualMiddle3D m3d in part.middle3d)
{
if(m3d.Vertices == null) continue;
texture = m3d.GetControlLinedef().Front.MiddleTexture;
texture = m3d.GetTextureName();
if (!skipTextures.Contains(texture))
{
CheckTextureName(ref texturegeo, ref texture);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment