Ignore:
Timestamp:
08/27/06 23:39:50 (18 years ago)
Author:
mattausch
Message:

implemented bv hierarchy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/VrmlExporter.cpp

    r1233 r1287  
    11811181        } 
    11821182 
    1183         // hack: all object exported as one mesh 
     1183        /////////////////////////////////// 
     1184        // method 2 (hacky) 
     1185        // all object exported as one mesh 
    11841186        PolygonContainer polys; 
    11851187 
    11861188        for (oit = objects.begin(); oit != oit_end; ++ oit) 
    11871189        { 
    1188                 polys.push_back(new Polygon3(dynamic_cast<MeshInstance *>(*oit)->GetMesh()->mVertices)); 
     1190                MeshInstance *mi = dynamic_cast<MeshInstance *>(*oit); 
     1191                polys.push_back(new Polygon3(mi->GetMesh()->mVertices)); 
    11891192        } 
    11901193 
Note: See TracChangeset for help on using the changeset viewer.