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/FileIO/RAW/OSGRAWSceneFileType.cpp

    r1039 r1063  
    125125NodeTransitPtr RAWSceneFileType::read(std::istream &is, const Char8 *) const 
    126126{ 
    127     Node::ObjRefPtr                 root; 
    128     Geometry::ObjRefPtr             geo; 
    129     GeoPnt3rProperty::ObjRefPtr     points; 
    130     GeoVec3rProperty::ObjRefPtr     normals; 
    131     GeoIntegralProperty::ObjRefPtr  index; 
    132     GeoIntegralProperty::ObjRefPtr  lens; 
    133     GeoIntegralProperty::ObjRefPtr  type; 
     127    Node::ObjInternalRefPtr                 root; 
     128    Geometry::ObjInternalRefPtr             geo; 
     129    GeoPnt3rProperty::ObjInternalRefPtr     points; 
     130    GeoVec3rProperty::ObjInternalRefPtr     normals; 
     131    GeoIntegralProperty::ObjInternalRefPtr  index; 
     132    GeoIntegralProperty::ObjInternalRefPtr  lens; 
     133    GeoIntegralProperty::ObjInternalRefPtr  type; 
    134134 
    135135    Vec3r vec[3]; 
     
    221221        } 
    222222 
    223         SimpleMaterialRefPtr mat = SimpleMaterial::create(); 
     223        SimpleMaterialInternalRefPtr mat = SimpleMaterial::create(); 
    224224 
    225225        mat->setDiffuse  (Color3r(  .8f,  .8f,  .8f));