globe_plugin.cpp.patch
qgis-mymaster/src/plugins/globe/globe_plugin.cpp 2011-12-24 09:35:41.000000000 -0600 | ||
---|---|---|
38 | 38 | |
39 | 39 |
#include <osgGA/TrackballManipulator> |
40 | 40 |
#include <osgDB/ReadFile> |
41 |
#include <osgDB/Registry> |
|
41 | 42 | |
42 | 43 |
#include <osgGA/StateSetManipulator> |
43 | 44 |
#include <osgGA/GUIEventHandler> |
... | ... | |
86 | 87 |
setObjectName( "globePlugin" ); |
87 | 88 |
setParent( theQgisInterface->mainWindow() ); |
88 | 89 | |
90 |
#ifdef QGIS_OSGPLUGIN_SUBDIR |
|
91 |
setLibraryFilePathList( QgsApplication::prefixPath() + "/QGIS_OSGPLUGIN_SUBDIR" ); |
|
92 |
#endif |
|
93 | ||
89 | 94 |
mSettingsDialog = new QgsGlobePluginDialog( &viewer, theQgisInterface->mainWindow(), QgisGui::ModalDialogFlags ); |
90 | 95 |
mQDockWidget = new QDockWidgetGlobe( tr( "Globe" ), theQgisInterface->mainWindow() ); |
91 | 96 |
} |