Tatsuhiro Nishioka wrote: > Hi forks, > > I've encountered a weird fps drop in resetting on Nimitz (with > --carrier=Nimitz). > It happens since AIBase loads AIModels on every reset, which should not. > > The same problem happened on 0.9.11-pre2 and I made a patch to fix it, but > the patch was not applied to CVS/OSG version. I even didn't realize that it > also happen on CVS/OSG but it actually does. > > Anyway, enclosed is a patch to fix this issue. > > Please check if it works and get it committed.
Hmm, I see the problem but am not completely sure not loading the models again after a reset is the right way to fix it. Personally I think that the reset should have removed them from memory in the first place. Erik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel