- Timestamp:
- 01/16/08 16:07:40 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/GraphOp/OSGVerifyGraphOp.cpp
r1023 r1039 131 131 } 132 132 133 bool VerifyGraphOp::traverse(NodePtr &node)133 bool VerifyGraphOp::traverse(NodePtr node) 134 134 { 135 135 // Clean up … … 190 190 if(_verbose) 191 191 SINFO << " Repairing node. Adding group core." << endLog; 192 node->setCore(Group::create()); 192 193 GroupRefPtr pCore = Group::create(); 194 node->setCore(pCore); 193 195 std::string new_name = node_name + "_FIXED"; 194 196 OSG::setName(node, new_name); … … 340 342 341 343 342 bool VerifyGraphOp::verifyIndexMap(GeometryPtr &geo, bool &repair)344 bool VerifyGraphOp::verifyIndexMap(GeometryPtr geo, bool &repair) 343 345 { 344 346 repair = false; … … 466 468 nname += "_CORRUPTED"; 467 469 OSG::setName(parent, nname.c_str()); 468 parent->setCore(Group::create()); 470 471 GroupRefPtr pCore = Group::create(); 472 parent->setCore(pCore); 469 473 } 470 474 }
