Show
Ignore:
Timestamp:
01/16/08 16:07:40 (1 year ago)
Author:
cneumann
Message:

changed: - factory functions return a TransitPtr? that can not be implicitly

converted to C Ptr. Should help with porting.

added: - GlobalRefPtr?, needed for cases where upon return from main

a RefPtr? goes out of scope (it would attempt to access the
FCFactory which is already shutdown at that point).

status: - vrml loader does not compile (needs porting to ref ptr)

  • tutorials compile, run and exit cleanly
  • multithreading and cluster are untested, yet
Files:

Legend:

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

    r762 r1039  
    112112                             const std::string  &mimetype) 
    113113{ 
    114     ImagePtr pTmpImage = Image::create(); 
     114    ImageRefPtr pTmpImage = Image::create(); 
    115115 
    116116    bool returnValue   = Inherited::read(pTmpImage, is, mimetype); 
     
    124124 
    125125 
    126     returnValue = convertCrossToCubeMap(pTmpImage, 
    127                                         image); 
    128  
    129     subRef(pTmpImage); 
     126    returnValue = convertCrossToCubeMap(pTmpImage, image); 
    130127 
    131128    return returnValue;