0

GetTotalNumberOfTriangles NullPointerException

Anonymous 10 years ago 0
This discussion was imported from CodePlex

ddklo wrote at 2012-01-30 15:55:

Hi.

I some circumstances the Geometry or TriangleIndices property on our models is null which causes the GetTotalNumberOfTriangles to throw an NullPointerException. Could you add some null checks or catch the exception?

Regards Dagfinn


objo wrote at 2012-01-30 20:45:

added null checks - see 74458.