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-30 14:51:01 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-03-30 14:51:01 +0400
commit2b79378f81d42049192fca47910a2db91e1d85a1 (patch)
tree429d13301f4259393d41f954e898892c8026123f /source/blender/collada/ExtraTags.cpp
parent22abd53c7ee99274ed93ba188e9f59e740443088 (diff)
COLLADA lights:
* simplify export and import, now that we have blender profiles for lights. The vanilla import is now more in line with the specs. If a blender profile is found, skip normal import, use the profile data instead. * multiply energy into color rgb export (common profile). * recalc distance taking metrics in account
Diffstat (limited to 'source/blender/collada/ExtraTags.cpp')
-rw-r--r--source/blender/collada/ExtraTags.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/collada/ExtraTags.cpp b/source/blender/collada/ExtraTags.cpp
index ce72085fe41..653d4a377cd 100644
--- a/source/blender/collada/ExtraTags.cpp
+++ b/source/blender/collada/ExtraTags.cpp
@@ -44,6 +44,11 @@ ExtraTags::~ExtraTags()
{
}
+bool ExtraTags::isProfile( std::string profile)
+{
+ return this->profile == profile;
+}
+
bool ExtraTags::addTag( std::string tag, std::string data)
{
tags[tag] = data;