blob: 5aed51c0ba2630714c83a5ea13f3c0ca5388ead1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "BKE_main.h"
#include "BKE_scene.h"
#include "BKE_context.h"
#include "DocumentExporter.h"
#include "DocumentImporter.h"
extern "C"
{
int collada_import(bContext *C, const char *filepath)
{
DocumentImporter imp;
imp.import(C, filepath);
return 1;
}
int collada_export(Scene *sce, const char *filepath)
{
DocumentExporter exp;
exp.exportCurrentScene(sce, filepath);
return 1;
}
}
|