From a3794f3bd3259500669c6e0d31c32a9875c7bbda Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 29 Jul 2014 15:50:37 +0000 Subject: [PATCH] Fixed debug comment git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14390 16af8721-9629-0410-8352-f15c8da7e697 --- src/osgUI/LineEdit.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/osgUI/LineEdit.cpp b/src/osgUI/LineEdit.cpp index 4fac0893c..156e91b93 100644 --- a/src/osgUI/LineEdit.cpp +++ b/src/osgUI/LineEdit.cpp @@ -74,14 +74,14 @@ void LineEdit::setText(const std::string& text) void LineEdit::enterImplementation() { - OSG_NOTICE<<"PushButton enter"<setSingleChildOn(1); } void LineEdit::leaveImplementation() { - OSG_NOTICE<<"PushButton leave"<setSingleChildOn(0); } @@ -95,7 +95,6 @@ void LineEdit::createGraphicsImplementation() osg::BoundingBox extents(_extents); float unFocused = 0.92; float withFocus = 0.97; - float pressed = 0.75; osg::Vec4 frameColor(unFocused,unFocused,unFocused,1.0f); @@ -113,7 +112,6 @@ void LineEdit::createGraphicsImplementation() _backgroundSwitch = new osg::Switch; _backgroundSwitch->addChild(style->createPanel(extents, osg::Vec4(unFocused, unFocused,unFocused, 1.0))); _backgroundSwitch->addChild(style->createPanel(extents, osg::Vec4(withFocus,withFocus,withFocus,1.0))); - _backgroundSwitch->addChild(style->createPanel(extents, osg::Vec4(pressed,pressed,pressed,1.0))); _backgroundSwitch->setSingleChildOn(0); group->addChild(_backgroundSwitch.get());