Fix for edge color problem

This commit is contained in:
jriegel
2013-09-12 21:39:04 +02:00
parent d96f0dfd86
commit 9aa311eec9

View File

@@ -297,6 +297,9 @@ void ViewProviderFemMesh::attach(App::DocumentObject *pcObj)
pcFlatWireRoot->addChild(pcFlatRoot);
//pcFlatWireRoot->addChild(offset); // makes no differents.....
// add the line nodes
SoMaterialBinding *pcMatBind = new SoMaterialBinding;
pcMatBind->value = SoMaterialBinding::OVERALL;
pcFlatWireRoot->addChild(pcMatBind);
pcFlatWireRoot->addChild(pcDrawStyle);
pcFlatWireRoot->addChild(pcLightModel);
pcFlatWireRoot->addChild(color);