projects
/
occt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0031139: Data Exchange - fix misprint in RWObj_CafReader
[occt.git]
/
src
/
RWObj
/
RWObj_CafReader.cxx
diff --git
a/src/RWObj/RWObj_CafReader.cxx
b/src/RWObj/RWObj_CafReader.cxx
index
dee5869
..
453ff15
100644
(file)
--- a/
src/RWObj/RWObj_CafReader.cxx
+++ b/
src/RWObj/RWObj_CafReader.cxx
@@
-70,6
+70,7
@@
void RWObj_CafReader::BindNamedShape (const TopoDS_Shape& theShape,
aMat = new XCAFDoc_VisMaterial();
aMat->SetCommonMaterial (aMatXde);
aMat->SetRawName (new TCollection_HAsciiString (theMaterial->Name));
+ myObjMaterialMap.Bind (theMaterial->Name, aMat);
}
aShapeAttribs.Style.SetMaterial (aMat);
}