Show
Ignore:
Timestamp:
03/05/10 13:55:08 (4 years ago)
Author:
robert
Message:

Replaced use of unsigned int/enum mask combinations with int/enum mask combinations to avoid the need for casting enums to unsigned ints,
and to avoid associated warnings.

Update wrappers to reflect these changes.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgWrappers/introspection/osgSim/SphereSegment.cpp

    r10967 r11164  
    109109                  "Get the density of the sphere segment. ", 
    110110                  ""); 
    111         I_Method1(void, setDrawMask, IN, osgSim::SphereSegment::DrawMask, dm, 
    112                   Properties::NON_VIRTUAL, 
    113                   __void__setDrawMask__DrawMask, 
     111        I_Method1(void, setDrawMask, IN, int, dm, 
     112                  Properties::NON_VIRTUAL, 
     113                  __void__setDrawMask__int, 
    114114                  "Specify the DrawMask. ", 
    115115                  " param dm Bitmask specifying which parts of the sphere segment should be drawn.   see DrawMask "); 
    116         I_Method0(osgSim::SphereSegment::DrawMask, getDrawMask, 
    117                   Properties::NON_VIRTUAL, 
    118                   __DrawMask__getDrawMask, 
     116        I_Method0(int, getDrawMask, 
     117                  Properties::NON_VIRTUAL, 
     118                  __int__getDrawMask, 
    119119                  "Get the DrawMask. ", 
    120120                  ""); 
     
    223223                         __int__getDensity,  
    224224                         __void__setDensity__int); 
    225         I_SimpleProperty(osgSim::SphereSegment::DrawMask, DrawMask,  
    226                          __DrawMask__getDrawMask,  
    227                          __void__setDrawMask__DrawMask); 
     225        I_SimpleProperty(int, DrawMask,  
     226                         __int__getDrawMask,  
     227                         __void__setDrawMask__int); 
    228228        I_SimpleProperty(osg::Vec4, EdgeLineColor,  
    229229                         __osg_Vec4__getEdgeLineColor,