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-18 23:32:51 +0400
committerSukhitha Prabhath Jayathilake <pr.jayathilake@gmail.com>2011-07-18 23:32:51 +0400
commit2fb7dbd60c4d031e9a79ef7e8f731e7615443b32 (patch)
tree2423d049b6f1d5c0f519677bebbdd7e3b3ad7d95 /source/blender/collada/DocumentImporter.cpp
parent0dcc7d05abe9d1557675c63e07f8b5ff3cb49ec3 (diff)
Material Specular Hardness Animation import (ongoing)
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r--source/blender/collada/DocumentImporter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index a5946b4aa88..2ff791eb91d 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -537,7 +537,7 @@ bool DocumentImporter::writeMaterial( const COLLADAFW::Material* cmat )
this->uid_effect_map[cmat->getInstantiatedEffect()] = ma;
this->uid_material_map[cmat->getUniqueId()] = ma;
-
+ this->FW_object_map[cmat->getUniqueId()] = cmat;
return true;
}
@@ -738,7 +738,7 @@ bool DocumentImporter::writeEffect( const COLLADAFW::Effect* effect )
// Currently only first <profile_common> is supported
COLLADAFW::EffectCommon *ef = common_efs[0];
write_profile_COMMON(ef, ma);
-
+ this->FW_object_map[effect->getUniqueId()] = effect;
return true;
}