Fixed type of osg::ApplicationUsage::set/getApplictionName(), updated
demos accordingly. Made OsgCameraGroup set the _applicationUsage to the osg::ApplicationUsage::instance() when no ArgumentParser is supplied. Added export to osgProducer::ViewerEventAdapter.
This commit is contained in:
@@ -89,18 +89,21 @@ std::string extractCameraConfigFile(osg::ArgumentParser& arguments)
|
||||
OsgCameraGroup::OsgCameraGroup() : Producer::CameraGroup()
|
||||
{
|
||||
_init();
|
||||
_applicationUsage = osg::ApplicationUsage::instance();
|
||||
}
|
||||
|
||||
OsgCameraGroup::OsgCameraGroup(Producer::CameraConfig *cfg):
|
||||
Producer::CameraGroup(cfg)
|
||||
{
|
||||
_init();
|
||||
_applicationUsage = osg::ApplicationUsage::instance();
|
||||
}
|
||||
|
||||
OsgCameraGroup::OsgCameraGroup(const std::string& configFile):
|
||||
Producer::CameraGroup(findCameraConfigFile(configFile))
|
||||
{
|
||||
_init();
|
||||
_applicationUsage = osg::ApplicationUsage::instance();
|
||||
}
|
||||
|
||||
OsgCameraGroup::OsgCameraGroup(osg::ArgumentParser& arguments):
|
||||
|
||||
Reference in New Issue
Block a user