Import: Fix of alpha channel misinterpretation
This commit is contained in:
@@ -63,7 +63,7 @@ using namespace Import;
|
||||
ExportOCAFOptions::ExportOCAFOptions()
|
||||
{
|
||||
defaultColor.setPackedValue(0xCCCCCC00);
|
||||
defaultColor.a = 0;
|
||||
defaultColor.a = 1;
|
||||
}
|
||||
|
||||
ExportOCAF2::ExportOCAF2(Handle(TDocStd_Document) h, GetShapeColorsFunc func)
|
||||
@@ -94,7 +94,7 @@ ExportOCAFOptions ExportOCAF2::customExportOptions()
|
||||
App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/View");
|
||||
defaultOptions.defaultColor.setPackedValue(
|
||||
handle->GetUnsigned("DefaultShapeColor", defaultOptions.defaultColor.getPackedValue()));
|
||||
defaultOptions.defaultColor.a = 0;
|
||||
defaultOptions.defaultColor.a = 1;
|
||||
|
||||
return defaultOptions;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user