Renamed osgViewer::Config osgViewer::ViewConfig and moved it's declaration into include/osgViewer.
This commit is contained in:
@@ -10,7 +10,6 @@ SET(LIB_NAME osgViewer)
|
||||
SET(HEADER_PATH ${OpenSceneGraph_SOURCE_DIR}/include/${LIB_NAME})
|
||||
SET(TARGET_H
|
||||
${HEADER_PATH}/CompositeViewer
|
||||
${HEADER_PATH}/Config
|
||||
${HEADER_PATH}/Export
|
||||
${HEADER_PATH}/GraphicsWindow
|
||||
${HEADER_PATH}/Keystone
|
||||
@@ -28,7 +27,6 @@ FILE(GLOB LIB_COMMON_FILES config/*.cpp)
|
||||
SET(LIB_COMMON_FILES
|
||||
${LIB_COMMON_FILES}
|
||||
CompositeViewer.cpp
|
||||
Config.cpp
|
||||
GraphicsWindow.cpp
|
||||
HelpHandler.cpp
|
||||
Keystone.cpp
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,6 @@
|
||||
#include <osgViewer/Viewer>
|
||||
#include <osgViewer/Renderer>
|
||||
#include <osgViewer/CompositeViewer>
|
||||
#include <osgViewer/Config>
|
||||
|
||||
#include <sstream>
|
||||
#include <string.h>
|
||||
@@ -301,11 +300,10 @@ bool Viewer::readConfiguration(const std::string& filename)
|
||||
return false;
|
||||
}
|
||||
|
||||
Config* config = dynamic_cast<Config*>(object.get());
|
||||
ViewConfig* config = dynamic_cast<ViewConfig*>(object.get());
|
||||
if (config)
|
||||
{
|
||||
OSG_NOTICE<<"Using osgViewer::Config : "<<config->className()<<std::endl;
|
||||
config->configure(*this);
|
||||
apply(config);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user