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:
authorSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-07-26 22:28:07 +0400
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-07-26 22:28:07 +0400
commit40e36975efb8b7317fa759bacd8125e9348bd869 (patch)
tree7722d0050358dc2ca8f7209ad0dec34f90cb3307 /source/blender/collada/ArmatureImporter.h
parent9077b8bffc6731062bbd6997379b4bf6badd13e2 (diff)
Blender profile leaf bone tip import.
Diffstat (limited to 'source/blender/collada/ArmatureImporter.h')
-rw-r--r--source/blender/collada/ArmatureImporter.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/blender/collada/ArmatureImporter.h b/source/blender/collada/ArmatureImporter.h
index 2471e97007c..92d070ef575 100644
--- a/source/blender/collada/ArmatureImporter.h
+++ b/source/blender/collada/ArmatureImporter.h
@@ -46,6 +46,7 @@ extern "C" {
#include "MeshImporter.h"
#include "SkinInfo.h"
#include "TransformReader.h"
+#include "ExtraTags.h"
#include <map>
#include <vector>
@@ -109,7 +110,7 @@ private:
void create_unskinned_bone(COLLADAFW::Node *node, EditBone *parent, int totchild,
float parent_mat[][4], Object * ob_arm);
- void add_leaf_bone(float mat[][4], EditBone *bone);
+ void add_leaf_bone(float mat[][4], EditBone *bone, COLLADAFW::Node * node);
void fix_leaf_bones();
@@ -132,6 +133,9 @@ private:
void create_armature_bones(SkinInfo& skin);
void create_armature_bones( );
+ /** TagsMap typedef for uid_tags_map. */
+ typedef std::map<std::string, ExtraTags*> TagsMap;
+ TagsMap uid_tags_map;
public:
ArmatureImporter(UnitConverter *conv, MeshImporterBase *mesh, AnimationImporterBase *anim, Scene *sce);
@@ -166,7 +170,8 @@ public:
// gives a world-space mat
bool get_joint_bind_mat(float m[][4], COLLADAFW::Node *joint);
-
+
+ void set_tags_map( TagsMap& tags_map);
};