Re: [Flightgear-devel] A patch to prevent multiple loading AIModels on reset

2008-08-04 Thread Erik Hofman
Tatsuhiro Nishioka wrote: So here is my suggestion. First, we use my patch as a temporal fix just to prevent the fps drop. Second, we investigate a reasonable means of loading and unloading AIModels on reset (and remove my patch). Any opinions? Sounds good to me. Erik

Re: [Flightgear-devel] A patch to prevent multiple loading AIModels on reset

2008-08-03 Thread Erik Hofman
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

Re: [Flightgear-devel] A patch to prevent multiple loading AIModels on reset

2008-08-03 Thread Tatsuhiro Nishioka
Hi Erik, Great to hear your idea, which makes me want to investigate on this deeper. As you said, removing models at the beginning of reset, and then loading needed models again apparently looks better to me. However, it seems it takes longer for me to investigate on this since I'm not that

[Flightgear-devel] A patch to prevent multiple loading AIModels on reset

2008-08-02 Thread Tatsuhiro Nishioka
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