~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/collada/collada.h

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#ifndef __COLLADA_H__
28
28
#define __COLLADA_H__
29
29
 
 
30
#include <stdlib.h>
 
31
#ifdef __cplusplus
 
32
extern "C" {
 
33
#endif
 
34
 
 
35
#include "BLI_linklist.h"
 
36
#include "BLI_path_util.h"
 
37
#include "RNA_types.h"
 
38
 
 
39
typedef enum BC_export_mesh_type {
 
40
        BC_MESH_TYPE_VIEW,
 
41
        BC_MESH_TYPE_RENDER
 
42
} BC_export_mesh_type;
 
43
 
30
44
struct bContext;
31
45
struct Scene;
32
46
 
33
 
#ifdef __cplusplus
34
 
extern "C" {
35
 
#endif
36
 
        /*
37
 
         * both return 1 on success, 0 on error
38
 
         */
39
 
        int collada_import(bContext *C, const char *filepath);
40
 
        int collada_export(Scene *sce, const char *filepath, int selected, int second_life);
 
47
/*
 
48
 * both return 1 on success, 0 on error
 
49
 */
 
50
int collada_import(bContext *C,
 
51
                                   const char *filepath,
 
52
                                   int import_units);
 
53
 
 
54
int collada_export(Scene *sce,
 
55
                   const char *filepath,
 
56
                   int apply_modifiers,
 
57
                   BC_export_mesh_type export_mesh_type,
 
58
 
 
59
                   int selected,
 
60
                   int include_children,
 
61
                   int include_armatures,
 
62
                   int include_shapekeys,
 
63
                   int deform_bones_only,
 
64
 
 
65
                                   int active_uv_only,
 
66
                                   int include_uv_textures,
 
67
                                   int include_material_textures,
 
68
                                   int use_texture_copies,
 
69
 
 
70
                   int use_object_instantiation,
 
71
                   int sort_by_name,
 
72
                   int second_life);
 
73
 
 
74
 
 
75
 
41
76
#ifdef __cplusplus
42
77
}
43
78
#endif