Show
Ignore:
Timestamp:
12/19/07 17:56:03 (10 months ago)
Author:
cneumann
Message:

changed: generic interface activated
fixed: single parent unlinking

Files:

Legend:

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

    r1032 r1033  
    300300    for(; mapIt != mapEnd; ++mapIt) 
    301301    { 
    302         FieldContainerAttachmentPtr att       = mapIt->second
    303         UInt16                      uiBinding = UInt16(mapIt->first & 
    304                                                        0x0000FFFF    ); 
     302        FieldContainerAttachmentRefPtr att(mapIt->second)
     303        UInt16                         uiBinding = UInt16(mapIt->first & 
     304                                                          0x0000FFFF    ); 
    305305 
    306306        if(att != NullFC) 
     
    324324                                                    attType               )   ) 
    325325                { 
    326                     att = dynamic_cast<FieldContainerAttachmentPtr>( 
    327                         OSG::deepClone(att, shareTypes,    ignoreTypes, 
    328                                             shareGroupIds, ignoreGroupIds)); 
     326                    att =  
     327                        boost::dynamic_pointer_cast<FieldContainerAttachment>( 
     328                            OSG::deepClone(att, shareTypes,    ignoreTypes, 
     329                                                shareGroupIds, ignoreGroupIds)); 
    329330                } 
    330331            }