Skip to content

Commit

Permalink
fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
kctan0805 committed Sep 7, 2017
1 parent 0e0a60c commit c324eca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/vdpm/src/Serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ int Serializer::readSRMesh(InStream& is, SRMesh* srmesh)
}

srmesh->vsplits = new VSplit[srmesh->vsplitCount];
if (!srmesh->faces)
if (!srmesh->vsplits)
goto error;

for (i = 0; i < srmesh->vsplitCount; ++i)
Expand Down

0 comments on commit c324eca

Please sign in to comment.