issue_2016

only add material uv mappings if set, ignore when no uvmapping set
removed unneccessary pad_i1 field (to prevent unnecessary field read exceptions)
This commit is contained in:
CwTCwT
2018-06-16 15:08:19 +02:00
parent aa09001333
commit 41bf572af6
6 changed files with 87 additions and 3 deletions

View File

@@ -800,7 +800,6 @@ template <> void Structure::Convert<CustomData>(
) const
{
ReadFieldArray<ErrorPolicy_Warn>(dest.typemap, "typemap", db);
ReadField<ErrorPolicy_Igno>(dest.pad_i1, "pad_i1", db);
ReadField<ErrorPolicy_Warn>(dest.totlayer, "totlayer", db);
ReadField<ErrorPolicy_Warn>(dest.maxlayer, "maxlayer", db);
ReadField<ErrorPolicy_Warn>(dest.totsize, "totsize", db);