diff --git a/src/osgPlugins/ac/ac3d.cpp b/src/osgPlugins/ac/ac3d.cpp index 109706c44..79bebba90 100644 --- a/src/osgPlugins/ac/ac3d.cpp +++ b/src/osgPlugins/ac/ac3d.cpp @@ -98,7 +98,7 @@ class ReaderWriterAC : public osgDB::ReaderWriter local_opt = static_cast(options->clone(osg::CopyOp::DEEP_COPY_ALL)); else local_opt = new Options; - local_opt->setDatabasePath(osgDB::getFilePath(fileName)); + local_opt->getDatabasePathList().push_back(osgDB::getFilePath(fileName)); ReadResult result = readNode(fin, local_opt.get()); if (result.validNode())