From 2b79378f81d42049192fca47910a2db91e1d85a1 Mon Sep 17 00:00:00 2001 From: Nathan Letwory Date: Wed, 30 Mar 2011 10:51:01 +0000 Subject: 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 --- source/blender/collada/ExtraTags.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/collada/ExtraTags.h') diff --git a/source/blender/collada/ExtraTags.h b/source/blender/collada/ExtraTags.h index 5c31a5a95db..710d26e8cad 100644 --- a/source/blender/collada/ExtraTags.h +++ b/source/blender/collada/ExtraTags.h @@ -56,6 +56,9 @@ public: /** Set given char pointer to value of tag, if it exists. */ void setData(std::string tag, char *data); + /** Return true if the extra tags is for specified profile. */ + bool isProfile(std::string profile); + private: /** Disable default copy constructor. */ ExtraTags( const ExtraTags& pre ); -- cgit v1.2.3