2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of COLLADAMax.
6
Portions of the code are:
7
Copyright (c) 2005-2007 Feeling Software Inc.
8
Copyright (c) 2005-2007 Sony Computer Entertainment America
10
Based on the 3dsMax COLLADASW Tools:
11
Copyright (c) 2005-2006 Autodesk Media Entertainment
13
Licensed under the MIT Open Source License,
14
for details please see LICENSE file or the website
15
http://www.opensource.org/licenses/mit-license.php
18
#include "COLLADAMaxStableHeaders.h"
19
#include "COLLADAMaxMaterialImporter.h"
21
#include "COLLADAFWMaterial.h"
27
MaterialImporter::MaterialImporter( DocumentImporter* documentImporter, const COLLADAFW::Material* material )
28
: ImporterBase(documentImporter)
34
//------------------------------
35
MaterialImporter::~MaterialImporter()
39
bool MaterialImporter::import()
41
const COLLADAFW::UniqueId& materialUniqueId = mMaterial->getUniqueId();
42
if ( materialUniqueId.isValid() )
43
addUniqueIdFWMaterialPair(materialUniqueId, *mMaterial);
46
} // namespace COLLADAMax