Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/collada/EffectExporter.cpp')
-rw-r--r--source/blender/collada/EffectExporter.cpp18
1 files changed, 10 insertions, 8 deletions
diff --git a/source/blender/collada/EffectExporter.cpp b/source/blender/collada/EffectExporter.cpp
index 1eee797b51c..2d9ccc3e3ef 100644
--- a/source/blender/collada/EffectExporter.cpp
+++ b/source/blender/collada/EffectExporter.cpp
@@ -35,17 +35,19 @@
#include "DocumentExporter.h"
#include "MaterialExporter.h"
-#include "DNA_mesh_types.h"
-#include "DNA_texture_types.h"
-#include "DNA_world_types.h"
-
-#include "BKE_customdata.h"
-#include "BKE_mesh.h"
-#include "BKE_material.h"
-
#include "collada_internal.h"
#include "collada_utils.h"
+extern "C" {
+ #include "DNA_mesh_types.h"
+ #include "DNA_texture_types.h"
+ #include "DNA_world_types.h"
+
+ #include "BKE_customdata.h"
+ #include "BKE_mesh.h"
+ #include "BKE_material.h"
+}
+
// OB_MESH is assumed
static std::string getActiveUVLayerName(Object *ob)
{