Show
Ignore:
Timestamp:
01/24/08 15:11:54 (1 year ago)
Author:
cneumann
Message:

fixed: aspect sync for child/parent fields

missing editSField/editMField calls

added: simple test program for MT

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGSWeakFCPointerField.inl

    r1036 r1041  
    301301SWeakFCPointerField<ObjectT, NamespaceI>::syncWith(Self &source) 
    302302{ 
    303     setValue(convertToCurrentAspect(source._fieldValue)); 
     303    ValueType newVal = convertToCurrentAspect(source._fieldValue); 
     304 
     305    incRefCount(newVal              ); 
     306    decRefCount(this->editRawValue()); 
     307     
     308    this->editRawValue() = newVal; 
    304309} 
    305310