ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
660 stars 76 forks source link

[feature request] Source SDK - more accurate vertex editing data stored into vmf. #792

Open marnamai opened 11 years ago

marnamai commented 11 years ago

When doing complex vertex editing (for example on an arch) and saving the file to vmf, then closing and reopening the file causes the vertices to go offgrid.

I believe this is caused when saving the file, the position data of the vertices is rounded down.

Here is an example: BEFORE archvertex_before_save AFTER archvertex_after_save

stevethepocket commented 11 years ago

I've had a similar experience. In one of my maps I have a jutted-out piece of wall with rounded corners, and previously they were set up to be snapped to half-unit marks by building it at doublesize and scaling it down. Every time I opened it up, the vertices no longer lined up with each other, or the grid, or anything else, and I would have to rebuild it. Eventually I gave up and just changed the corners to have fewer faces so I could keep the edges on the one-unit grid.