Changeset 13111

Show
Ignore:
Timestamp:
07/24/14 16:14:35 (37 hours ago)
Author:
robert
Message:

Added support for changing background colour of LineEdit? widget when focus changes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/CompositeViewer.cpp

    r13097 r13111  
    786786                            { 
    787787                                osg::Camera* camera = *citr; 
    788                                 if (camera->getView() && 
     788                                if ((camera->getNodeMask()!=0) && 
     789                                    camera->getView() && 
    789790                                    camera->getAllowEventFocus() && 
    790791                                    camera->getRenderTargetImplementation()==osg::Camera::FRAME_BUFFER)