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>2010-10-10 01:17:14 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-10 01:17:14 +0400
commitf72eef5de7fd109e9d71021adc0990b040b750b2 (patch)
tree25cbfd24782559266af455985f101d23d8295694 /source/blender/collada/MeshImporter.h
parent6b8ca3ccdf7643002237fc59ef42ee1046ce2a70 (diff)
COLLADA
Import unit_settings to scene. Note: I use here RNA to do this, and I think I might slowly work on replacing low-level DNA usage with RNA where possible.
Diffstat (limited to 'source/blender/collada/MeshImporter.h')
-rw-r--r--source/blender/collada/MeshImporter.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/collada/MeshImporter.h b/source/blender/collada/MeshImporter.h
index 1fa9ebfbabc..055c4798855 100644
--- a/source/blender/collada/MeshImporter.h
+++ b/source/blender/collada/MeshImporter.h
@@ -119,10 +119,12 @@ private:
void get_vector(float v[3], COLLADAFW::MeshVertexData& arr, int i);
bool flat_face(unsigned int *nind, COLLADAFW::MeshVertexData& nor, int count);
+
+ UnitConverter *unitconverter;
public:
- MeshImporter(ArmatureImporter *arm, Scene *sce);
+ MeshImporter(UnitConverter *unitconv, ArmatureImporter *arm, Scene *sce);
virtual Object *get_object_by_geom_uid(const COLLADAFW::UniqueId& geom_uid);