assimp / assimp-net

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

IMPORT_COLLADA_USE_COLLADA_NAMES #56

Open FrankBolleri opened 4 years ago

FrankBolleri commented 4 years ago

Hello! First of all, thanks for your work.

I face an issue loading Collada DAE files: the Assimp.Node names are in reality the ID of the collada node.

I see that original library manage this introducing IMPORT_COLLADA_USE_COLLADA_NAMES config parameter (look at [https://github.com/assimp/assimp/commit/c356ea70c4407cc65b41f695ca4542ee8d5a91bb] ) but i am unable to use it.. seems to me is ignored.

I set it in that way (directly with the string): assCtx.SetConfig(new Assimp.Configs.IntegerPropertyConfig("IMPORT_COLLADA_USE_COLLADA_NAMES", 1));

because i was not able to find the predefined class into Assimp.Configs.

I am doing something wrong? There is any possible workaround?

Thanks in advance! Francesco