fixes 0003165: Color information lost in STEP export

This commit is contained in:
wmayer
2018-09-28 11:49:04 +02:00
parent 0812fb06df
commit 02ab1c9424
3 changed files with 45 additions and 1 deletions

View File

@@ -478,6 +478,18 @@ void ImportOCAF::createShape(const TopoDS_Shape& aShape, const TopLoc_Location&
// ----------------------------------------------------------------------------
ImportOCAFCmd::ImportOCAFCmd(Handle(TDocStd_Document) h, App::Document* d, const std::string& name)
: ImportOCAF(h, d, name)
{
}
void ImportOCAFCmd::applyColors(Part::Feature* part, const std::vector<App::Color>& colors)
{
partColors[part] = colors;
}
// ----------------------------------------------------------------------------
ExportOCAF::ExportOCAF(Handle(TDocStd_Document) h, bool explicitPlacement)
: pDoc(h)
, keepExplicitPlacement(explicitPlacement)