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-09-07 22:23:30 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2011-09-07 22:23:30 +0400
commit3dc0ee19c44c33d15c7f696f313f5703b1eb32bf (patch)
tree45368d7199a5d7ac98c7c2d2de67b918c3584f85 /source/blender/collada/MaterialExporter.h
parenta1277508ccf6dc47765608f415284e1089685d5a (diff)
Introduce struct for export settings in COLLADA export code. This will make it easier to
add new options without having to change function signatures all over the place.
Diffstat (limited to 'source/blender/collada/MaterialExporter.h')
-rw-r--r--source/blender/collada/MaterialExporter.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/collada/MaterialExporter.h b/source/blender/collada/MaterialExporter.h
index c080e4b0596..97a1e27358f 100644
--- a/source/blender/collada/MaterialExporter.h
+++ b/source/blender/collada/MaterialExporter.h
@@ -44,16 +44,18 @@
#include "GeometryExporter.h"
#include "collada_internal.h"
+#include "ExportSettings.h"
class MaterialsExporter: COLLADASW::LibraryMaterials
{
public:
- MaterialsExporter(COLLADASW::StreamWriter *sw);
- void exportMaterials(Scene *sce, bool export_selected);
+ MaterialsExporter(COLLADASW::StreamWriter *sw, const ExportSettings *export_settings);
+ void exportMaterials(Scene *sce);
void operator()(Material *ma, Object *ob);
private:
bool hasMaterials(Scene *sce);
+ const ExportSettings *export_settings;
};
// used in forEachMaterialInScene