Adding double precision import support for formats that can be exported
This commit is contained in:
@@ -167,7 +167,7 @@ void ObjExporter::WriteMaterialFile()
|
||||
mOutputMat << "Ke " << c.r << " " << c.g << " " << c.b << endl;
|
||||
}
|
||||
|
||||
float o;
|
||||
ai_real o;
|
||||
if(AI_SUCCESS == mat->Get(AI_MATKEY_OPACITY,o)) {
|
||||
mOutputMat << "d " << o << endl;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user