Adds handling for the proper updated exporting of mesh for convexShapes

This commit is contained in:
Areloch 2018-03-04 15:10:44 -06:00
parent 49639a908f
commit 787b8be82c
4 changed files with 80 additions and 3 deletions

View file

@ -140,6 +140,8 @@ namespace ColladaUtils
Point3F scale;
bool fillWithSingleDetail;
S32 hasDetailLevel(S32 size)
{
for (U32 i = 0; i < meshDetailLevels.size(); ++i)
@ -152,6 +154,9 @@ namespace ColladaUtils
return -1;
}
meshLODData() : shapeInst(nullptr), meshTransform(true), originatingObject(nullptr), scale(0), fillWithSingleDetail(false)
{}
};
struct colMesh