Changeset 372
- Timestamp:
- 10/31/06 16:19:03 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Dirk_RenderTraversalWork/Source/System/Action/RenderTraversal/OSGScreenLOD.inl
r364 r372 106 106 //Real32 pix = cbb * vp->getPixelWidth() * vp->getPixelHeight(); 107 107 108 #if 0108 #if 1 109 109 //THIS IS WHAT I WANT TO DO....but the calls to validate never return 110 Geometry* pmin = dynamic_cast<Geometry *>(getCPtr(action->getNode(0)));111 Geometry* pmax = dynamic_cast<Geometry *>(getCPtr(action->getNode(numLevels-1)));112 GeoStatsAttachmentPtr st_max = GeoStatsAttachment::get(pm in);110 //commitChanges(); 111 NodePtr pmax = action->getNode(0); 112 GeoStatsAttachmentPtr st_max = GeoStatsAttachment::get(pmax); 113 113 st_max->validate(); 114 114 115 GeoStatsAttachmentPtr st_min = GeoStatsAttachment::get(pmax); 115 NodePtr pmin = action->getNode(numLevels-1); 116 GeoStatsAttachmentPtr st_min = GeoStatsAttachment::get(pmin); 116 117 st_min->validate(); 117 118
