Changeset 926 for trunk/source/visualization/OpenInventor/src
- Timestamp:
- Feb 17, 2009, 12:24:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/OpenInventor/src/SoGL2PSAction.cc
r925 r926 73 73 SO_ACTION_CONSTRUCTOR(SoGL2PSAction); 74 74 } 75 76 void SoGL2PSAction::enableFileWriting( 77 ) 78 ////////////////////////////////////////////////////////////////////////////// 79 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// 80 { 81 fFile = ::fopen(fFileName,"w"); 82 if(!fFile) { 83 SoDebugError::post("SoGL2PSAction::enableFileWriting", 84 "Cannot open file %s",fFileName); 85 return; 86 } 87 #ifdef __COIN__ 88 #else //SGI 89 const SbViewportRegion& vpr = getViewportRegion(); 90 SoViewportRegionElement::set(getState(),vpr); 91 gl2psBegin(); 92 #endif 93 } 94 75 95 ////////////////////////////////////////////////////////////////////////////// 76 96 void SoGL2PSAction::setViewport(
Note: See TracChangeset
for help on using the changeset viewer.