diff options
author | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-01-21 17:45:49 +0400 |
---|---|---|
committer | Gaia Clary <gaia.clary@machinimatrix.org> | 2013-01-21 17:45:49 +0400 |
commit | c263753d1770b5b812ea0e5c38174fa296492e2f (patch) | |
tree | fecb2a493596b9078e36c43d723d527e172a9546 /source/blender/collada/ArmatureExporter.h | |
parent | 7d286d9a8096438e7a197a2a3f365fbb9df6a0b1 (diff) |
Added gsoc-2012 collada improvements from bratwurst branch
Diffstat (limited to 'source/blender/collada/ArmatureExporter.h')
-rw-r--r-- | source/blender/collada/ArmatureExporter.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/source/blender/collada/ArmatureExporter.h b/source/blender/collada/ArmatureExporter.h index 086c16f0cd5..e2496a4e578 100644 --- a/source/blender/collada/ArmatureExporter.h +++ b/source/blender/collada/ArmatureExporter.h @@ -41,6 +41,7 @@ #include "DNA_listBase.h" #include "DNA_mesh_types.h" #include "DNA_object_types.h" +#include "DNA_constraint_types.h" #include "DNA_scene_types.h" #include "TransformWriter.h" @@ -62,11 +63,9 @@ public: void add_armature_bones(Object *ob_arm, Scene *sce, SceneExporter *se, std::list<Object *>& child_objects); - bool is_skinned_mesh(Object *ob); - bool add_instance_controller(Object *ob); - void export_controllers(Scene *sce); + //void export_controllers(Scene *sce);*/ void operator()(Object *ob); @@ -98,29 +97,6 @@ private: std::string get_controller_id(Object *ob_arm, Object *ob); - // ob should be of type OB_MESH - // both args are required - void export_controller(Object *ob, Object *ob_arm); - - void add_joints_element(ListBase *defbase, - const std::string& joints_source_id, const std::string& inv_bind_mat_source_id); - - void add_bind_shape_mat(Object *ob); - - std::string add_joints_source(Object *ob_arm, ListBase *defbase, const std::string& controller_id); - - std::string add_inv_bind_mats_source(Object *ob_arm, ListBase *defbase, const std::string& controller_id); - - Bone *get_bone_from_defgroup(Object *ob_arm, bDeformGroup *def); - - bool is_bone_defgroup(Object *ob_arm, bDeformGroup *def); - - std::string add_weights_source(Mesh *me, const std::string& controller_id, - const std::list<float>& weights); - - void add_vertex_weights_element(const std::string& weights_source_id, const std::string& joints_source_id, - const std::list<int>& vcount, const std::list<int>& joints); - void write_bone_URLs(COLLADASW::InstanceController &ins, Object *ob_arm, Bone *bone); }; |