OFF: AI_MATKEY_TWOSIDED is now always set to 1.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@405 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
807e2de3f4
commit
01f558bcfe
|
@ -203,6 +203,9 @@ void OFFImporter::InternReadFile( const std::string& pFile,
|
|||
aiColor4D clr(0.6f,0.6f,0.6f,1.0f);
|
||||
pcMat->AddProperty(&clr,1,AI_MATKEY_COLOR_DIFFUSE);
|
||||
pScene->mMaterials[0] = pcMat;
|
||||
|
||||
const int twosided =1;
|
||||
pcMat->AddProperty(&twosided,1,AI_MATKEY_TWOSIDED);
|
||||
}
|
||||
|
||||
#endif // !! ASSIMP_BUILD_NO_OFF_IMPORTER
|
||||
|
|
Loading…
Reference in New Issue