yiskang / assimp-net

Automatically exported from code.google.com/p/assimp-net
0 stars 1 forks source link

In Mesh.cs method GetUnsignedIndices() always returns null #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Load any model with AssimpContext to Assimp.Scene
2. Get any valid scene mesh
3. Try to load mesh indices with GetUnsignedIndices() to an array
4. Get null instead

OS Windows 8.1, Assimp .Net version 3.3.1.0

According to source file, it seems that the method just misses "return" on 
successful execution.

Original issue reported on code.google.com by J.Phy...@gmail.com on 12 Feb 2015 at 9:53

GoogleCodeExporter commented 9 years ago
Fixed in r127

Original comment by nicholas.woodfield on 22 Feb 2015 at 3:30