> I'm very suspicious of this - I don't think there's been any post 2.8 commit > that could change such a core behaviour. (I don't read every single commit in > detail, but I look at the summaries) > > The change is certainly valid, but I'd be much happier knowing why it worked > before and what broke it. I'll take a quick look myself but any help would be > appreciated.
I checked commit comments, but couldn't find anything related. Checked a bit closer now: my best _guess_ is, it's related to the following simgear change: > commit f1201eaebc3fbb8964e06b7ef158fd34a12901aa > Author: Mathias Froehlich > Date: Sat Aug 25 08:43:12 2012 +0200 > > scene: Reorganize stg loading. Specifically, the diff contains: > SGReaderWriterXML::readNode(const std::string& fileName, > { > + std::string fileName = osgDB::findDataFile(name, options); > + > osg::Node *result=0; > try { > SGPath p = SGModelLib::findDataFile(fileName); The XML reader relies on osgDB to resolve paths now. If osgDB::findDataFile cannot find the file, it returns "", in which case SGModelLib::findDataFile cannot search any additional directories. So, maybe osgDB::findDataFile doesn't know about extra directories, while SGModelLib::findDataFile was fg-aircraft aware. Not sure why the change was applied in the first place. Again, I haven't tested - it just looks plausible and somehow related. Maybe you or Mathias can investigate if that's what triggered it and whether anything else may still be broken now. cheers, Thorsten ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel