Changeset 583
- Timestamp:
- 08/25/11 13:35:49 (9 months ago)
- File:
-
- 1 edited
-
trunk/avango-utils/python/_utils.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/avango-utils/python/_utils.cpp
r580 r583 31 31 #include <osgViewer/View> 32 32 #include <osgViewer/ViewerEventHandlers> 33 #include <osg/Version> 33 34 34 35 #include "../include/avango/utils/Init.h" … … 164 165 165 166 167 #if OSG_VERSION_MAJOR == 3 166 168 void addScreenCaptureHandler(av::osg::viewer::View * avView, std::string folder, std::string filename, int numFrames) { 167 169 ::osgViewer::View * view = avView->getOsgView(); … … 171 173 view->addEventHandler(scnsvr); 172 174 } 175 #elif OSG_VERSION_MAJOR == 2 176 void addScreenCaptureHandler(av::osg::viewer::View * avView, std::string folder, std::string filename, int numFrames) { 177 std::cerr << "addScreenCaptureHandler::ERROR Screen capture functionality is currently only supported with osg3.x" << std::endl; 178 } 179 #endif 180 181 173 182 174 183
Note: See TracChangeset
for help on using the changeset viewer.
