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/OSGSimpleMaterial.inl

    r996 r1057  
    3737OSG_BEGIN_NAMESPACE 
    3838 
     39inline void 
     40SimpleMaterial::execSync(SimpleMaterial    *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    _materialChunk.set(convertToCurrentAspect(oFrom->_materialChunk.get())); 
     49    _blendChunk   .set(convertToCurrentAspect(oFrom->_blendChunk   .get())); 
     50} 
     51 
    3952OSG_END_NAMESPACE