Show
Ignore:
Timestamp:
02/27/08 09:30:29 (9 months ago)
Author:
cneumann
Message:

fixed: Overzealous use of RefPtr? replaced with InternalRefPtr?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork2/Source/System/Image/OSGImageFunctions.cpp

    r1045 r1063  
    7777  Image::Type        dt = Image::OSG_INVALID_IMAGEDATATYPE; 
    7878  bool needColor = false, needAlpha = false, needCopy = false; 
    79   ImageRefPtr copy = Image::create(); 
     79  ImageInternalRefPtr copy = Image::create(); 
    8080  UInt32 depth, frameCount, sideCount; 
    8181 
     
    198198    } 
    199199 
    200     ImageRefPtr dstImg; 
    201     bool        cpyImg = false; 
     200    ImageInternalRefPtr dstImg; 
     201    bool                cpyImg = false; 
    202202 
    203203    if(dst == NullFC) 
     
    320320  Real32 u, v, length; 
    321321  Vec3f normal; 
    322   ImageRefPtr copy; 
     322  ImageInternalRefPtr copy; 
    323323  Image::PixelFormat pf; 
    324324  bool calcGradient = false, calcThetaPhi = false; 
     
    603603    } 
    604604 
    605     ImageRefPtr rgbImg; 
    606     ImageRefPtr alphaImg; 
     605    ImageInternalRefPtr rgbImg; 
     606    ImageInternalRefPtr alphaImg; 
    607607     
    608608    if(rgb == NullFC)