Fixed missing write of image tiles.
This commit is contained in:
@@ -3773,6 +3773,13 @@ void DataSet::_writeRow(Row& row)
|
||||
{
|
||||
my_notify(osg::NOTICE)<<" writeSubTile filename="<<filename<<std::endl;
|
||||
osgDB::writeNodeFile(*node,filename);
|
||||
|
||||
if (_tileExtension==".osg")
|
||||
{
|
||||
WriteImageFilesVisitor wifv;
|
||||
node->accept(wifv);
|
||||
}
|
||||
|
||||
parent->setSubTilesGenerated(true);
|
||||
parent->unrefSubTileData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user