From db4ab1d22f9c1f69dbb450d7fdc326af2f982729 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Jacob?= Date: Wed, 18 Oct 2006 19:32:37 +0000 Subject: [PATCH] re-enable opengl selection M kalzium/src/kalziumglwidget.cpp svn path=/trunk/KDE/kdeedu/kalzium/src/kalziumglwidget.cpp; revision=596866 --- kalzium/kalziumglwidget.cpp | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/kalzium/kalziumglwidget.cpp b/kalzium/kalziumglwidget.cpp index f165dee..a99538e 100644 --- a/kalzium/kalziumglwidget.cpp +++ b/kalzium/kalziumglwidget.cpp @@ -250,7 +250,7 @@ void KalziumGLWidget::renderHighlighting() if( m_clickedAtom ) { - Color( 0.8, 0.4, 1.0, 0.7 ).applyAsMaterials(); + Color( 1.0, 1.0, 1.0, 0.4 ).applyAsMaterials(); glLoadName( m_clickedAtom->GetIdx() ); m_sphere.draw( m_clickedAtom->GetVector(), 0.18 + m_molStyle.getAtomRadius( m_clickedAtom ) ); @@ -325,11 +325,7 @@ void KalziumGLWidget::mousePressEvent( QMouseEvent * event ) m_movedSinceLeftButtonPressed = false; m_lastDraggingPosition = event->pos (); m_initialDraggingPosition = event->pos (); -#if 0 computeClickedAtom( event->pos () ); - if( m_clickedAtom ) - kDebug()<GetIdx()<