Changeset 1033 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentMapSFields.inl
- Timestamp:
- 12/19/07 17:56:03 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/OSGAttachmentMapSFields.inl
r1032 r1033 300 300 for(; mapIt != mapEnd; ++mapIt) 301 301 { 302 FieldContainerAttachment Ptr att = mapIt->second;303 UInt16 uiBinding = UInt16(mapIt->first &304 0x0000FFFF );302 FieldContainerAttachmentRefPtr att(mapIt->second); 303 UInt16 uiBinding = UInt16(mapIt->first & 304 0x0000FFFF ); 305 305 306 306 if(att != NullFC) … … 324 324 attType ) ) 325 325 { 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)); 329 330 } 330 331 }
