1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-04-26 13:47:46 +00:00

Fix narrowing conversion introduced in mdlimport

This commit is contained in:
Joshua Goins 2024-05-25 23:41:50 -04:00
parent edc341a014
commit 4a777ff9db

View file

@ -41,12 +41,12 @@ void importModel(physis_MDL &existingModel, const QString &filename)
std::vector<ProcessedPart> processingParts; std::vector<ProcessedPart> processingParts;
struct ShapeSubmesh { struct ShapeSubmesh {
int affected_submesh = 0; uint32_t affected_submesh = 0;
std::vector<NewShapeValue> values; std::vector<NewShapeValue> values;
}; };
struct ShapeMesh { struct ShapeMesh {
int affected_part = 0; uint32_t affected_part = 0;
std::vector<ShapeSubmesh> submeshes; std::vector<ShapeSubmesh> submeshes;
}; };