Show
Ignore:
Timestamp:
02/04/08 14:46:15 (1 year ago)
Author:
cneumann
Message:

added: MT unittest
fixed: Material: sync internal State

SimpleMaterial?: sync internal StateChunks?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/Material/Base/OSGMaterial.inl

    r785 r1057  
    3737OSG_BEGIN_NAMESPACE 
    3838 
     39inline void 
     40Material::execSync(Material          *oFrom, 
     41                   ConstFieldMaskArg  whichField, 
     42                   AspectOffsetStore &oOffsets, 
     43                   ConstFieldMaskArg  syncMode, 
     44                   UInt32 const       uiSyncInfo) 
     45{ 
     46    Inherited::execSync(oFrom, whichField, oOffsets, syncMode, uiSyncInfo); 
     47     
     48    _pState.set(convertToCurrentAspect(oFrom->_pState.get())); 
     49} 
     50 
    3951OSG_END_NAMESPACE 
    4052