瀏覽代碼

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.
Jared Duke 12 年之前
父節點
當前提交
6551fd4903
共有 1 個文件被更改,包括 0 次插入4 次删除
  1. 0 4
      include/assimp/material.inl

+ 0 - 4
include/assimp/material.inl

@@ -176,8 +176,6 @@ inline aiReturn aiMaterial::Get<aiString>(const char* pKey,unsigned int type,
 }
 
 
-#ifndef ASSIMP_BUILD_NO_EXPORT
-
 // ---------------------------------------------------------------------------
 template<class TYPE>
 aiReturn aiMaterial::AddProperty (const TYPE* pInput,
@@ -269,8 +267,6 @@ inline aiReturn aiMaterial::AddProperty<int> (const int* pInput,
 		pKey,type,index,aiPTI_Integer);
 }
 
-#endif
-
 //! @endcond
 
 #endif //! AI_MATERIAL_INL_INC