jdolan / quetoo

Quetoo ("Q2") is a free first person shooter based on id Tech2. GPL v2 license.
http://quetoo.org
204 stars 28 forks source link

cl_editor / materials editor should write the actual materials file #572

Closed jdolan closed 3 years ago

jdolan commented 4 years ago

The cl_editor / materials editor currently saves the modified materials definitions to maps/${map}-1234.mat. The random numeric suffix dates back to when stages were not fully supported by Cm_WriteMaterial, and saving materials to file was lossy. Now that materials and stages are correctly serialized, we can and should simply write the actual maps/${map}.mat directly, as this is a better workflow for mappers.

jdolan commented 3 years ago

This is fixed.