Skip to content

Commit

Permalink
Fix narrowing conversion introduced in mdlimport
Browse files Browse the repository at this point in the history
  • Loading branch information
redstrate committed May 26, 2024
1 parent edc341a commit 4a777ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parts/mdl/mdlimport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ void importModel(physis_MDL &existingModel, const QString &filename)
std::vector<ProcessedPart> processingParts;

struct ShapeSubmesh {
int affected_submesh = 0;
uint32_t affected_submesh = 0;
std::vector<NewShapeValue> values;
};

struct ShapeMesh {
int affected_part = 0;
uint32_t affected_part = 0;

std::vector<ShapeSubmesh> submeshes;
};
Expand Down

0 comments on commit 4a777ff

Please sign in to comment.