Cleaned up osgWidget::VncClient and osgWidget::Browser so that their implementations are all more consitent with the osgWidget::PdfReader.
This commit is contained in:
@@ -356,7 +356,6 @@ class ReaderWriterVNC : public osgDB::ReaderWriter
|
||||
osgDB::ReaderWriter::ReadResult result = readImage(fileName, options);
|
||||
if (!result.validImage()) return result;
|
||||
|
||||
|
||||
osg::ref_ptr<osgWidget::VncClient> vncClient = new osgWidget::VncClient();
|
||||
if (vncClient->assign(dynamic_cast<osgWidget::VncImage*>(result.getImage())))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user