2
0
Эх сурвалжийг харах

Merge pull request #3387 from Gargaj/patch-1

add missing define to glTF importer
Kim Kulling 5 жил өмнө
parent
commit
9ce0671134

+ 4 - 0
code/AssetLib/glTF/glTFCommon.cpp

@@ -38,6 +38,8 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
 
 ----------------------------------------------------------------------
 ----------------------------------------------------------------------
 */
 */
+#ifndef ASSIMP_BUILD_NO_GLTF_IMPORTER
+
 #include "AssetLib/glTF/glTFCommon.h"
 #include "AssetLib/glTF/glTFCommon.h"
 
 
 namespace glTFCommon {
 namespace glTFCommon {
@@ -187,3 +189,5 @@ bool ParseDataURI(const char *const_uri, size_t uriLen, DataURI &out) {
 
 
 } // namespace Util
 } // namespace Util
 } // namespace glTFCommon
 } // namespace glTFCommon
+
+#endif