소스 검색

Disable IRRMESH if IRR is disabled. Closes #1362.

Lasse Öörni 9 년 전
부모
커밋
5e7a3b1265
1개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. 7 0
      Source/ThirdParty/Assimp/code/ImporterRegistry.cpp

+ 7 - 0
Source/ThirdParty/Assimp/code/ImporterRegistry.cpp

@@ -39,6 +39,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 ---------------------------------------------------------------------------
 */
 
+// Modified by Lasse Oorni for Urho3D
+
 /** @file ImporterRegistry.cpp
 
 Central registry for all importers available. Do not edit this file
@@ -46,6 +48,11 @@ directly (unless you are adding new loaders), instead use the
 corresponding preprocessor flag to selectively disable formats.
 */
 
+// Urho3D: disable IRRMESH if IRR disabled
+#ifdef ASSIMP_BUILD_NO_IRR_IMPORTER
+#define ASSIMP_BUILD_NO_IRRMESH_IMPORTER
+#endif
+
 // ------------------------------------------------------------------------------------------------
 // Importers
 // (include_new_importers_here)