diff --git a/port/dAssimp/README b/port/dAssimp/README index 72749df2a..2b9341419 100644 --- a/port/dAssimp/README +++ b/port/dAssimp/README @@ -8,10 +8,4 @@ You should be able to create sufficient DDoc documentation for the bindings using your favourite build tool (such as Rebuild). Please refer to the main (Doxygen-generated) documentation for general topics. -Currently, there is a bug which causes aiGetMaterialProperty() to receive a -wrong name in the dynamic library (the C++ symbol naming convention is used -instead of the plain C name). Since the bindings loader looks up all function -adresses at runtime using the symbol name, this function is not accessible -at the moment. - Please contact for any bindings-specific issues. diff --git a/port/dAssimp/assimp/api.d b/port/dAssimp/assimp/api.d index 4619eb014..fcdec1d29 100644 --- a/port/dAssimp/assimp/api.d +++ b/port/dAssimp/assimp/api.d @@ -483,7 +483,7 @@ extern ( C ) { aiReturn function( aiMaterial* pMat, char* pKey, - aiTextureType type, + uint type, uint index, aiMaterialProperty** pPropOut ) aiGetMaterialProperty; diff --git a/port/dAssimp/assimp/loader.d b/port/dAssimp/assimp/loader.d index 5985fdaab..c0cede562 100644 --- a/port/dAssimp/assimp/loader.d +++ b/port/dAssimp/assimp/loader.d @@ -147,7 +147,7 @@ public: bind( aiIdentityMatrix4 )( "aiIdentityMatrix4" ); // Material system - //bind( aiGetMaterialProperty )( "aiGetMaterialProperty" ); + bind( aiGetMaterialProperty )( "aiGetMaterialProperty" ); bind( aiGetMaterialFloatArray )( "aiGetMaterialFloatArray" ); bind( aiGetMaterialIntegerArray )( "aiGetMaterialIntegerArray" ); bind( aiGetMaterialColor )( "aiGetMaterialColor" );