Hi Fred, Frederic Bouvier schrieb am 26.01.2007 10:02: > Hi Maik, > > Selon Maik Justus : > > _condition, _effectTexture and _textureData are not SGShaderAnimation members > in > the OSG code. > > In the PLIB branch, _contition is not shared but initialized with new in > sgReadCondition, so unless there is something I am missing, I think _condition > must be deleted just like in the other animation classes where it is actually > missing ( except in shadow and select ). > you are right. Maybe it was a bit too late yesterday.
> for _effectTexture, the pointer should be replaced by ssgSharedPtr<ssgTexture> > and the delete removed. > > I am committing a fix right now. > > -Fred > > Thanks! Has anyone still crashes with the fixed plib version? We now need to investigate, why fg-osg crahsed at the same condions. Maybe there is a similar bug? Maik ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel