From: BenoƮt Jacob Date: Sat, 22 Jul 2006 12:12:24 +0000 (+0000) Subject: Set color of selection back to blue X-Git-Tag: v3.80.3~103^2~22 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=b8fa55a4d91d6edea39a6031bc8f660a51574472;p=libqmvoc.git Set color of selection back to blue M kalzium/src/kalziumglwidget.cpp svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=565100 --- diff --git a/kalzium/kalziumglwidget.cpp b/kalzium/kalziumglwidget.cpp index f5ff837..51a09e7 100644 --- a/kalzium/kalziumglwidget.cpp +++ b/kalzium/kalziumglwidget.cpp @@ -193,11 +193,10 @@ void KalziumGLWidget::renderSelection() { if( ! m_selectedAtoms.count() ) return; - Color c( 1.0, 1.0, 1.0, 0.5 ); + Color( 0.2, 0.7, 1.0, 0.7 ).applyAsMaterials(); glEnable( GL_BLEND ); foreach(OpenBabel::OBAtom* atom, m_selectedAtoms) { - c.applyAsMaterials(); m_sphere.draw( atom->GetVector(), 0.18 + m_molStyle.getAtomRadius( atom ) ); }