Bugfix #20574: New 3D View regions were all had their 'type' set to 'RGN_TYPE_UI...
[blender-staging.git] / source / blender / collada / collada.cpp
1 #include "BKE_main.h"
2 #include "BKE_scene.h"
3 #include "BKE_context.h"
4
5 #include "DocumentExporter.h"
6 #include "DocumentImporter.h"
7
8 extern "C"
9 {
10         int collada_import(bContext *C, const char *filepath)
11         {
12                 DocumentImporter imp;
13                 imp.import(C, filepath);
14
15                 return 1;
16         }
17
18         int collada_export(Scene *sce, const char *filepath)
19         {
20
21                 DocumentExporter exp;
22                 exp.exportCurrentScene(sce, filepath);
23
24                 return 1;
25         }
26 }