diff options
author | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-28 04:08:03 +0400 |
---|---|---|
committer | Nathan Letwory <nathan@letworyinteractive.com> | 2011-07-28 04:08:03 +0400 |
commit | 7e87165eea9af2e0e9b9e2192341a5a0842bc81e (patch) | |
tree | cb074dfa26dead2ba2c8d35fc977429206a4389b /source/blender/collada/MaterialExporter.h | |
parent | f532ccedf5c3898a5726ba4295297ebb58ba4909 (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.h | 3 |
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 |