Changeset 10071

Show
Ignore:
Timestamp:
04/22/09 15:07:02 (6 years ago)
Author:
robert
Message:

From Mathias Froehlich, "attached is a change to TexGenNode? rev 10060 that removes a private member
variable that is only initialized and copied by never used seriously.
"

Location:
OpenSceneGraph/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osg/TexGenNode

    r5958 r10071  
    6969 
    7070        unsigned int _textureUnit; 
    71         StateAttribute::GLModeValue _value; 
    7271        osg::ref_ptr<TexGen> _texgen; 
    7372 
  • OpenSceneGraph/trunk/src/osg/TexGenNode.cpp

    r8785 r10071  
    2222     
    2323    _textureUnit = 0; 
    24     _value = StateAttribute::ON; 
    2524    setStateSet(new StateSet); 
    2625    _texgen = new TexGen; 
     
    3029    Group(cn,copyop), 
    3130    _textureUnit(cn._textureUnit), 
    32     _value(cn._value), 
    3331    _texgen(static_cast<TexGen*>(copyop(cn._texgen.get()))), 
    3432    _referenceFrame(cn._referenceFrame) 
     
    4442 
    4543    _textureUnit = 0; 
    46     _value = StateAttribute::ON; 
    4744    setStateSet(new StateSet); 
    4845    _texgen = texgen; 
  • OpenSceneGraph/trunk/src/osgWrappers/osgViewer/GraphicsWindow.cpp

    r9775 r10071  
    3838        I_EnumLabel(osgViewer::GraphicsWindow::TextCursor); 
    3939        I_EnumLabel(osgViewer::GraphicsWindow::CrosshairCursor); 
     40        I_EnumLabel(osgViewer::GraphicsWindow::HandCursor); 
    4041        I_EnumLabel(osgViewer::GraphicsWindow::UpDownCursor); 
    4142        I_EnumLabel(osgViewer::GraphicsWindow::LeftRightCursor);