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:
authorNathan Letwory <nathan@letworyinteractive.com>2011-03-25 14:07:57 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2011-03-25 14:07:57 +0300
commit32abf5eca87795f4bf6fca1357a4e66a4403b17c (patch)
tree686fe4df5636e259d8db87885f48ba4a7ed5f6ac /source/blender/collada/DocumentImporter.h
parent6d0859768883c96f303fa5be5c44e81f60d262a4 (diff)
Add ExtraTags class for handling tags inside an extra block.
Diffstat (limited to 'source/blender/collada/DocumentImporter.h')
-rw-r--r--source/blender/collada/DocumentImporter.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/collada/DocumentImporter.h b/source/blender/collada/DocumentImporter.h
index 949185471f4..1905dfe6a3e 100644
--- a/source/blender/collada/DocumentImporter.h
+++ b/source/blender/collada/DocumentImporter.h
@@ -45,6 +45,7 @@
#include "AnimationImporter.h"
#include "ArmatureImporter.h"
#include "MeshImporter.h"
+#include "ExtraTags.h"
struct Main;
@@ -122,7 +123,9 @@ public:
bool writeKinematicsScene(const COLLADAFW::KinematicsScene*);
/** Add element and data for UniqueId */
- bool addElementData(const COLLADAFW::UniqueId &uid);
+ bool addExtraTags(const COLLADAFW::UniqueId &uid, ExtraTags *extra_tags);
+ /** Get an extisting ExtraTags for uid */
+ ExtraTags* getExtraTags(const COLLADAFW::UniqueId &uid);
private:
@@ -142,6 +145,7 @@ private:
std::map<COLLADAFW::UniqueId, Material*> uid_effect_map;
std::map<COLLADAFW::UniqueId, Camera*> uid_camera_map;
std::map<COLLADAFW::UniqueId, Lamp*> uid_lamp_map;
+ std::map<COLLADAFW::UniqueId, ExtraTags*> uid_tags_map;
std::map<Material*, TexIndexTextureArrayMap> material_texture_mapping_map;
std::map<COLLADAFW::UniqueId, Object*> object_map;
std::map<COLLADAFW::UniqueId, COLLADAFW::Node*> node_map;