Closed Hazado closed 3 years ago
Shared mesh? More like "shredded mesh" in this case...
Looks like whatever's going wrong is in the bounds of the plGeometrySpan.
@Hazado Are you round-tripping these through PRC? It looks like the PRC writer doesn't include the LocalBounds of the geometry span, which means it probably defaults to an empty bounding box when compiling the PRC into a new object.
I opened the file in prpshop, made my changes and saved it. Exported to PO, compared to PO I had exported before. Thats what your seeing above.
Shared mesh for clothing when modified with PRPShop will disappear if you get too close to the clothing in game. I found when doing a binary compare of before and after that the initial section of the binary was very different. Replacing the initial section with the original changes would fix the disappearing clothes.
I think that the maxbones and penbones are not being saved correctly, or the structure of the file is somehow important to MOULA in displaying the clothing correctly. This only affects the visibility of the clothing when you get close to them.