Closed MaNGusT- closed 12 years ago
As discussed on IRC, it seems the issue is that scientific notation doesn't mix well with wz (probably due to the float-> int conversion code). The easy solution is to use ostream::setf to set the floatfield flag to std::fixed, and ostream::precision in the aPieModel::write and WZM::write functions.
Shouldn't be a problem now, as points are considered different if their normals differs.
Currently WMIT merges points with same coords on import that is useful for models with 1-sided polys like bodies, props etc but gfx models are just squares that face at different sides and their points have same coords(since there is no support for 2-sided polys "+2000 means that the polygon is not to be culled on its back side. (Should work for 2.3 and prior, but is obsolete for trunk."). So we don't need to merge them on import because on export we will get a bugged model. I think there should be a button to deselect merging on import.