diff options
-rw-r--r-- | source/blender/collada/DocumentExporter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/collada/DocumentExporter.cpp b/source/blender/collada/DocumentExporter.cpp index b474f65ac0d..01a41459a1d 100644 --- a/source/blender/collada/DocumentExporter.cpp +++ b/source/blender/collada/DocumentExporter.cpp @@ -1719,7 +1719,11 @@ public: // most widespread de-facto standard. texture.setProfileName("FCOLLADA"); texture.setChildElementName("bump"); +#ifdef WIN32 // currently, Windows builds are using revision 746 of OpenCollada while Linux and Mac are using an older revision 721 ep.addExtraTechniqueColorOrTexture(COLLADASW::ColorOrTexture(texture)); +#else + ep.setExtraTechniqueColorOrTexture(COLLADASW::ColorOrTexture(texture)); +#endif } } // performs the actual writing |