Update material.inl
aiMaterial::AddProperty template specializations are used by import methods in B3DImporter and SceneProcessor; they should be defined accordingly even when ASSIMP_BUILD_NO_EXPORT is defined.pull/31/head
parent
863645e88b
commit
6551fd4903
|
@ -176,8 +176,6 @@ inline aiReturn aiMaterial::Get<aiString>(const char* pKey,unsigned int type,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifndef ASSIMP_BUILD_NO_EXPORT
|
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
template<class TYPE>
|
template<class TYPE>
|
||||||
aiReturn aiMaterial::AddProperty (const TYPE* pInput,
|
aiReturn aiMaterial::AddProperty (const TYPE* pInput,
|
||||||
|
@ -269,8 +267,6 @@ inline aiReturn aiMaterial::AddProperty<int> (const int* pInput,
|
||||||
pKey,type,index,aiPTI_Integer);
|
pKey,type,index,aiPTI_Integer);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
//! @endcond
|
//! @endcond
|
||||||
|
|
||||||
#endif //! AI_MATERIAL_INL_INC
|
#endif //! AI_MATERIAL_INL_INC
|
||||||
|
|
Loading…
Reference in New Issue