Changeset 1033 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp
- Timestamp:
- 12/19/07 17:56:03 (10 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Base/OSGAttachmentContainer.cpp
r1032 r1033 530 530 for(; mapIt != mapEnd; ++mapIt) 531 531 { 532 FieldContainerAttachment Ptr att = mapIt->second;533 UInt16 uiBinding = UInt16(mapIt->first &534 0x0000FFFF );532 FieldContainerAttachmentRefPtr att(mapIt->second); 533 UInt16 uiBinding = UInt16(mapIt->first & 534 0x0000FFFF ); 535 535 536 536 if(att != NullFC) … … 554 554 attType ) ) 555 555 { 556 att = dynamic_cast<FieldContainerAttachmentPtr>(556 att = boost::dynamic_pointer_cast<FieldContainerAttachment>( 557 557 OSG::deepClone(att, cloneTypes, ignoreTypes, 558 558 cloneGroupIds, ignoreGroupIds)); … … 702 702 for(; mapIt != mapEnd; ++mapIt) 703 703 { 704 FieldContainerAttachment Ptr att = mapIt->second;705 UInt16 uiBinding = UInt16(mapIt->first &706 0x0000FFFF );704 FieldContainerAttachmentRefPtr att(mapIt->second); 705 UInt16 uiBinding = UInt16(mapIt->first & 706 0x0000FFFF ); 707 707 708 708 if(att != NullFC) … … 726 726 attType ) ) 727 727 { 728 att = dynamic_cast<FieldContainerAttachmentPtr>(728 att = boost::dynamic_pointer_cast<FieldContainerAttachment>( 729 729 OSG::deepClone(att, shareTypes, ignoreTypes, 730 730 shareGroupIds, ignoreGroupIds));
