Show
Ignore:
Timestamp:
10/22/09 12:33:16 (4 years ago)
Author:
robert
Message:

From Cedric Pinson, "Here a patch to be able to clone stateattribute, in order to do that i
moved the StateAttribute::Callback structure to a file
StateAttributeCallback? with the same behavior as NodeCallback?.
"

Files:
1 modified

Legend:

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

    r10362 r10671  
    2525class StateSet; 
    2626class StateAttribute; 
     27class StateAttributeCallback; 
    2728class Uniform; 
    2829class Node; 
     
    3233class Shape; 
    3334class NodeCallback; 
     35 
    3436 
    3537/** Copy Op(erator) used to control whether shallow or deep copy is used 
     
    5456            DEEP_COPY_SHAPES            = 1<<9, 
    5557            DEEP_COPY_UNIFORMS          = 1<<10, 
    56             DEEP_COPY_NODECALLBACKS     = 1<<11, 
     58            DEEP_COPY_CALLBACKS         = 1<<11, 
    5759            DEEP_COPY_ALL               = 0x7FFFFFFF 
    5860        }; 
     
    7678        virtual Uniform*        operator() (const Uniform* shape) const; 
    7779        virtual NodeCallback*   operator() (const NodeCallback* nodecallback) const; 
     80        virtual StateAttributeCallback* operator() (const StateAttributeCallback* stateattributecallback) const; 
    7881 
    7982    protected: