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-07-28 04:08:03 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-07-28 04:08:03 +0400
commit7e87165eea9af2e0e9b9e2192341a5a0842bc81e (patch)
treecb074dfa26dead2ba2c8d35fc977429206a4389b /source/blender/collada/MaterialExporter.h
parentf532ccedf5c3898a5726ba4295297ebb58ba4909 (diff)
Don't write library_materials tag when there are no materials.
Diffstat (limited to 'source/blender/collada/MaterialExporter.h')
-rw-r--r--source/blender/collada/MaterialExporter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/collada/MaterialExporter.h b/source/blender/collada/MaterialExporter.h
index 0a7a276d857..c080e4b0596 100644
--- a/source/blender/collada/MaterialExporter.h
+++ b/source/blender/collada/MaterialExporter.h
@@ -51,6 +51,9 @@ public:
MaterialsExporter(COLLADASW::StreamWriter *sw);
void exportMaterials(Scene *sce, bool export_selected);
void operator()(Material *ma, Object *ob);
+
+private:
+ bool hasMaterials(Scene *sce);
};
// used in forEachMaterialInScene