less intrusive base plane colors

This commit is contained in:
Stefan Tröger 2015-05-07 23:09:18 +02:00
parent f99b0031d3
commit c1928f0b7b
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ ViewProviderLine::ViewProviderLine()
};
pMat->diffuseColor.setNum(1);
pMat->diffuseColor.set1Value(0, SbColor(1.0f, 1.0f, 1.0f));
pMat->diffuseColor.set1Value(0, SbColor(50./255., 150./255., 250./255.));
pCoords = new SoCoordinate3();
pCoords->ref();
@ -171,7 +171,7 @@ void ViewProviderLine::attach(App::DocumentObject* pcObject)
style = new SoDrawStyle();
style->lineWidth = 2.0f;
style->linePattern.setValue(0x00FF);
style->linePattern.setValue(0xF000);
lineSep->addChild(style);
lineSep->addChild(pLines);
lineSep->addChild(pFont);

View File

@ -86,7 +86,7 @@ ViewProviderPlane::ViewProviderPlane()
};
pMat->diffuseColor.setNum(1);
pMat->diffuseColor.set1Value(0, SbColor(1.0f, 1.0f, 1.0f));
pMat->diffuseColor.set1Value(0, SbColor(50./255., 150./255., 250./255.));
pCoords = new SoCoordinate3();
pCoords->ref();
@ -174,7 +174,7 @@ void ViewProviderPlane::attach(App::DocumentObject* pcObject)
style = new SoDrawStyle();
style->lineWidth = 2.0f;
style->linePattern.setValue(0x00FF);
style->linePattern.setValue(0xF000);
lineSep->addChild(style);
lineSep->addChild(pLines);
lineSep->addChild(pFont);