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

OJB Exporter: fixed a bug where models were flipped on the y axis when exporting for GZDoom

parent 5b8dc53e
No related branches found
No related tags found
No related merge requests found
......@@ -739,7 +739,7 @@ namespace CodeImp.DoomBuilder.BuilderModes.IO
{
double z = (group.Key.z - (data.NormalizeLowestVertex ? br.z : 0)) * data.Scale * 1.2f;
obj.Append(string.Format(CultureInfo.InvariantCulture, "v " + vertexFormatter, (group.Key.x - offset.x) * data.Scale, (group.Key.y - offset.y) * data.Scale, z));
obj.Append(string.Format(CultureInfo.InvariantCulture, "v " + vertexFormatter, (group.Key.x - offset.x) * data.Scale, -(group.Key.y - offset.y) * data.Scale, z));
}
}
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment