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:
Diffstat (limited to 'source/blender/collada/DocumentImporter.cpp')
-rw-r--r--source/blender/collada/DocumentImporter.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/collada/DocumentImporter.cpp b/source/blender/collada/DocumentImporter.cpp
index 428678180f6..567f215ac04 100644
--- a/source/blender/collada/DocumentImporter.cpp
+++ b/source/blender/collada/DocumentImporter.cpp
@@ -985,11 +985,14 @@ bool DocumentImporter::writeLight(const COLLADAFW::Light *light)
std::string la_id, la_name;
ExtraTags *et = getExtraTags(light->getUniqueId());
- /*TagsMap::iterator etit;
+#if 0
+ TagsMap::iterator etit;
ExtraTags *et = 0;
etit = uid_tags_map.find(light->getUniqueId().toAscii());
- if (etit != uid_tags_map.end())
- et = etit->second;*/
+ if (etit != uid_tags_map.end()) {
+ et = etit->second;
+ }
+#endif
la_id = light->getOriginalId();
la_name = light->getName();